1 '\" te |
1 '\" te |
2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. |
2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. |
3 .\" Copyright 2011, Nexenta Systems, Inc. All Rights Reserved. |
3 .\" Copyright 2011, Nexenta Systems, Inc. All Rights Reserved. |
4 .\" Copyright (c) 2012 by Delphix. All Rights Reserved. |
4 .\" Copyright (c) 2012 by Delphix. All rights reserved. |
5 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. |
5 .\" The contents of this file are subject to the terms of the Common Development |
6 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the |
6 .\" and Distribution License (the "License"). You may not use this file except |
7 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] |
7 .\" in compliance with the License. You can obtain a copy of the license at |
8 .TH ZPOOL 1M "Nov 14, 2011" |
8 .\" usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. |
|
9 .\" |
|
10 .\" See the License for the specific language governing permissions and |
|
11 .\" limitations under the License. When distributing Covered Code, include this |
|
12 .\" CDDL HEADER in each file and include the License file at |
|
13 .\" usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this |
|
14 .\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your |
|
15 .\" own identifying information: |
|
16 .\" Portions Copyright [yyyy] [name of copyright owner] |
|
17 .TH ZPOOL 1M "Mar 16, 2012" |
9 .SH NAME |
18 .SH NAME |
10 zpool \- configures ZFS storage pools |
19 zpool \- configures ZFS storage pools |
11 .SH SYNOPSIS |
20 .SH SYNOPSIS |
12 .LP |
21 .LP |
13 .nf |
22 .nf |
545 .RE |
554 .RE |
546 |
555 |
547 .sp |
556 .sp |
548 .ne 2 |
557 .ne 2 |
549 .na |
558 .na |
550 \fB\fBcomment\fR\fR |
|
551 .ad |
|
552 .RS 20n |
|
553 A text string consisting of printable ASCII characters that will be stored |
|
554 such that it is available even if the pool becomes faulted. An administrator |
|
555 can provide additional information about a pool using this property. |
|
556 .RE |
|
557 |
|
558 .sp |
|
559 .ne 2 |
|
560 .na |
|
561 \fB\fBexpandsize\fR\fR |
559 \fB\fBexpandsize\fR\fR |
562 .ad |
560 .ad |
563 .RS 20n |
561 .RS 20n |
564 Amount of uninitialized space within the pool or device that can be used to |
562 Amount of uninitialized space within the pool or device that can be used to |
565 increase the total capacity of the pool. Uninitialized space consists of |
563 increase the total capacity of the pool. Uninitialized space consists of |
566 any space on an EFI labeled vdev which has not been brought online |
564 any space on an EFI labeled vdev which has not been brought online |
567 (i.e. zpool online -e). This space occurs when a LUN is dynamically expanded. |
565 (i.e. zpool online -e). This space occurs when a LUN is dynamically expanded. |
|
566 .RE |
|
567 |
|
568 .sp |
|
569 .ne 2 |
|
570 .na |
|
571 \fB\fBfree\fR\fR |
|
572 .ad |
|
573 .RS 20n |
|
574 The amount of free space available in the pool. |
|
575 .RE |
|
576 |
|
577 .sp |
|
578 .ne 2 |
|
579 .na |
|
580 \fB\fBfreeing\fR\fR |
|
581 .ad |
|
582 .RS 20n |
|
583 After a file system or snapshot is destroyed, the space it was using is |
|
584 returned to the pool asynchronously. \fB\fBfreeing\fR\fR is the amount of |
|
585 space remaining to be reclaimed. Over time \fB\fBfreeing\fR\fR will decrease |
|
586 while \fB\fBfree\fR\fR increases. |
568 .RE |
587 .RE |
569 |
588 |
570 .sp |
589 .sp |
571 .ne 2 |
590 .ne 2 |
572 .na |
591 .na |
596 .RE |
615 .RE |
597 |
616 |
598 .sp |
617 .sp |
599 .ne 2 |
618 .ne 2 |
600 .na |
619 .na |
|
620 \fB\fBunsupported@\fR\fIfeature_guid\fR\fR |
|
621 .ad |
|
622 .RS 20n |
|
623 Information about unsupported features that are enabled on the pool. See |
|
624 \fBzpool-features\fR(5) for details. |
|
625 .RE |
|
626 |
|
627 .sp |
|
628 .ne 2 |
|
629 .na |
601 \fB\fBused\fR\fR |
630 \fB\fBused\fR\fR |
602 .ad |
631 .ad |
603 .RS 20n |
632 .RS 20n |
604 Amount of storage space used within the pool. |
633 Amount of storage space used within the pool. |
605 .RE |
634 .RE |
606 |
635 |
607 .sp |
636 .sp |
608 .LP |
637 .LP |
609 These space usage properties report actual physical space available to the |
638 The space usage properties report actual physical space available to the |
610 storage pool. The physical space can be different from the total amount of |
639 storage pool. The physical space can be different from the total amount of |
611 space that any contained datasets can actually use. The amount of space used in |
640 space that any contained datasets can actually use. The amount of space used in |
612 a \fBraidz\fR configuration depends on the characteristics of the data being |
641 a \fBraidz\fR configuration depends on the characteristics of the data being |
613 written. In addition, \fBZFS\fR reserves some space for internal accounting |
642 written. In addition, \fBZFS\fR reserves some space for internal accounting |
614 that the \fBzfs\fR(1M) command takes into account, but the \fBzpool\fR command |
643 that the \fBzfs\fR(1M) command takes into account, but the \fBzpool\fR command |
758 .RE |
798 .RE |
759 |
799 |
760 .sp |
800 .sp |
761 .ne 2 |
801 .ne 2 |
762 .na |
802 .na |
|
803 \fB\fBfeature@\fR\fIfeature_name\fR=\fBenabled\fR\fR |
|
804 .ad |
|
805 .RS 4n |
|
806 The value of this property is the current state of \fIfeature_name\fR. The |
|
807 only valid value when setting this property is \fBenabled\fR which moves |
|
808 \fIfeature_name\fR to the enabled state. See \fBzpool-features\fR(5) for |
|
809 details on feature states. |
|
810 .RE |
|
811 |
|
812 .sp |
|
813 .ne 2 |
|
814 .na |
763 \fB\fBlistsnaps\fR=on | off\fR |
815 \fB\fBlistsnaps\fR=on | off\fR |
764 .ad |
816 .ad |
765 .sp .6 |
817 .sp .6 |
766 .RS 4n |
818 .RS 4n |
767 Controls whether information about snapshots associated with this pool is |
819 Controls whether information about snapshots associated with this pool is |
777 .sp .6 |
829 .sp .6 |
778 .RS 4n |
830 .RS 4n |
779 The current on-disk version of the pool. This can be increased, but never |
831 The current on-disk version of the pool. This can be increased, but never |
780 decreased. The preferred method of updating pools is with the "\fBzpool |
832 decreased. The preferred method of updating pools is with the "\fBzpool |
781 upgrade\fR" command, though this property can be used when a specific version |
833 upgrade\fR" command, though this property can be used when a specific version |
782 is needed for backwards compatibility. This property can be any number between |
834 is needed for backwards compatibility. Once feature flags is enabled on a |
783 1 and the current version reported by "\fBzpool upgrade -v\fR". |
835 pool this property will no longer have a value. |
784 .RE |
836 .RE |
785 |
837 |
786 .SS "Subcommands" |
838 .SS "Subcommands" |
787 .sp |
839 .sp |
788 .LP |
840 .LP |
909 Unless the \fB-R\fR option is specified, the default mount point is |
961 Unless the \fB-R\fR option is specified, the default mount point is |
910 "/\fIpool\fR". The mount point must not exist or must be empty, or else the |
962 "/\fIpool\fR". The mount point must not exist or must be empty, or else the |
911 root dataset cannot be mounted. This can be overridden with the \fB-m\fR |
963 root dataset cannot be mounted. This can be overridden with the \fB-m\fR |
912 option. |
964 option. |
913 .sp |
965 .sp |
|
966 By default all supported features are enabled on the new pool unless the |
|
967 \fB-d\fR option is specified. |
|
968 .sp |
914 .ne 2 |
969 .ne 2 |
915 .na |
970 .na |
916 \fB\fB-f\fR\fR |
971 \fB\fB-f\fR\fR |
917 .ad |
972 .ad |
918 .sp .6 |
973 .sp .6 |