From owner-svn-src-all@freebsd.org Fri May 26 11:55:33 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6EF71D83118; Fri, 26 May 2017 11:55:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 254AF1F10; Fri, 26 May 2017 11:55:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4QBtWJw089129; Fri, 26 May 2017 11:55:32 GMT (envelope-from avg@FreeBSD.org) Received: (from avg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4QBtWT0089128; Fri, 26 May 2017 11:55:32 GMT (envelope-from avg@FreeBSD.org) Message-Id: <201705261155.v4QBtWT0089128@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: avg set sender to avg@FreeBSD.org using -f From: Andriy Gapon Date: Fri, 26 May 2017 11:55:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r318937 - vendor/illumos/dist/man/man1m X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2017 11:55:33 -0000 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 Reviewed by: Matthew Ahrens Approved by: Hans Rosenfeld Author: Steven Burgess 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