Lines Matching +full:sda +full:- +full:output +full:- +full:only
9 .\" or https://opensource.org/licenses/CDDL-1.0.
27 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
70 .Bl -tag -width Ds
78 .Fl V , -version
90 option to output in JSON format.
94 .Bl -tag -width Ds
95 .It Xr zpool-create 8
98 .It Xr zpool-initialize 8
105 .Bl -tag -width Ds
106 .It Xr zpool-destroy 8
108 .It Xr zpool-labelclear 8
114 .Bl -tag -width Ds
116 .Xr zpool-attach 8 Ns / Ns Xr zpool-detach 8
118 Converts a non-redundant disk into a mirror, or increases
123 .Xr zpool-add 8 Ns / Ns Xr zpool-remove 8
127 .It Xr zpool-replace 8
129 .It Xr zpool-split 8
138 .Bl -tag -width Ds
139 .It Xr zpool-list 8
142 .Xr zpool-get 8 Ns / Ns Xr zpool-set 8
154 .Bl -tag -width Ds
155 .It Xr zpool-status 8
157 .It Xr zpool-iostat 8
161 .It Xr zpool-events 8
169 .It Xr zpool-history 8
175 .Bl -tag -width Ds
176 .It Xr zpool-prefetch 8
178 .It Xr zpool-scrub 8
180 .It Xr zpool-checkpoint 8
184 .Nm zpool Cm import Fl -rewind-to-checkpoint .
185 .It Xr zpool-trim 8
186 Initiates an immediate on-demand TRIM operation for all of the free space in a
191 .It Xr zpool-sync 8
192 This command forces all in-core dirty data to be written to the primary
198 Otherwise, it will sync only the specified pool(s).
199 .It Xr zpool-upgrade 8
200 Manage the on-disk format version of storage pools.
201 .It Xr zpool-wait 8
207 .Bl -tag -width Ds
209 .Xr zpool-offline 8 Ns / Ns Xr zpool-online 8
212 .It Xr zpool-resilver 8
216 .It Xr zpool-reopen 8
218 .It Xr zpool-clear 8
223 .Bl -tag -width Ds
224 .It Xr zpool-import 8
226 .It Xr zpool-export 8
228 .It Xr zpool-reguid 8
234 .Bl -tag -compact -offset 4n -width "a"
244 .\" Examples 1, 2, 3, 4, 12, 13 are shared with zpool-create.8.
245 .\" Examples 6, 14 are shared with zpool-add.8.
246 .\" Examples 7, 16 are shared with zpool-list.8.
247 .\" Examples 8 are shared with zpool-destroy.8.
248 .\" Examples 9 are shared with zpool-export.8.
249 .\" Examples 10 are shared with zpool-import.8.
250 .\" Examples 11 are shared with zpool-upgrade.8.
251 .\" Examples 15 are shared with zpool-remove.8.
252 .\" Examples 17 are shared with zpool-status.8.
253 .\" Examples 14, 17 are also shared with zpool-iostat.8.
255 .Ss Example 1 : No Creating a RAID-Z Storage Pool
258 .Dl # Nm zpool Cm create Ar tank Sy raidz Pa sda sdb sdc sdd sde sdf
263 .Dl # Nm zpool Cm create Ar tank Sy mirror Pa sda sdb Sy mirror Pa sdc sdd
266 The following command creates a non-redundant pool using two disk partitions:
270 The following command creates a non-redundant pool using files.
275 .Ss Example 5 : No Making a non-mirrored ZFS Storage Pool mirrored
277 .Ar sda
280 .Dl # Nm zpool Cm attach Ar tank Pa sda sdb
285 assuming the pool is already made up of two-way mirrors.
287 .Dl # Nm zpool Cm add Ar tank Sy mirror Pa sda sdb
295 .Bd -literal -compact -offset Ds
298 rpool 19.9G 8.43G 11.4G - 33% 42% 1.00x ONLINE -
299 tank 61.5G 20.0G 41.5G - 48% 32% 1.00x ONLINE -
300 zion - - - - - - - FAULTED -
320 .Bd -literal -compact -offset Ds
330 sda ONLINE
339 .Bd -literal -compact -offset Ds
346 .Dl # Nm zpool Cm create Ar tank Sy mirror Pa sda sdb Sy spare Pa sdc
351 .Dl # Nm zpool Cm replace Ar tank Pa sda sdd
360 The following command creates a ZFS storage pool consisting of two, two-way
362 .Dl # Nm zpool Cm create Ar pool Sy mirror Pa sda sdb Sy mirror Pa sdc sdd Sy log mirror Pa sde sdf
377 .Ss Example 15 : No Removing a Mirrored top-level (Log or Data) Device
379 .Sy mirror-2
380 and mirrored top-level data device
381 .Sy mirror-1 .
384 .Bd -literal -compact -offset Ds
392 mirror-0 ONLINE 0 0 0
393 sda ONLINE 0 0 0
395 mirror-1 ONLINE 0 0 0
399 mirror-2 ONLINE 0 0 0
405 .Ar mirror-2 No is :
406 .Dl # Nm zpool Cm remove Ar tank mirror-2
410 .Bd -literal -compact -offset Ds
418 mirror-0 ONLINE 0 0 0
419 sda ONLINE 0 0 0
421 mirror-1 ONLINE 0 0 0
427 .Ar mirror-1 No is :
428 .Dl # Nm zpool Cm remove Ar tank mirror-1
431 .Ar mirror-1 No has been evacuated, the pool remains redundant, but
433 .Bd -literal -compact -offset Ds
441 mirror-0 ONLINE 0 0 0
442 sda ONLINE 0 0 0
453 .Bd -literal -compact -offset Ds
456 data 23.9G 14.6G 9.30G - 48% 61% 1.00x ONLINE -
457 raidz1 23.9G 14.6G 9.30G - 48%
458 sda - - - - -
459 sdb - - - 10G -
460 sdc - - - - -
463 .Ss Example 17 : No Adding output columns
465 .Nm zpool Cm status No and Nm zpool Cm iostat No output with Fl c .
466 .Bd -literal -compact -offset Ds
470 mirror-0 ONLINE 0 0 0
481 ---------- ----- ----- ----- ----- ----- ----- ----
484 ---------- ----- ----- ----- ----- ----- ----- ----
488 .Bl -tag -compact -width "ZPOOL_STATUS_NON_NATIVE_ASHIFT_IGNORE"
499 output.
508 .Fl -power
519 This is a colon-separated list of directories in which
531 If set, suppress warning about non-native vdev ashift in
533 The value is not used, only the presence or absence of the variable matters.
537 subcommands to output vdev guids by default.
551 subcommands to output full vdev path names by default.
566 This would also be true for future Linux-based pools.
581 Normally, only unprivileged users are allowed to run
586 This is a colon-separated list of directories and overrides the default
619 .Xr zpool-features 7 ,
624 .Xr zpool-add 8 ,
625 .Xr zpool-attach 8 ,
626 .Xr zpool-checkpoint 8 ,
627 .Xr zpool-clear 8 ,
628 .Xr zpool-create 8 ,
629 .Xr zpool-ddtprune 8 ,
630 .Xr zpool-destroy 8 ,
631 .Xr zpool-detach 8 ,
632 .Xr zpool-events 8 ,
633 .Xr zpool-export 8 ,
634 .Xr zpool-get 8 ,
635 .Xr zpool-history 8 ,
636 .Xr zpool-import 8 ,
637 .Xr zpool-initialize 8 ,
638 .Xr zpool-iostat 8 ,
639 .Xr zpool-labelclear 8 ,
640 .Xr zpool-list 8 ,
641 .Xr zpool-offline 8 ,
642 .Xr zpool-online 8 ,
643 .Xr zpool-prefetch 8 ,
644 .Xr zpool-reguid 8 ,
645 .Xr zpool-remove 8 ,
646 .Xr zpool-reopen 8 ,
647 .Xr zpool-replace 8 ,
648 .Xr zpool-resilver 8 ,
649 .Xr zpool-scrub 8 ,
650 .Xr zpool-set 8 ,
651 .Xr zpool-split 8 ,
652 .Xr zpool-status 8 ,
653 .Xr zpool-sync 8 ,
654 .Xr zpool-trim 8 ,
655 .Xr zpool-upgrade 8 ,
656 .Xr zpool-wait 8