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.
30 .Dt ZPOOL-INITIALIZE 8
35 .Nd write to unallocated regions of ZFS storage pool
39 .Op Fl c Ns | Ns Fl s | Ns Fl u
45 Begins initializing by writing to all unallocated regions on the specified
46 devices, or all eligible devices in the pool if no individual devices are
48 Only leaf data or log devices may be initialized.
51 Cancel initializing on the specified devices, or all eligible devices if none
53 If one or more target devices are invalid or are not currently being
54 initialized, the command will fail and no cancellation will occur on any device.
56 Suspend initializing on the specified devices, or all eligible devices if none
58 If one or more target devices are invalid or are not currently being
59 initialized, the command will fail and no suspension will occur on any device.
60 Initializing can then be resumed by running
61 .Nm zpool Cm initialize
62 with no flags on the relevant target devices.
64 Clears the initialization state on the specified devices, or all eligible
65 devices if none are specified.
66 If the devices are being actively initialized the command will fail.
68 .Nm zpool Cm initialize
69 with no flags can be used to re-initialize all unallocoated regions on
70 the relevant target devices.
72 Wait until the devices have finished initializing before returning.