summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Burgess <[email protected]>2013-05-12 13:14:44 -0400
committerBrian Behlendorf <[email protected]>2013-06-18 15:30:07 -0700
commitfb827006163574fddb7fa837109d228dacd2ebf6 (patch)
treea959e871586e5882151e00e3ac591b96ccb408d0
parent0377189b884fab7db02a95088e05712c7cf336f7 (diff)
Adds zpool split to man page
Adds zpool split documentation to the zpool man page. I only documented the options that I could get to work. While it is documented on some sun blogs that devices can be specified for split, I was not able to get that to work during my testing. Signed-off-by: Brian Behlendorf <[email protected]> Closes #1456
-rw-r--r--man/man8/zpool.850
1 files changed, 50 insertions, 0 deletions
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8
index d79114ebc..54c5595a9 100644
--- a/man/man8/zpool.8
+++ b/man/man8/zpool.8
@@ -139,6 +139,11 @@ zpool \- configures ZFS storage pools
.LP
.nf
+\fBzpool split\fR [\fB-n\fR] [\fB-R\fR \fIaltroot\fR] [\fB-o\fR \fIproperty=value\fR] \fIpool\fR \fInewpool\fR
+.fi
+
+.LP
+.nf
\fBzpool status\fR [\fB-xv\fR] [\fIpool\fR] ...
.fi
@@ -1604,6 +1609,51 @@ Sets the given property on the specified pool. See the "Properties" section for
.ne 2
.mk
.na
+\fBzpool split\fR [\fB-n\fR] [\fB-R\fR \fIaltroot\fR] [\fB-o\fR \fIproperty=value\fR] \fIpool\fR \fInewpool\fR
+.ad
+.sp .6
+.RS 4n
+Split devices off \fIpool\fR creating \fInewpool\fR.  All \fBvdev\fRs in \fIpool\fR must be mirrors.  At the time of the split, \fInewpool\fR will be a replica of \fIpool\fR.
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-n\fR \fR
+.ad
+.sp .6
+.RS 4n
+Do dry run, do not actually perform the split. Print out the expected configuration of \fInewpool\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-R\fR \fIaltroot\fR \fR
+.ad
+.sp .6
+.RS 4n
+Set \fIaltroot\fR for \fInewpool\fR and automaticaly import it. This can be useful to avoid mountpoint collisions if \fInewpool\fR is imported on the same filesystem as \fIpool\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-o\fR \fIproperty=value\fR \fR
+.ad
+.sp .6
+.RS 4n
+Sets the specified property for \fInewpool\fR. See the “Properties” section for more information on the available pool properties.
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
\fB\fBzpool status\fR [\fB-xv\fR] [\fIpool\fR] ...\fR
.ad
.sp .6