Lines Matching +full:main +full:- +full:storage
9 .\" or https://opensource.org/licenses/CDDL-1.0.
27 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
35 .Nd configure ZFS storage pools
49 command configures ZFS storage pools.
50 A storage pool is a collection of devices that provides physical storage and
52 All datasets within a storage pool share the same space.
57 For an overview of creating and managing ZFS storage pools see the
67 command provides subcommands to create and destroy storage pools, add capacity
68 to storage pools, and provide information about the storage pools.
70 .Bl -tag -width Ds
78 .Fl V , -version
94 .Bl -tag -width Ds
95 .It Xr zpool-create 8
96 Creates a new storage pool containing the virtual devices specified on the
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
150 for the specified storage pool(s).
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
188 This operation informs the underlying storage devices of all blocks
191 .It Xr zpool-sync 8
192 This command forces all in-core dirty data to be written to the primary
193 pool storage and not the ZIL.
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
225 Make disks containing ZFS storage pools available for use on the system.
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
260 .Ss Example 2 : No Creating a Mirrored Storage Pool
265 .Ss Example 3 : No Creating a ZFS Storage Pool by Using Partitions
266 The following command creates a non-redundant pool using two disk partitions:
269 .Ss Example 4 : No Creating a ZFS Storage Pool by Using Files
270 The following command creates a non-redundant pool using files.
275 .Ss Example 5 : No Making a non-mirrored ZFS Storage Pool mirrored
282 .Ss Example 6 : No Adding a Mirror to a ZFS Storage Pool
285 assuming the pool is already made up of two-way mirrors.
289 .Ss Example 7 : No Listing Available ZFS Storage Pools
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 -
303 .Ss Example 8 : No Destroying a ZFS Storage Pool
309 .Ss Example 9 : No Exporting a ZFS Storage Pool
315 .Ss Example 10 : No Importing a ZFS Storage Pool
320 .Bd -literal -compact -offset Ds
336 .Ss Example 11 : No Upgrading All ZFS Storage Pools to the Current Version
337 The following command upgrades all ZFS Storage pools to the current version of
339 .Bd -literal -compact -offset Ds
360 The following command creates a ZFS storage pool consisting of two, two-way
365 The following command adds two disks for use as cache devices to a ZFS storage
369 Once added, the cache devices gradually fill with content from main memory.
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
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
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
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 - - - - -
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"
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
566 This would also be true for future Linux-based pools.
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