Date: Fri, 26 May 2017 11:55:32 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r318937 - vendor/illumos/dist/man/man1m Message-ID: <201705261155.v4QBtWT0089128@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <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> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705261155.v4QBtWT0089128>