Lines Matching +full:sda +full:- +full:output +full:- +full:only
1 .\" SPDX-License-Identifier: CDDL-1.0
10 .\" or https://opensource.org/licenses/CDDL-1.0.
28 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
71 .Bl -tag -width Ds
79 .Fl V , -version
91 option to output in JSON format.
95 .Bl -tag -width Ds
96 .It Xr zpool-create 8
99 .It Xr zpool-initialize 8
106 .Bl -tag -width Ds
107 .It Xr zpool-destroy 8
109 .It Xr zpool-labelclear 8
115 .Bl -tag -width Ds
117 .Xr zpool-attach 8 Ns / Ns Xr zpool-detach 8
119 Converts a non-redundant disk into a mirror, or increases
124 .Xr zpool-add 8 Ns / Ns Xr zpool-remove 8
128 .It Xr zpool-replace 8
130 .It Xr zpool-split 8
139 .Bl -tag -width Ds
140 .It Xr zpool-list 8
143 .Xr zpool-get 8 Ns / Ns Xr zpool-set 8
155 .Bl -tag -width Ds
156 .It Xr zpool-status 8
158 .It Xr zpool-iostat 8
162 .It Xr zpool-events 8
170 .It Xr zpool-history 8
176 .Bl -tag -width Ds
177 .It Xr zpool-prefetch 8
179 .It Xr zpool-scrub 8
181 .It Xr zpool-checkpoint 8
185 .Nm zpool Cm import Fl -rewind-to-checkpoint .
186 .It Xr zpool-trim 8
187 Initiates an immediate on-demand TRIM operation for all of the free space in a
192 .It Xr zpool-sync 8
193 This command forces all in-core dirty data to be written to the primary
199 Otherwise, it will sync only the specified pool(s).
200 .It Xr zpool-upgrade 8
201 Manage the on-disk format version of storage pools.
202 .It Xr zpool-wait 8
208 .Bl -tag -width Ds
210 .Xr zpool-offline 8 Ns / Ns Xr zpool-online 8
213 .It Xr zpool-resilver 8
217 .It Xr zpool-reopen 8
219 .It Xr zpool-clear 8
224 .Bl -tag -width Ds
225 .It Xr zpool-import 8
227 .It Xr zpool-export 8
229 .It Xr zpool-reguid 8
235 .Bl -tag -compact -offset 4n -width "a"
245 .\" Examples 1, 2, 3, 4, 12, 13 are shared with zpool-create.8.
246 .\" Examples 6, 14 are shared with zpool-add.8.
247 .\" Examples 7, 16 are shared with zpool-list.8.
248 .\" Examples 8 are shared with zpool-destroy.8.
249 .\" Examples 9 are shared with zpool-export.8.
250 .\" Examples 10 are shared with zpool-import.8.
251 .\" Examples 11 are shared with zpool-upgrade.8.
252 .\" Examples 15 are shared with zpool-remove.8.
253 .\" Examples 17 are shared with zpool-status.8.
254 .\" Examples 14, 17 are also shared with zpool-iostat.8.
256 .Ss Example 1 : No Creating a RAID-Z Storage Pool
259 .Dl # Nm zpool Cm create Ar tank Sy raidz Pa sda sdb sdc sdd sde sdf
264 .Dl # Nm zpool Cm create Ar tank Sy mirror Pa sda sdb Sy mirror Pa sdc sdd
267 The following command creates a non-redundant pool using two disk partitions:
271 The following command creates a non-redundant pool using files.
276 .Ss Example 5 : No Making a non-mirrored ZFS Storage Pool mirrored
278 .Ar sda
281 .Dl # Nm zpool Cm attach Ar tank Pa sda sdb
286 assuming the pool is already made up of two-way mirrors.
288 .Dl # Nm zpool Cm add Ar tank Sy mirror Pa sda sdb
296 .Bd -literal -compact -offset Ds
299 rpool 19.9G 8.43G 11.4G - 33% 42% 1.00x ONLINE -
300 tank 61.5G 20.0G 41.5G - 48% 32% 1.00x ONLINE -
301 zion - - - - - - - FAULTED -
321 .Bd -literal -compact -offset Ds
331 sda ONLINE
340 .Bd -literal -compact -offset Ds
347 .Dl # Nm zpool Cm create Ar tank Sy mirror Pa sda sdb Sy spare Pa sdc
352 .Dl # Nm zpool Cm replace Ar tank Pa sda sdd
361 The following command creates a ZFS storage pool consisting of two, two-way
363 .Dl # Nm zpool Cm create Ar pool Sy mirror Pa sda sdb Sy mirror Pa sdc sdd Sy log mirror Pa sde sdf
378 .Ss Example 15 : No Removing a Mirrored top-level (Log or Data) Device
380 .Sy mirror-2
381 and mirrored top-level data device
382 .Sy mirror-1 .
385 .Bd -literal -compact -offset Ds
393 mirror-0 ONLINE 0 0 0
394 sda ONLINE 0 0 0
396 mirror-1 ONLINE 0 0 0
400 mirror-2 ONLINE 0 0 0
406 .Ar mirror-2 No is :
407 .Dl # Nm zpool Cm remove Ar tank mirror-2
411 .Bd -literal -compact -offset Ds
419 mirror-0 ONLINE 0 0 0
420 sda ONLINE 0 0 0
422 mirror-1 ONLINE 0 0 0
428 .Ar mirror-1 No is :
429 .Dl # Nm zpool Cm remove Ar tank mirror-1
432 .Ar mirror-1 No has been evacuated, the pool remains redundant, but
434 .Bd -literal -compact -offset Ds
442 mirror-0 ONLINE 0 0 0
443 sda ONLINE 0 0 0
454 .Bd -literal -compact -offset Ds
457 data 23.9G 14.6G 9.30G - 48% 61% 1.00x ONLINE -
458 raidz1 23.9G 14.6G 9.30G - 48%
459 sda - - - - -
460 sdb - - - 10G -
461 sdc - - - - -
464 .Ss Example 17 : No Adding output columns
466 .Nm zpool Cm status No and Nm zpool Cm iostat No output with Fl c .
467 .Bd -literal -compact -offset Ds
471 mirror-0 ONLINE 0 0 0
482 ---------- ----- ----- ----- ----- ----- ----- ----
485 ---------- ----- ----- ----- ----- ----- ----- ----
489 .Bl -tag -compact -width "ZPOOL_STATUS_NON_NATIVE_ASHIFT_IGNORE"
500 output.
509 .Fl -power
520 This is a colon-separated list of directories in which
532 If set, suppress warning about non-native vdev ashift in
534 The value is not used, only the presence or absence of the variable matters.
538 subcommands to output vdev GUIDs by default.
552 subcommands to output full vdev path names by default.
567 This would also be true for future Linux-based pools.
582 Normally, only unprivileged users are allowed to run
587 This is a colon-separated list of directories and overrides the default
620 .Xr zpool-features 7 ,
625 .Xr zpool-add 8 ,
626 .Xr zpool-attach 8 ,
627 .Xr zpool-checkpoint 8 ,
628 .Xr zpool-clear 8 ,
629 .Xr zpool-create 8 ,
630 .Xr zpool-ddtprune 8 ,
631 .Xr zpool-destroy 8 ,
632 .Xr zpool-detach 8 ,
633 .Xr zpool-events 8 ,
634 .Xr zpool-export 8 ,
635 .Xr zpool-get 8 ,
636 .Xr zpool-history 8 ,
637 .Xr zpool-import 8 ,
638 .Xr zpool-initialize 8 ,
639 .Xr zpool-iostat 8 ,
640 .Xr zpool-labelclear 8 ,
641 .Xr zpool-list 8 ,
642 .Xr zpool-offline 8 ,
643 .Xr zpool-online 8 ,
644 .Xr zpool-prefetch 8 ,
645 .Xr zpool-reguid 8 ,
646 .Xr zpool-remove 8 ,
647 .Xr zpool-reopen 8 ,
648 .Xr zpool-replace 8 ,
649 .Xr zpool-resilver 8 ,
650 .Xr zpool-scrub 8 ,
651 .Xr zpool-set 8 ,
652 .Xr zpool-split 8 ,
653 .Xr zpool-status 8 ,
654 .Xr zpool-sync 8 ,
655 .Xr zpool-trim 8 ,
656 .Xr zpool-upgrade 8 ,
657 .Xr zpool-wait 8