Author: avg Date: Fri May 26 11:55:31 2017 New Revision: 318937 URL: https://svnweb.freebsd.org/changeset/base/318937
Log: 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 <[email protected]> Reviewed by: Matthew Ahrens <[email protected]> Approved by: Hans Rosenfeld <[email protected]> Author: Steven Burgess <[email protected]> Modified: vendor/illumos/dist/man/man1m/zpool.1m Modified: vendor/illumos/dist/man/man1m/zpool.1m ============================================================================== --- vendor/illumos/dist/man/man1m/zpool.1m Fri May 26 11:54:42 2017 (r318936) +++ vendor/illumos/dist/man/man1m/zpool.1m Fri May 26 11:55:31 2017 (r318937) @@ -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 pro 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 _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
