diff options
author | Brian Behlendorf <behlendorf1@llnl.gov> | 2011-07-19 11:22:29 -0700 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2011-07-19 11:24:20 -0700 |
commit | 7f9d9946f88a37954ac208272bee0d4b3988da7f (patch) | |
tree | 97862d8f24ad6ae4e9b3fec678531423430671cb | |
parent | 61f218b0900194edfb2e67739221e49c46fc5ee0 (diff) |
Update 'zpool import' man page
The following supported options were missing from the zpool.8
man page. The OpenSolaris man pages originally used were simply
out of date with the code.
zpool import
-F Recovery mode
-m Allow missing log devices
-N Import but don't mount
-n Determine if recoverable but don't do it
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
-rw-r--r-- | man/man8/zpool.8 | 83 |
1 files changed, 78 insertions, 5 deletions
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index 3dd1c1872..f4a687cae 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -65,14 +65,14 @@ zpool \- configures ZFS storage pools .LP .nf -\fBzpool import\fR [\fB-o \fImntopts\fR\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] - [\fB-D\fR] [\fB-f\fR] [\fB-R\fR \fIroot\fR] \fB-a\fR +\fBzpool import\fR [\fB-o \fImntopts\fR\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] + [\fB-D\fR] [\fB-f\fR] [\fB-m\fR] [\fB-N\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] \fB-a\fR .fi .LP .nf \fBzpool import\fR [\fB-o \fImntopts\fR\fR] [\fB-o\fR \fIproperty=value\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] - [\fB-D\fR] [\fB-f\fR] [\fB-R\fR \fIroot\fR] \fIpool\fR |\fIid\fR [\fInewpool\fR] + [\fB-D\fR] [\fB-f\fR] [\fB-m\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] \fIpool\fR |\fIid\fR [\fInewpool\fR] .fi .LP @@ -998,7 +998,7 @@ Lists destroyed pools only. .ne 2 .mk .na -\fB\fBzpool import\fR [\fB-o\fR \fImntopts\fR] [ \fB-o\fR \fIproperty\fR=\fIvalue\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] [\fB-D\fR] [\fB-f\fR] [\fB-R\fR \fIroot\fR] \fB-a\fR\fR +\fB\fBzpool import\fR [\fB-o\fR \fImntopts\fR] [ \fB-o\fR \fIproperty\fR=\fIvalue\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] [\fB-D\fR] [\fB-f\fR] [\fB-m\fR] [\fB-N\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] \fB-a\fR\fR .ad .sp .6 .RS 4n @@ -1073,6 +1073,16 @@ Forces import, even if the pool appears to be potentially active. .ne 2 .mk .na +\fB\fB-F\fR\fR +.ad +.RS 21n +Recovery mode for a non-importable pool. Attempt to return the pool to an importable state by discarding the last few transactions. Not all damaged pools can be recovered by using this option. If successful, the data from the discarded transactions is irretrievably lost. This option is ignored if the pool is importable or already imported. +.RE + +.sp +.ne 2 +.mk +.na \fB\fB-a\fR\fR .ad .RS 21n @@ -1084,6 +1094,16 @@ Searches for and imports all pools found. .ne 2 .mk .na +\fB\fB-m\fR\fR +.ad +.RS 21n +Allows a pool to import when there is a missing log device. +.RE + +.sp +.ne 2 +.mk +.na \fB\fB-R\fR \fIroot\fR\fR .ad .RS 21n @@ -1091,13 +1111,33 @@ Searches for and imports all pools found. Sets the "\fBcachefile\fR" property to "\fBnone\fR" and the "\fIaltroot\fR" property to "\fIroot\fR". .RE +.sp +.ne 2 +.mk +.na +\fB\fB-N\fR\fR +.ad +.RS 21n +Import the pool without mounting any file systems. +.RE + +.sp +.ne 2 +.mk +.na +\fB\fB-n\fR\fR +.ad +.RS 21n +Used with the \fB-F\fR recovery option. Determines whether a non-importable pool can be made importable again, but does not actually perform the pool recovery. For more details about pool recovery mode, see the \fB-F\fR option, above. +.RE + .RE .sp .ne 2 .mk .na -\fB\fBzpool import\fR [\fB-o\fR \fImntopts\fR] [ \fB-o\fR \fIproperty\fR=\fIvalue\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] [\fB-D\fR] [\fB-f\fR] [\fB-R\fR \fIroot\fR] \fIpool\fR | \fIid\fR [\fInewpool\fR]\fR +\fB\fBzpool import\fR [\fB-o\fR \fImntopts\fR] [ \fB-o\fR \fIproperty\fR=\fIvalue\fR] ... [\fB-d\fR \fIdir\fR | \fB-c\fR \fIcachefile\fR] [\fB-D\fR] [\fB-f\fR] [\fB-m\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] \fIpool\fR | \fIid\fR [\fInewpool\fR]\fR .ad .sp .6 .RS 4n @@ -1174,6 +1214,17 @@ Forces import, even if the pool appears to be potentially active. .ne 2 .mk .na +\fB\fB-F\fR\fR +.ad +.sp .6 +.RS 4n +Recovery mode for a non-importable pool. Attempt to return the pool to an importable state by discarding the last few transactions. Not all damaged pools can be recovered by using this option. If successful, the data from the discarded transactions is irretrievably lost. This option is ignored if the pool is importable or already imported. +.RE + +.sp +.ne 2 +.mk +.na \fB\fB-R\fR \fIroot\fR\fR .ad .sp .6 @@ -1181,6 +1232,28 @@ Forces import, even if the pool appears to be potentially active. Sets the "\fBcachefile\fR" property to "\fBnone\fR" and the "\fIaltroot\fR" property to "\fIroot\fR". .RE +.sp +.ne 2 +.mk +.na +\fB\fB-n\fR\fR +.ad +.sp .6 +.RS 4n +Used with the \fB-F\fR recovery option. Determines whether a non-importable pool can be made importable again, but does not actually perform the pool recovery. For more details about pool recovery mode, see the \fB-F\fR option, above. +.RE + +.sp +.ne 2 +.mk +.na +\fB\fB-m\fR\fR +.ad +.sp .6 +.RS 4n +Allows a pool to import when there is a missing log device. +.RE + .RE .sp |