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 attach new device to existing ZFS vdev
40 .Oo Fl o Ar property Ns = Ns Ar value Oc
41 .Ar pool device new_device
48 The existing device cannot be part of a raidz configuration.
51 is not currently part of a mirrored configuration,
53 automatically transforms into a two-way mirror of
59 is part of a two-way mirror, attaching
61 creates a three-way mirror, and so on.
64 begins to resilver immediately and any running scrub is cancelled.
69 even if it appears to be in use.
70 Not all devices can be overridden in this manner.
71 .It Fl o Ar property Ns = Ns Ar value
72 Sets the given pool properties.
75 manual page for a list of valid properties that can be set.
76 The only property supported at the moment is
81 is reconstructed sequentially to restore redundancy as quickly as possible.
82 Checksums are not verified during sequential reconstruction so a scrub is
83 started when the resilver completes.
84 Sequential reconstruction is not supported for raidz configurations.
88 has finished resilvering before returning.
95 .Xr zpool-initialize 8 ,