4 .\" The contents of this file are subject to the terms of the
5 .\" Common Development and Distribution License (the "License").
6 .\" You may not use this file except in compliance with the License.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 .\" or https://opensource.org/licenses/CDDL-1.0.
10 .\" See the License for the specific language governing permissions
11 .\" and limitations under the License.
13 .\" When distributing Covered Code, include this CDDL HEADER in each
14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 .\" If applicable, add the following below this CDDL HEADER, with the
16 .\" fields enclosed by brackets "[]" replaced with your own identifying
17 .\" information: Portions Copyright [yyyy] [name of copyright owner]
21 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
22 .\" Copyright (c) 2012, 2018 by Delphix. All rights reserved.
23 .\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved.
24 .\" Copyright (c) 2017 Datto Inc.
25 .\" Copyright (c) 2018 George Melikov. All Rights Reserved.
26 .\" Copyright 2017 Nexenta Systems, Inc.
27 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
35 .Nd take physical devices offline in ZFS storage pool
39 .Op Fl Sy -power Ns | Ns Op Fl Sy ft
54 .Op Fl Sy -power Ns | Ns Op Fl Sy ft
58 Takes the specified physical device offline.
61 is offline, no attempt is made to read or write to the device.
62 This command is not applicable to spares.
65 Power off the device's slot in the storage enclosure.
66 This flag currently works on Linux only
69 Instead of offlining the disk, put it into a faulted state.
70 The fault will persist across imports unless the
75 Upon reboot, the specified physical device reverts to its previous state.
85 Brings the specified physical device online.
86 This command is not applicable to spares.
89 Power on the device's slot in the storage enclosure and wait for the device
90 to show up before attempting to online it.
91 Alternatively, you can set the
92 .Sy ZPOOL_AUTO_POWER_ON_SLOT
93 environment variable to always enable this behavior.
94 This flag currently works on Linux only
96 Expand the device to use all available space.
97 If the device is part of a mirror or raidz then all devices must be expanded
98 before the new space will become available to the pool.