From timh@spidey.central.sun.com Thu Mar 27 08:34:37 2008
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m2RFYaUm016455
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 27 Mar 2008 08:34:37 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m2RFYXFT028749
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 27 Mar 2008 08:34:36 -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 <0JYE00D4HB9NFK00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 27 Mar 2008 08:34:35 -0700 (PDT)
Received: from spidey.central.sun.com ([172.20.25.27])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JYE00CL8B9MDN30@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 27 Mar 2008 08:34:34 -0700 (PDT)
Received: from spidey.central.sun.com (localhost [127.0.0.1])
	by spidey.central.sun.com (8.14.2+Sun/8.14.2) with ESMTP id m2RFYY4V015968;
 Thu, 27 Mar 2008 09:34:34 -0600 (MDT)
Received: (from timh@localhost)	by spidey.central.sun.com
 (8.14.2+Sun/8.14.2/Submit) id m2RFYY7D015966; Thu,
 27 Mar 2008 09:34:34 -0600 (MDT)
Date: Thu, 27 Mar 2008 09:34:34 -0600 (MDT)
From: Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>
Subject: Pool root file system properties via zpool(1M) [PSARC/2008/223 Self
 Review]
To: PSARC-ext@sun.com
Message-id: <200803271534.m2RFYY7D015966@spidey.central.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
Status: RO
Content-Length: 2714

I am sponsoring the following fast-track on behalf of myself.  This a
straight-forward addition of accepting additional command line
options.  The case is requesting micro/patch binding.  I believe
the case qualifies for self-review and have marked it as such.
Please let me know if there is any disagreement and I will convert the
case to an open fast-track.

Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
This information is Copyright 2008 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 Pool root file system properties via zpool(1M)
    1.2. Name of Document Author/Supplier:
	 Author:  Tim Haley
    1.3  Date of This Document:
	27 March, 2008
4. Technical Description

OVERVIEW:

	There is presently no way to set file system properties on the
	root file system of a zpool until after that file system has
	already been created.  This has become an issue with the
	introduction of certain properties that cannot be changed
	after file system creation, and therefore cannot have anything
	other than default values in the root file system of the pool
	(see PSARC/2007/244).

PROPOSED SOLUTION:

	This fasttrack proposes a new command line option for the
	'zpool create' sub-command.  A pool creator may add one or
	more '-O property=value' options specifying property values
	which will be applied to the pool root file system during its
	creation.


PROPOSED CHANGES to ZPOOL(1M) PAGE:

--- zpool.1m.rogi	Mon Mar 17 15:28:50 2008
+++ zpool.1m	Mon Mar 17 16:04:45 2008
@@ -12,8 +12,9 @@
      zpool [-?]
 
 
-     zpool create [-fn] [-o property=value] ... [-m mountpoint] [-R root]
-         pool vdev ...
+     zpool create [-fn] [-o property=value] ...
+	 [-O file-system-property=value] ...
+	 [-m mountpoint] [-R root] pool vdev ...
 
 
      zpool destroy [-f] pool
@@ -685,7 +686,8 @@
          Displays a help message.
 
 
-     zpool create [-fn] [-o property=value] ... [-m mountpoint]
+     zpool create [-fn] [-o property=value] ...
+     [-O file-system-property=value] ... [-m mountpoint]
      [-R root] pool vdev ...
 
          Creates a new storage pool containing the  virtual  dev-
@@ -753,6 +755,12 @@
              set.
 
 
+         -O property=value [-O property=value] ...
+
+             Sets the given file system properties in the root file
+             system of the pool.  See the "Properties" section of
+             zfs(1M) for a list of valid properties that can be set.
+
          -R root
 
              Equivalent to "-o cachefile=none,altroot=root"

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


