diff options
author | Turbo Fredriksson <[email protected]> | 2014-06-06 20:58:58 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-06-06 15:49:34 -0700 |
commit | 21b446a79e2ebd372d34c81a1d97f5f4519ebea9 (patch) | |
tree | ee4561e15033ce8f8678a02c893b1429e972fbc1 /man/man8 | |
parent | 27b293be8af2cd83ae26ef50e6ee12600dce1d5b (diff) |
Document the -X and -T options to 'zpool import'
These options have existed for a long time but have historically
been undocumented because they are not guaranteed to be safe. They
should only be used as a last resort when attempting to recover a
damaged pool.
Signed-off-by: Turbo Fredriksson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #1130
Diffstat (limited to 'man/man8')
-rw-r--r-- | man/man8/zpool.8 | 50 |
1 files changed, 48 insertions, 2 deletions
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index 05cf6bf1e..4ae9d274c 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -78,13 +78,13 @@ 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-m\fR] [\fB-N\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] \fB-a\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-X\fR\] [\fB-T\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-m\fR] [\fB-R\fR \fIroot\fR] [\fB-F\fR [\fB-n\fR]] [\fB-t\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] [\fB-X\fR] [\fB-T\fR\]] [\fB-t\fR]] \fIpool\fR |\fIid\fR [\fInewpool\fR] .fi .LP @@ -1296,6 +1296,28 @@ Import the pool without mounting any file systems. 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-X\fR\fR +.ad +.RS 21n +Used with the \fB-F\fR recovery option. Determines whether extreme measures to find a valid txg should take place. This allows the pool to be rolled back to a txg which is no longer guaranteed to be consistent. Pools imported at an inconsistent txg may contain uncorrectable checksum errors. For more details about pool recovery mode, see the \fB-F\fR option, above. +\fBWARNING\fR: This option can be extremely hazardous to the health of your pool and should only be used as a last resort. +.RE + +.sp +.ne 2 +.mk +.na +\fB\fB-T\fR\fR +.ad +.RS 21n +Specify the txg to use for rollback. Implies \fB-FX\fR. For more details about pool recovery mode, see the \fB-X\fR option, above. +\fBWARNING\fR: This option can be extremely hazardous to the health of your pool and should only be used as a last resort. +.RE + .RE .sp @@ -1412,6 +1434,30 @@ Used with the \fB-F\fR recovery option. Determines whether a non-importable pool .ne 2 .mk .na +\fB\fB-X\fR\fR +.ad +.sp .6 +.RS 4n +Used with the \fB-F\fR recovery option. Determines whether extreme measures to find a valid txg should take place. This allows the pool to be rolled back to a txg which is no longer guaranteed to be consistent. Pools imported at an inconsistent txg may contain uncorrectable checksum errors. For more details about pool recovery mode, see the \fB-F\fR option, above. +\fBWARNING\fR: This option can be extremely hazardous to the health of your pool and should only be used as a last resort. +.RE + +.sp +.ne 2 +.mk +.na +\fB\fB-T\fR\fR +.ad +.sp .6 +.RS 4n +Specify the txg to use for rollback. Implies \fB-FX\fR. For more details about pool recovery mode, see the \fB-X\fR option, above. +\fBWARNING\fR: This option can be extremely hazardous to the health of your pool and should only be used as a last resort. +.RE + +.sp +.ne 2 +.mk +.na \fB\fB-t\fR\fR .ad .sp .6 |