From Tim.Haley@sun.com Thu Sep 24 14:31:23 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8OLVMQ6003831
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 24 Sep 2009 14:31:22 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n8OLVJY8020399;
	Thu, 24 Sep 2009 22:31:20 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQH00L07VS7H200@nwk-avmta-2.sfbay.sun.com>; Thu,
 24 Sep 2009 14:31:19 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQH0080HVS7ZWE0@nwk-avmta-2.sfbay.sun.com>; Thu,
 24 Sep 2009 14:31:19 -0700 (PDT)
Received: from spidey.local (spidey.Central.Sun.COM [172.20.25.27])
	by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id n8OLVJDr014412; Thu, 24 Sep 2009 15:31:19 -0600 (MDT)
Received: from spidey.local (localhost [127.0.0.1])
	by spidey.local (8.14.3+Sun/8.14.3) with ESMTP id n8OLNmR9020753; Thu,
 24 Sep 2009 15:23:48 -0600 (MDT)
Received: (from timh@localhost)	by spidey.local (8.14.3+Sun/8.14.3/Submit)
 id n8OLNmlf020732; Thu, 24 Sep 2009 15:23:48 -0600 (MDT)
Date: Thu, 24 Sep 2009 15:23:48 -0600 (MDT)
From: Tim Haley <Tim.Haley@sun.com>
Subject: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
To: PSARC-ext@sun.com
Cc: zfs-team@sun.com
Message-id: <200909242123.n8OLNmlf020732@spidey.local>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
Status: RO
Content-Length: 3989

I am sponsoring the following fast-track for Mark Musante.  It
introduces a new zpool sub-command enabling splitting a mirrored zpool
into separate pools.  The case requests micro/patch binding. Timeout
is 10/31/2009.

Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 zpool split
    1.2. Name of Document Author/Supplier:
	 Author:  Mark Musante
    1.3  Date of This Document:
	24 September, 2009
4. Technical Description

OVERVIEW:

Some practices in data centers are built around the use of a volume 
manager's ability to clone data.  An administrator will attach a set of 
disks to mirror an existing configuration, wait for the resilver to 
complete, and then physically detach and remove those disks to a new
location.

Currently in zfs, the only way to achieve this is by using zpool offline 
to disable a set of disks, zpool detach to permanently remove them after 
they've been offlined, move the disks over to a new host, zpool 
force-import of the moved disks, and then zpool detach the disks that were 
left behind.

This is cumbersome and prone to error, and even then the new pool
cannot be imported on the same host as the original.

PROPOSED SOLUTION:

Introduce a "zpool split" command.  This will allow an administrator to 
extract one disk from each mirrored top-level vdev and use them to create
a new pool with an exact copy of the data.  The new pool can then be
imported on any machine that supports that pool's version.

PROPOSED CHANGES TO zpool(1M) MANPAGE:

--- zpool.orig	Tue Sep  8 12:34:40 2009
+++ zpool.update	Thu Sep 10 19:14:18 2009
@@ -89,6 +89,9 @@
      zpool set property=value pool
 
 
+     zpool split [-R altroot] [-n] [-o mntopts] [-o property=value] pool
+          newpool [device ...]
+
      zpool status [-xv]	[pool] ...
 
 
@@ -1347,6 +1350,41 @@
 	 "Properties"  section	for more information on	what pro-
 	 perties can be	set and	acceptable values.
 
+ 
+     zpool split [-R altroot] [-n] [-o mntopts] [-o property=value] pool
+          newpool [device ...]
+ 
+        Splits off one disk from each mirrored top-level vdev in
+        a pool and creates a new pool from the split-off disks.
+        The original pool must be made up of one or more mirrors
+        and must not be in the process of resilvering.  The split
+        command will choose the last device in each mirror vdev unless
+        overridden by a device specification on the command line.
+ 
+        -R altroot   Automatically import the newly created pool after
+                     splitting, using the specified altroot parameter
+                     for the new pool's alternate root.  See the altroot
+                     description in the Properties section of this
+                     manpage.
+ 
+        -n    Displays the  configuration that would be created
+              without actually splitting the pool.  The actual
+              pool split could still fail due to insufficient
+              privileges or device status.
+ 
+        -o mntopts           Comma-separated list of mount
+                             options to use when mounting
+                             datasets within the pool.   See
+                             zfs(1M) for a description of
+                             dataset properties and mount
+                             options.  Only valid in conjunction
+                             with the -R option.
+ 
+        -o property=value    Sets the specified property on the
+                             new pool. See the "Properties"
+                             section for more information on the
+                             available pool properties.
+ 
 
      zpool status [-xv]	[pool] ...
 

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open


From Sebastien.Roy@sun.com Thu Sep 24 14:32:12 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8OLWAKm003860
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 24 Sep 2009 14:32:10 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n8OLVYqJ020671;
	Thu, 24 Sep 2009 22:32:09 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQH00L0BVTJJT00@nwk-avmta-2.sfbay.sun.com>; Thu,
 24 Sep 2009 14:32:07 -0700 (PDT)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQH0082TVTIZND0@nwk-avmta-2.sfbay.sun.com>; Thu,
 24 Sep 2009 14:32:06 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8OLW6l7008793; Thu,
 24 Sep 2009 21:32:06 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KQH00100VNI2P00@mail-amer.sun.com>; Thu, 24 Sep 2009 15:32:06 -0600 (MDT)
Received: from [129.148.174.103] ([unknown] [129.148.174.103])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KQH00MVRVSQBQA0@mail-amer.sun.com>; Thu,
 24 Sep 2009 15:31:38 -0600 (MDT)
Date: Thu, 24 Sep 2009 17:29:26 -0400
From: Sebastien Roy <Sebastien.Roy@sun.com>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <200909242123.n8OLNmlf020732@spidey.local>
Sender: Sebastien.Roy@sun.com
To: Tim Haley <Tim.Haley@sun.com>
Cc: PSARC-ext@sun.com, zfs-team@sun.com
Message-id: <1253827766.26792.319.camel@strat>
Organization: Sun Microsystems
MIME-version: 1.0
X-Mailer: Evolution 2.26.3
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200909242123.n8OLNmlf020732@spidey.local>
Status: RO
Content-Length: 290


On Thu, 2009-09-24 at 15:23 -0600, Tim Haley wrote:
> I am sponsoring the following fast-track for Mark Musante.  It
> introduces a new zpool sub-command enabling splitting a mirrored zpool
> into separate pools.  The case requests micro/patch binding. Timeout
> is 10/31/2009.

+1
-Seb



From Darren.Moffat@Sun.COM Fri Sep 25 02:54:11 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8P9sANR000875
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 25 Sep 2009 02:54:10 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n8P9s770016224;
	Fri, 25 Sep 2009 17:54:09 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQI0060HU67JQ00@nwk-avmta-2.sfbay.sun.com>; Fri,
 25 Sep 2009 02:54:07 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQI006CDU66DPE0@nwk-avmta-2.sfbay.sun.com>; Fri,
 25 Sep 2009 02:54:07 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n8P9s3m9028916; Fri,
 25 Sep 2009 09:54:06 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KQI00000TL80T00@fe-emea-10.sun.com>; Fri, 25 Sep 2009 10:54:01 +0100 (BST)
Received: from [192.168.1.105]
 (cpc2-rdng20-2-0-cust917.15-3.cable.virginmedia.com [86.28.167.150])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KQI005K0U60I430@fe-emea-10.sun.com>; Fri,
 25 Sep 2009 10:54:00 +0100 (BST)
Date: Fri, 25 Sep 2009 10:54:00 +0100
From: Darren J Moffat <Darren.Moffat@Sun.COM>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <200909242123.n8OLNmlf020732@spidey.local>
Sender: Darren.Moffat@Sun.COM
To: Tim Haley <Tim.Haley@Sun.COM>
Cc: PSARC-ext@Sun.COM, zfs-team@Sun.COM
Message-id: <4ABC9338.6060200@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200909242123.n8OLNmlf020732@spidey.local>
User-Agent: Thunderbird 2.0.0.22 (X11/20090818)
Status: RO
Content-Length: 425

Tim Haley wrote:
> I am sponsoring the following fast-track for Mark Musante.  It
> introduces a new zpool sub-command enabling splitting a mirrored zpool
> into separate pools.  The case requests micro/patch binding. Timeout
> is 10/31/2009.


+1

One minor thing, what does the output look like when "-n" is passed ?  I 
assume this is NOT parsable output and looks like 'zpool status' output 
right ?

-- 
Darren J Moffat

From ro@techfak.uni-bielefeld.de Fri Sep 25 04:27:43 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8PBRgNh002189
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 25 Sep 2009 04:27:43 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n8PBRgDj029238;
	Fri, 25 Sep 2009 04:27:42 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQI00C03YI6XB00@nwk-avmta-2.sfbay.sun.com>; Fri,
 25 Sep 2009 04:27:42 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQI007XKYI5Q650@nwk-avmta-2.sfbay.sun.com>; Fri,
 25 Sep 2009 04:27:41 -0700 (PDT)
Received: from relay15i.sun.com
 (ip125.net129179-4.block1.us.syntegra.com [129.179.4.125])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8PBIXnf021112; Fri,
 25 Sep 2009 11:27:40 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay15i.sun.com with ESMTP id BT-MMP-2614796; Fri,
 25 Sep 2009 11:27:40 +0000 (Z)
Received: from relay15i.sun.com (relay15i.sun.com [129.179.4.125])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-32503658; Fri,
 25 Sep 2009 11:27:39 +0000 (Z)
Received: from smarthost.TechFak.Uni-Bielefeld.DE
 ([129.70.137.17] [129.70.137.17]) by relay1i.sun.com with ESMTP id
 BT-MMP-11555696; Fri, 25 Sep 2009 11:27:39 +0000 (Z)
Received: from komagatake.TechFak.Uni-Bielefeld.DE
 (komagatake.TechFak.Uni-Bielefeld.DE [129.70.137.126])
	by smarthost.TechFak.Uni-Bielefeld.DE (Postfix) with ESMTP id AD76E96; Fri,
 25 Sep 2009 13:27:38 +0200 (CEST)
Received: (from ro@localhost)	by komagatake.TechFak.Uni-Bielefeld.DE
 (8.11.7+Sun/8.9.1) id n8PBRcI28117; Fri, 25 Sep 2009 13:27:38 +0200 (MEST)
Date: Fri, 25 Sep 2009 13:27:37 +0200
From: Rainer Orth <ro@techfak.uni-bielefeld.de>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: Tim Haley's message of "Thu, 24 Sep 2009 15:23:48 -0600 (MDT)"
Sender: ro@techfak.uni-bielefeld.de
To: Tim Haley <Tim.Haley@sun.com>
Cc: PSARC-ext@sun.com, zfs-team@sun.com
Message-id: <yddk4zn8dsm.fsf@komagatake.TechFak.Uni-Bielefeld.DE>
MIME-version: 1.0
X-Mailer: Gnus v5.6.44/Emacs 19.34
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
Lines: 42
References: <200909242123.n8OLNmlf020732@spidey.local>
Status: RO
Content-Length: 1494

Tim Haley <Tim.Haley@sun.com> writes:

> PROPOSED CHANGES TO zpool(1M) MANPAGE:
> 
> --- zpool.orig	Tue Sep  8 12:34:40 2009
> +++ zpool.update	Thu Sep 10 19:14:18 2009
> @@ -89,6 +89,9 @@
>       zpool set property=value pool
>  
>  
> +     zpool split [-R altroot] [-n] [-o mntopts] [-o property=value] pool
> +          newpool [device ...]
> +
>       zpool status [-xv]	[pool] ...
>  
>  
> @@ -1347,6 +1350,41 @@
>  	 "Properties"  section	for more information on	what pro-
>  	 perties can be	set and	acceptable values.
>  
> + 
> +     zpool split [-R altroot] [-n] [-o mntopts] [-o property=value] pool
> +          newpool [device ...]
> + 
> +        Splits off one disk from each mirrored top-level vdev in
> +        a pool and creates a new pool from the split-off disks.
> +        The original pool must be made up of one or more mirrors
> +        and must not be in the process of resilvering.  The split
> +        command will choose the last device in each mirror vdev unless
> +        overridden by a device specification on the command line.

I suppose that giving a device specification (i.e. list of devices) means
that exactly those devices will be split off and you have to list all
devices if you specify any?  Perhaps this should be made explicit?

Otherwise, great feature.  Only waiting for zfs split now :-)

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

From cyril.plisko@gmail.com Fri Sep 25 05:25:08 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8PCP778003519
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 25 Sep 2009 05:25:07 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n8PCOtgu000278;
	Fri, 25 Sep 2009 20:25:06 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQJ00K0T15T0500@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 25 Sep 2009 05:25:05 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com ([192.18.43.22])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQJ00J3I15RXI00@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 25 Sep 2009 05:25:03 -0700 (PDT)
Received: from relay11i.sun.com
 (ip121.net129179-4.block1.us.syntegra.com [129.179.4.121])
	by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8PCL5Y2000126;
 Fri, 25 Sep 2009 12:25:03 +0000 (GMT)
Received: from mmp12es.mmp.us.syntegra.com ([160.41.208.12] [160.41.208.12])
 by relay11i.sun.com with ESMTP id BT-MMP-2622015; Fri,
 25 Sep 2009 12:25:03 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp12es.mmp.us.syntegra.com with ESMTP id BT-MMP-35194858; Fri,
 25 Sep 2009 12:25:02 +0000 (Z)
Received: from fg-out-1718.google.com ([72.14.220.159] [72.14.220.159])
 by relay1i.sun.com with ESMTP id BT-MMP-974758; Fri,
 25 Sep 2009 12:25:02 +0000 (Z)
Received: by fg-out-1718.google.com with SMTP id 16so912390fgg.14 for <multiple
 recipients>; Fri, 25 Sep 2009 05:24:56 -0700 (PDT)
Received: by 10.86.238.30 with SMTP id l30mr896556fgh.75.1253881496090; Fri,
 25 Sep 2009 05:24:56 -0700 (PDT)
Date: Fri, 25 Sep 2009 15:24:36 +0300
From: Cyril Plisko <cyril.plisko@mountall.com>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <200909242123.n8OLNmlf020732@spidey.local>
Sender: cyril.plisko@gmail.com
To: Tim Haley <Tim.Haley@sun.com>
Cc: PSARC-ext@sun.com, zfs-team@sun.com
Message-id: <c7dddeaa0909250524k34c75309gb4aae2e7ce1d353b@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma;        h=domainkey-signature:mime-version:sender:received:in-reply-to
         :references:from:date:x-google-sender-auth:message-id:subject:to:cc
 :content-type:content-transfer-encoding;
 bh=gxeDnoVjY/MZ3oFFVDPCmYxmUYo/vbAJPIjHwY1FoUo=;
 b=FolHwppYZY0vY6FSIQCS31NpwYPlwbjY+UpYBWZu6rh1OricaWO83yCHi8EeWeGMwm
 RTjidaNi1zfK0gHvsZkLVoE1mZY1UF2+MmLeb5SK1gkw9x7k8xh9BGLVHOPpZGKow3YH
 EtBf0bJOlPKCCz74H90i9SfAnJ5KTxbnPTWS0=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:sender:in-reply-to:references:from:date
 :x-google-sender-auth:message-id:subject:to:cc:content-type
 :content-transfer-encoding;
 b=U1WtFVJO7YWLrEm/jUuFe7QJW/O7VXBF9t4i2RnX3GdmxB99jex8BftsX82nultTxA
 +Tup4xHA7ZLCsnczkV8QGthDmFnh4Lo2pFG3o6DVU4CQEZXoBBkVgGyEYWKCB7HY9Ex6
 dBSJkisxawJHwVaYVfuAxztvbbJCIRfQb3iQs=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Google-Sender-Auth: 1ce6a8f10660a3f2
References: <200909242123.n8OLNmlf020732@spidey.local>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id n8PCP778003519
Status: RO
Content-Length: 566

>
> This is cumbersome and prone to error, and even then the new pool
> cannot be imported on the same host as the original.
>
> PROPOSED SOLUTION:
>
> Introduce a "zpool split" command.  This will allow an administrator to
> extract one disk from each mirrored top-level vdev and use them to create
> a new pool with an exact copy of the data.  The new pool can then be
> imported on any machine that supports that pool's version.

What about the pool GUID ? Will the new pool have a new GUID as well
or it will keep the original one ?

-- 
Regards,
        Cyril


From mmusante@east.sun.com Fri Sep 25 05:29:21 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8PCTKuJ003535
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 25 Sep 2009 05:29:20 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n8PCTDsK002562;
	Fri, 25 Sep 2009 20:29:19 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQJ00H011CU3800@nwk-avmta-2.sfbay.sun.com>; Fri,
 25 Sep 2009 05:29:18 -0700 (PDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQJ007ET1CUQL90@nwk-avmta-2.sfbay.sun.com>; Fri,
 25 Sep 2009 05:29:18 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8PCTIeO024838; Fri,
 25 Sep 2009 12:29:18 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KQJ008001C5PZ00@mail-amer.sun.com>; Fri, 25 Sep 2009 06:29:18 -0600 (MDT)
Received: from mythril ([unknown] [129.148.168.188])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KQJ00FMC1CTH850@mail-amer.sun.com>; Fri,
 25 Sep 2009 06:29:18 -0600 (MDT)
Date: Fri, 25 Sep 2009 08:25:45 -0400 (EDT)
From: Mark J Musante <mmusante@east.sun.com>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <4ABC9338.6060200@Sun.COM>
Sender: Mark.Musante@sun.com
X-X-Sender: mmusante@mythril
To: Darren J Moffat <Darren.Moffat@sun.com>
Cc: PSARC-ext@sun.com, ZFS Team <zfs-team@sun.com>
Reply-to: Mark.Musante@sun.com
Message-id: <alpine.SOC.1.00.0909250822060.24127@mythril>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200909242123.n8OLNmlf020732@spidey.local>
 <4ABC9338.6060200@Sun.COM>
User-Agent: Alpine 1.00 (SOC 882 2007-12-20)
Status: RO
Content-Length: 356

On Fri, 25 Sep 2009, Darren J Moffat wrote:

> One minor thing, what does the output look like when "-n" is passed ? 
> I assume this is NOT parsable output and looks like 'zpool status' 
> output right?

It's the same as the zpool create -n output, and not intended to be 
parseable.  I think the right terminology is "not an interface"?


Regards,
markm

From mmusante@east.sun.com Fri Sep 25 05:31:10 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8PCVA3A003561
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 25 Sep 2009 05:31:10 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n8PCV8R3002305;
	Fri, 25 Sep 2009 06:31:09 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQJ00H071FW7Z00@nwk-avmta-2.sfbay.sun.com>; Fri,
 25 Sep 2009 05:31:08 -0700 (PDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQJ007MO1FVQL90@nwk-avmta-2.sfbay.sun.com>; Fri,
 25 Sep 2009 05:31:07 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8PCV6cn025485; Fri,
 25 Sep 2009 12:31:06 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KQJ0070019HXM00@mail-amer.sun.com>; Fri, 25 Sep 2009 06:31:06 -0600 (MDT)
Received: from mythril ([unknown] [129.148.168.188])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KQJ00G5E1FS4MD0@mail-amer.sun.com>; Fri,
 25 Sep 2009 06:31:05 -0600 (MDT)
Date: Fri, 25 Sep 2009 08:27:33 -0400 (EDT)
From: Mark J Musante <mmusante@east.sun.com>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <yddk4zn8dsm.fsf@komagatake.TechFak.Uni-Bielefeld.DE>
Sender: Mark.Musante@sun.com
X-X-Sender: mmusante@mythril
To: Rainer Orth <ro@techfak.uni-bielefeld.de>
Cc: ZFS Team <zfs-team@sun.com>, PSARC-ext@sun.com
Reply-to: Mark.Musante@sun.com
Message-id: <alpine.SOC.1.00.0909250825560.24127@mythril>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200909242123.n8OLNmlf020732@spidey.local>
 <yddk4zn8dsm.fsf@komagatake.TechFak.Uni-Bielefeld.DE>
User-Agent: Alpine 1.00 (SOC 882 2007-12-20)
Status: RO
Content-Length: 837

On Fri, 25 Sep 2009, Rainer Orth wrote:

>> +        Splits off one disk from each mirrored top-level vdev in
>> +        a pool and creates a new pool from the split-off disks.
>> +        The original pool must be made up of one or more mirrors
>> +        and must not be in the process of resilvering.  The split
>> +        command will choose the last device in each mirror vdev unless
>> +        overridden by a device specification on the command line.
>
> I suppose that giving a device specification (i.e. list of devices) 
> means that exactly those devices will be split off and you have to list 
> all devices if you specify any?  Perhaps this should be made explicit?

You only have to list the devices you want to explicitly split off.  For 
the rest, the code chooses the last disk in each mirror vdev.


Regards,
markm

From mmusante@east.sun.com Fri Sep 25 05:32:15 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8PCWD75003710
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 25 Sep 2009 05:32:13 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n8PCVuEM014666;
	Fri, 25 Sep 2009 13:32:12 +0100 (BST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQJ00F0V1HL7G00@brm-avmta-1.central.sun.com>; Fri,
 25 Sep 2009 06:32:09 -0600 (MDT)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQJ00K061HL0HA0@brm-avmta-1.central.sun.com>; Fri,
 25 Sep 2009 06:32:09 -0600 (MDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8PCW8Yw020665; Fri,
 25 Sep 2009 12:32:09 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KQJ0070019HXM00@mail-amer.sun.com>; Fri, 25 Sep 2009 06:32:09 -0600 (MDT)
Received: from mythril ([unknown] [129.148.168.188])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KQJ00GES1HJ4MD0@mail-amer.sun.com>; Fri,
 25 Sep 2009 06:32:08 -0600 (MDT)
Date: Fri, 25 Sep 2009 08:28:36 -0400 (EDT)
From: Mark J Musante <mmusante@east.sun.com>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <c7dddeaa0909250524k34c75309gb4aae2e7ce1d353b@mail.gmail.com>
Sender: Mark.Musante@sun.com
X-X-Sender: mmusante@mythril
To: Cyril Plisko <cyril.plisko@mountall.com>
Cc: ZFS Team <zfs-team@sun.com>, PSARC-ext@sun.com
Reply-to: Mark.Musante@sun.com
Message-id: <alpine.SOC.1.00.0909250827440.24127@mythril>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200909242123.n8OLNmlf020732@spidey.local>
 <c7dddeaa0909250524k34c75309gb4aae2e7ce1d353b@mail.gmail.com>
User-Agent: Alpine 1.00 (SOC 882 2007-12-20)
Status: RO
Content-Length: 649

On Fri, 25 Sep 2009, Cyril Plisko wrote:

>>
>> This is cumbersome and prone to error, and even then the new pool
>> cannot be imported on the same host as the original.
>>
>> PROPOSED SOLUTION:
>>
>> Introduce a "zpool split" command. This will allow an administrator to 
>> extract one disk from each mirrored top-level vdev and use them to 
>> create a new pool with an exact copy of the data. The new pool can then 
>> be imported on any machine that supports that pool's version.
>
> What about the pool GUID ? Will the new pool have a new GUID as well or 
> it will keep the original one ?

The new pool gets a new pool GUID.


Regards,
markm

From ro@techfak.uni-bielefeld.de Fri Sep 25 05:37:15 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8PCbEQC003746
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 25 Sep 2009 05:37:14 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n8PCbBvH018129;
	Fri, 25 Sep 2009 13:37:12 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQJ00L071PZK500@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 25 Sep 2009 05:37:11 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQJ00JAF1PYXG10@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 25 Sep 2009 05:37:11 -0700 (PDT)
Received: from relay42i.sun.com ([192.5.209.72])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8PCO2dk013537; Fri,
 25 Sep 2009 12:37:10 +0000 (GMT)
Received: from mmp43es.mmp.us.syntegra.com ([160.41.221.12] [160.41.221.12])
 by relay42i.sun.com with ESMTP id BT-MMP-1908627; Fri,
 25 Sep 2009 12:37:10 +0000 (Z)
Received: from relay41i.sun.com (relay41i.sun.com [192.5.209.70])
 by mmp43es.mmp.us.syntegra.com with ESMTP id BT-MMP-26293440; Fri,
 25 Sep 2009 12:37:08 +0000 (Z)
Received: from smarthost.TechFak.Uni-Bielefeld.DE
 ([129.70.137.17] [129.70.137.17]) by relay4i.sun.com with ESMTP id
 BT-MMP-20345959; Fri, 25 Sep 2009 12:36:51 +0000 (Z)
Received: from komagatake.TechFak.Uni-Bielefeld.DE
 (komagatake.TechFak.Uni-Bielefeld.DE [129.70.137.126])
	by smarthost.TechFak.Uni-Bielefeld.DE (Postfix) with ESMTP id 8B1E4B6; Fri,
 25 Sep 2009 14:36:51 +0200 (CEST)
Received: (from ro@localhost)	by komagatake.TechFak.Uni-Bielefeld.DE
 (8.11.7+Sun/8.9.1) id n8PCapi00034; Fri, 25 Sep 2009 14:36:51 +0200 (MEST)
Date: Fri, 25 Sep 2009 14:36:49 +0200 (MEST)
From: Rainer Orth <ro@techfak.uni-bielefeld.de>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <alpine.SOC.1.00.0909250825560.24127@mythril>
To: Mark.Musante@sun.com
Cc: ZFS Team <zfs-team@sun.com>, PSARC-ext@sun.com
Message-id: <19132.47457.632593.997577@komagatake.TechFak.Uni-Bielefeld.DE>
MIME-version: 1.0
X-Mailer: VM 6.62 under Emacs 19.34.1
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 1.027sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <200909242123.n8OLNmlf020732@spidey.local>
 <yddk4zn8dsm.fsf@komagatake.TechFak.Uni-Bielefeld.DE>
 <alpine.SOC.1.00.0909250825560.24127@mythril>
Status: RO
Content-Length: 1078

Mark J Musante writes:

> On Fri, 25 Sep 2009, Rainer Orth wrote:
> 
> >> +        Splits off one disk from each mirrored top-level vdev in
> >> +        a pool and creates a new pool from the split-off disks.
> >> +        The original pool must be made up of one or more mirrors
> >> +        and must not be in the process of resilvering.  The split
> >> +        command will choose the last device in each mirror vdev unless
> >> +        overridden by a device specification on the command line.
> >
> > I suppose that giving a device specification (i.e. list of devices) 
> > means that exactly those devices will be split off and you have to list 
> > all devices if you specify any?  Perhaps this should be made explicit?
> 
> You only have to list the devices you want to explicitly split off.  For 
> the rest, the code chooses the last disk in each mirror vdev.

Ok, mention that in the man page and I'm fine.

Thanks.
	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

From Darren.Moffat@sun.com Fri Sep 25 06:11:34 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8PDBW7K004403
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 25 Sep 2009 06:11:32 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n8PDBMhQ024362;
	Fri, 25 Sep 2009 21:11:31 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQJ0021B3B6SZ00@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 25 Sep 2009 06:11:30 -0700 (PDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQJ00JUA3B4XF70@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 25 Sep 2009 06:11:29 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n8PDBSAB014168; Fri,
 25 Sep 2009 13:11:28 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KQJ00L003492100@fe-emea-10.sun.com>; Fri, 25 Sep 2009 14:11:27 +0100 (BST)
Received: from [192.168.1.105]
 (cpc2-rdng20-2-0-cust917.15-3.cable.virginmedia.com [86.28.167.150])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KQJ0055M3AXI4E0@fe-emea-10.sun.com>; Fri,
 25 Sep 2009 14:11:22 +0100 (BST)
Date: Fri, 25 Sep 2009 14:11:21 +0100
From: Darren J Moffat <Darren.Moffat@sun.com>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <alpine.SOC.1.00.0909250822060.24127@mythril>
Sender: Darren.Moffat@sun.com
To: Mark.Musante@sun.com
Cc: PSARC-ext@sun.com, ZFS Team <zfs-team@sun.com>
Message-id: <4ABCC179.1040802@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200909242123.n8OLNmlf020732@spidey.local>
 <4ABC9338.6060200@Sun.COM> <alpine.SOC.1.00.0909250822060.24127@mythril>
User-Agent: Thunderbird 2.0.0.22 (X11/20090818)
Status: RO
Content-Length: 419

Mark J Musante wrote:
> On Fri, 25 Sep 2009, Darren J Moffat wrote:
> 
>> One minor thing, what does the output look like when "-n" is passed ? 
>> I assume this is NOT parsable output and looks like 'zpool status' 
>> output right?
> 
> It's the same as the zpool create -n output, and not intended to be 
> parseable. 

Great.

 > I think the right terminology is "not an interface"?

Yes it is.

-- 
Darren J Moffat

From Pawel.Wojcik@Sun.COM Fri Sep 25 14:29:14 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8PLTDu5021905
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 25 Sep 2009 14:29:14 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n8PLTAjk006871;
	Fri, 25 Sep 2009 22:29:13 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQJ00J03QCMRL00@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 25 Sep 2009 14:29:10 -0700 (PDT)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQJ00C1GQCM2A50@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 25 Sep 2009 14:29:10 -0700 (PDT)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n8PLTA9v019257;
 Fri, 25 Sep 2009 14:29:10 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KQJ00K00Q379S00@fe-sfbay-10.sun.com>; Fri,
 25 Sep 2009 14:29:10 -0700 (PDT)
Received: from [129.153.3.91] ([unknown] [129.153.3.91])
 by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KQJ00GEFQCLPK40@fe-sfbay-10.sun.com>;
 Fri, 25 Sep 2009 14:29:10 -0700 (PDT)
Date: Fri, 25 Sep 2009 14:24:08 -0700
From: Pawel Wojcik <Pawel.Wojcik@Sun.COM>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <200909242123.n8OLNmlf020732@spidey.local>
Sender: Pawel.Wojcik@Sun.COM
To: Tim Haley <Tim.Haley@Sun.COM>
Cc: PSARC-ext@Sun.COM, zfs-team@Sun.COM
Message-id: <4ABD34F8.7030106@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200909242123.n8OLNmlf020732@spidey.local>
User-Agent: Thunderbird 2.0.0.14 (X11/20080602)
Status: RO
Content-Length: 1039


On 09/24/09 02:23 PM, Tim Haley wrote:
> Some practices in data centers are built around the use of a volume 
> manager's ability to clone data.  An administrator will attach a set of 
> disks to mirror an existing configuration, wait for the resilver to 
> complete, and then physically detach and remove those disks to a new
> location.
>   

Questions:
1. Is the split-off disk set a one-side of a new mirror or just a 
non-redundant pool?
2. Can you split the mirror into two 2-way or multiway mirrors, leaving 
the original multiway mirror non-compromised?
    This would save time for resilvering of a split-off disk set if a 
new mirror is needed.

The following practice could be a best way to avoid compromising the 
original mirrored pool and creating split-off mirror:
1. Attach a new set of disks to a mirrored pool, a new set being 
sufficient for at least a 2-way mirror
2. Create  a 4-way (or more way) mirror
3. Resilver attached disk set
4 Split resulting mirror into 2 mirror

Is it possible with your proposal?

-Pawel

From tim.haley@sun.com Wed Sep 30 10:08:00 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n8UH80Cb023106
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 30 Sep 2009 10:08:00 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n8UH7wn2045997;
	Wed, 30 Sep 2009 11:07:59 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KQS00E0HNLA6I00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 30 Sep 2009 10:07:58 -0700 (PDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KQS0058XNL97TA0@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 30 Sep 2009 10:07:57 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n8UH7vPq019150; Wed,
 30 Sep 2009 17:07:57 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KQS00600NDN8V00@mail-amer.sun.com>; Wed, 30 Sep 2009 11:07:57 -0600 (MDT)
Received: from [172.20.25.27] ([unknown] [172.20.25.27])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KQS001Y5NL2RS90@mail-amer.sun.com>; Wed,
 30 Sep 2009 11:07:55 -0600 (MDT)
Date: Wed, 30 Sep 2009 11:07:50 -0600
From: Tim Haley <tim.haley@sun.com>
Subject: Re: zpool split [PSARC/2009/511 FastTrack timeout 10/31/2009]
In-reply-to: <200909242123.n8OLNmlf020732@spidey.local>
Sender: Timothy.Haley@sun.com
To: PSARC-ext@sun.com
Cc: zfs-team@sun.com
Message-id: <4AC39066.9060509@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200909242123.n8OLNmlf020732@spidey.local>
User-Agent: Thunderbird 2.0.0.22 (X11/20090909)
Status: RO
Content-Length: 50

This case was approved in today's meeting.

-tim


