aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2017-05-26 11:55:31 +0000
committerAndriy Gapon <avg@FreeBSD.org>2017-05-26 11:55:31 +0000
commit15a3493f4e2edc9016ea49c40cd2399a40273c2a (patch)
treeb9fd4e44120d2db1fecc76ddcd690000e2f3752a /man
parenta1a27d6fd4f290ccd88e4c3a5a9d23d59013a36b (diff)
downloadsrc-15a3493f4e2edc9016ea49c40cd2399a40273c2a.tar.gz
src-15a3493f4e2edc9016ea49c40cd2399a40273c2a.zip
2897 "zpool split" documentation missing from manpage
illumos/illumos-gate@879bece34ee134b2be670393fe9ffe33ce268aa0 https://github.com/illumos/illumos-gate/commit/879bece34ee134b2be670393fe9ffe33ce268aa0 https://www.illumos.org/issues/2897 Found this option in some Oracle documentation and wanted to check out the zpool manpage on it in OI. Unfortunately it seems to be missing from the manpage, so I first thought it was unsupported. However, "# zpool split" does print the correct usage. Testing with the "-n" switch makes me believe it is supported (I don't actually need to split my pool). Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Author: Steven Burgess <sburgess@datto.com>
Notes
Notes: svn path=/vendor/illumos/dist/; revision=318937
Diffstat (limited to 'man')
-rw-r--r--man/man1m/zpool.1m44
1 files changed, 44 insertions, 0 deletions
diff --git a/man/man1m/zpool.1m b/man/man1m/zpool.1m
index 0b1085814630..c525623e9053 100644
--- a/man/man1m/zpool.1m
+++ b/man/man1m/zpool.1m
@@ -139,6 +139,12 @@
.Ar property Ns = Ns Ar value
.Ar pool
.Nm
+.Cm split
+.Op Fl n
+.Oo Fl o Ar property Ns = Ns Ar value Oc Ns ...
+.Op Fl R Ar root
+.Ar pool newpool
+.Nm
.Cm status
.Op Fl Dvx
.Op Fl T Sy u Ns | Ns Sy d
@@ -1327,6 +1333,44 @@ section for more information on what properties can be set and acceptable
values.
.It Xo
.Nm
+.Cm split
+.Op Fl n
+.Oo Fl o Ar property Ns = Ns Ar value Oc Ns ...
+.Op Fl R Ar root
+.Ar pool newpool
+.Xc
+Splits devices off
+.Ar pool
+creating
+.Ar newpool .
+All vdevs in
+.Ar pool
+must be mirrors. At the time of the split,
+.Ar newpool
+will be a replica of
+.Ar pool .
+.Bl -tag -width Ds
+.It Fl n
+Do dry run, do not actually perform the split. Print out the expected
+configuration of
+.Ar newpool .
+.It Fl o Ar property Ns = Ns Ar value
+Sets the specified property for
+.Ar newpool .
+See the
+.Sx Properties
+section for more information on the available pool properties.
+.It Fl R Ar root
+Set
+.Sy altroot
+for
+.Ar newpool
+to
+.Ar root
+and automaticaly import it.
+.El
+.It Xo
+.Nm
.Cm status
.Op Fl Dvx
.Op Fl T Sy u Ns | Ns Sy d