From carlsonj@phorcys.east.sun.com Wed Sep 26 13:41:45 2007
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 l8QKfiiM025214
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Sep 2007 13:41:45 -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.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id l8QKcPLM010252;
	Wed, 26 Sep 2007 21:38:40 +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 <0JOZ00E05TCD6Q00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 26 Sep 2007 13:38:37 -0700 (PDT)
Received: from phorcys.east.sun.com ([129.148.174.143])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JOZ00615TCCVC50@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 26 Sep 2007 13:38:36 -0700 (PDT)
Received: from phorcys.east.sun.com (localhost [127.0.0.1])
	by phorcys.east.sun.com (8.14.1+Sun/8.14.1) with ESMTP id l8QKcUMD002937; Wed,
 26 Sep 2007 16:38:30 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.1+Sun/8.14.1/Submit) id l8QKcUht002934; Wed,
 26 Sep 2007 16:38:30 -0400 (EDT)
Date: Wed, 26 Sep 2007 16:38:29 -0400
From: James Carlson <james.d.carlson@Sun.COM>
Subject: Re: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
In-reply-to: <200709262005.l8QK51wu005516@spidey.Central.Sun.COM>
To: Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>
Cc: PSARC-ext@Sun.COM, cifs-team@Sun.COM
Message-id: <18170.49989.931770.876708@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.01 under Emacs 21.3.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <200709262005.l8QK51wu005516@spidey.Central.Sun.COM>
Status: RO
Content-Length: 498

Tim Haley - Sun Microsystem writes:
> I am sponsoring this fast-track for Mark Shellenbaum.
> Requested binding is micro, timeout 10/03/2007.

If you're headed for an S10 update, then you'll need patch release
binding.  (As a new feature, this looks fine to me as a patch.)

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

From Mark.Shellenbaum@Sun.COM Wed Sep 26 14:14:24 2007
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l8QLEOv7026692
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Sep 2007 14:14:24 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id l8QLBJho017258;
	Wed, 26 Sep 2007 14:11:21 -0700 (PDT)
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 <0JOZ00M0ZUUVEX00@brm-avmta-1.central.sun.com>; Wed,
 26 Sep 2007 15:11:19 -0600 (MDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JOZ00M0GUUUEC00@brm-avmta-1.central.sun.com>; Wed,
 26 Sep 2007 15:11:19 -0600 (MDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l8QLBIqv014804; Wed,
 26 Sep 2007 21:11:18 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JOZ00801SZII800@mail-amer.sun.com>
 (original mail from Mark.Shellenbaum@Sun.COM); Wed,
 26 Sep 2007 15:11:18 -0600 (MDT)
Received: from [172.20.25.34] by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0JOZ007IKUU8UO50@mail-amer.sun.com>; Wed,
 26 Sep 2007 15:10:56 -0600 (MDT)
Date: Wed, 26 Sep 2007 15:10:56 -0600
From: Mark Shellenbaum <Mark.Shellenbaum@Sun.COM>
Subject: Re: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
In-reply-to: <18170.49989.931770.876708@gargle.gargle.HOWL>
Sender: Mark.Shellenbaum@Sun.COM
To: James Carlson <James.D.Carlson@Sun.COM>
Cc: Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>,
        PSARC-ext@Sun.COM, cifs-team@Sun.COM
Message-id: <46FACAE0.3050909@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <200709262005.l8QK51wu005516@spidey.Central.Sun.COM>
 <18170.49989.931770.876708@gargle.gargle.HOWL>
User-Agent: Thunderbird 2.0.0.4 (X11/20070703)
Status: RO
Content-Length: 388

James Carlson wrote:
> Tim Haley - Sun Microsystem writes:
>> I am sponsoring this fast-track for Mark Shellenbaum.
>> Requested binding is micro, timeout 10/03/2007.
> 
> If you're headed for an S10 update, then you'll need patch release
> binding.  (As a new feature, this looks fine to me as a patch.)
> 

We don't need patch binding.  We don't plan to backport this to S10.

   -Mark

From eric.kustarz@sun.com Wed Sep 26 14:18:12 2007
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 l8QLICwF026958
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Sep 2007 14:18:12 -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 l8QLEFmY048438;
	Wed, 26 Sep 2007 15:14:17 -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 <0JOZ00I0JV183O00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 26 Sep 2007 14:15:08 -0700 (PDT)
Received: from jurassic-x4600.sfbay.sun.com ([129.146.17.59])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JOZ006SOV18V750@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 26 Sep 2007 14:15:08 -0700 (PDT)
Received: from [35.9.140.112]
 (vpn-129-150-65-128.East.Sun.COM [129.150.65.128])	by
 jurassic-x4600.sfbay.sun.com (8.14.1+Sun/8.14.1) with ESMTP id l8QLF6Or539189;
 Wed, 26 Sep 2007 14:15:07 -0700 (PDT)
Date: Wed, 26 Sep 2007 17:14:54 -0400
From: eric kustarz <eric.kustarz@sun.com>
Subject: Re: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
In-reply-to: <200709262005.l8QK51wu005516@spidey.Central.Sun.COM>
To: Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>
Cc: PSARC-ext@sun.com, cifs-team@sun.com
Message-id: <B2460A85-8236-4E8C-BDA7-18D52B1A5B07@sun.com>
MIME-version: 1.0
X-Mailer: Apple Mail (2.752.3)
Content-type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <200709262005.l8QK51wu005516@spidey.Central.Sun.COM>
Status: RO
Content-Length: 3798

Can we add an example to the manpage?

Something to match the already existing example for NFS ("Example 18  
Setting sharenfs Property Options on a ZFS File System").

eric

On Sep 26, 2007, at 4:05 PM, Tim Haley - Sun Microsystem wrote:

> I am sponsoring this fast-track for Mark Shellenbaum.
> Requested binding is micro, timeout 10/03/2007.
>
> Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
> This information is Copyright 2007 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
> 	 ZFS sharesmb property
>     1.2. Name of Document Author/Supplier:
> 	 Author:  Mark Shellenbaum
>     1.3  Date of This Document:
> 	26 September, 2007
> 4. Technical Description
>
> OVERVIEW:
>
>         ZFS needs a way to handle "smb" shares.  ZFS already has  
> the sharenfs
>         property, we need to create a "sharesmb" to handle smb shares.
>
> PROPOSED SOLUTION:
>
>         Create a property "sharesmb" that will allow for datasets  
> to be
>         shared via "smb".
>
> Manpage changes:
>
> 348c348,349
> <      must be lowercase, except for "mountpoint" and "sharenfs".
> ---
>>      must be lowercase, except for "mountpoint", "sharenfs" and
>>      "sharesmb".
> 650a652
>>      sharesmb=on | off | opts
> 651a654,683
>>          Controls whether the file system is shared via SMB,  and
>>          what  options  are  used.  A file system with a sharesmb
>>          property of "off" is managed through  traditional  tools
>>          such  as  sharemgr(1M).  Otherwise,  the  file  system  is
>>          automatically  shared  and unshared  with  the  "zfs  share"
>>          and "zfs unshare" commands. If the property is set  to   
>> "on",
>>          the  sharemgr(1M) command  is  invoked  with  no  options.
>>          Otherwise, the sharemgr(1M) command is invoked with options
>>          equivalent  to the contents of this property.
>>
>>          Due to the requirement that SMB shares must have a  
>> resource name,
>>          a unique resource name will be constructed from the data  
>> set name.
>>          The constructed name will be a copy of the dataset name  
>> except that
>>          characters in the dataset name which would be illegal in the
>> 	   resource name are replaced with underscore (_) characters.  A  
>> pseudo
>>          property "name" is also supported that allows the  
>> administrator to
>>          replace the data set name with a specified name. The  
>> specified name
>> 	   is then used to replace the prefix dataset in the case of
>>          inheritance. For example, if the dataset "data/home/john"  
>> is set
>>          with name=john, then data/home/john will have a resource  
>> name of
>>          john .  If there is a sub dataset of data/home/john/ 
>> backups, it
>>          will then have a  resource name of john_backups.
>>
>>          When the "sharesmb" property is changed for  a  dataset,
>>          the dataset and any children inheriting the property are
>>          re-shared with the new options, only if the property was
>>          previously "off", or if they were shared before the pro-
>>          perty was changed. If the new  property  is  "off",  the
>>          file systems are unshared.
>>
>>
> 1491,1492c1523,1524
> <          "sharenfs"  property.  File  systems are shared when the
> <          "sharenfs" property is set.
> ---
>>          "sharenfs" and "sharesmb"  properties.  File  systems are
>>          shared when the "sharenfs" or "sharesmb" property is set.
> 1739a1772
>>        pool/home/bob  sharesmb       off                    default
>
>
> 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 carlsonj@phorcys.east.sun.com Wed Sep 26 14:34:36 2007
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 l8QLYZUt027115
	for <psarc-ext@sac.sfbay.Sun.COM>; Wed, 26 Sep 2007 14:34:36 -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 l8QLV4oC027883;
	Thu, 27 Sep 2007 05:31:30 +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 <0JOZ00E0BVSGZ600@nwk-avmta-2.sfbay.sun.com>; Wed,
 26 Sep 2007 14:31:28 -0700 (PDT)
Received: from phorcys.east.sun.com ([129.148.174.143])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JOZ00BWRVSFRK30@nwk-avmta-2.sfbay.sun.com>; Wed,
 26 Sep 2007 14:31:27 -0700 (PDT)
Received: from phorcys.east.sun.com (localhost [127.0.0.1])
	by phorcys.east.sun.com (8.14.1+Sun/8.14.1) with ESMTP id l8QLVEij003309; Wed,
 26 Sep 2007 17:31:14 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.1+Sun/8.14.1/Submit) id l8QLVE9u003306; Wed,
 26 Sep 2007 17:31:14 -0400 (EDT)
Date: Wed, 26 Sep 2007 17:31:12 -0400
From: James Carlson <james.d.carlson@Sun.COM>
Subject: Re: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout	10/03/2007]
In-reply-to: <46FACAE0.3050909@Sun.COM>
To: Mark Shellenbaum <Mark.Shellenbaum@Sun.COM>
Cc: PSARC-ext@Sun.COM,
        Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>,
        cifs-team@Sun.COM
Message-id: <18170.53152.872714.998631@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.01 under Emacs 21.3.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <200709262005.l8QK51wu005516@spidey.Central.Sun.COM>
 <18170.49989.931770.876708@gargle.gargle.HOWL> <46FACAE0.3050909@Sun.COM>
Status: RO
Content-Length: 652

Mark Shellenbaum writes:
> James Carlson wrote:
> > Tim Haley - Sun Microsystem writes:
> >> I am sponsoring this fast-track for Mark Shellenbaum.
> >> Requested binding is micro, timeout 10/03/2007.
> > 
> > If you're headed for an S10 update, then you'll need patch release
> > binding.  (As a new feature, this looks fine to me as a patch.)
> > 
> 
> We don't need patch binding.  We don't plan to backport this to S10.

OK.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

From sacadmin Wed Sep 26 14:54:50 2007
Received: from dm-sfbay-02.sfbay.sun.com (dm-sfbay-02 [129.146.11.31])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l8QLsoT2027638
	for <psarc-record@sac.sfbay.sun.com>; Wed, 26 Sep 2007 14:54:50 -0700 (PDT)
Received: from sca-es-mail-2.sun.com (sca-es-mail-2.Sun.COM [192.18.43.133])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id l8QLplTO061810
	for <psarc-record@sac.sfbay.sun.com>; Wed, 26 Sep 2007 14:51:47 -0700 (PDT)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id l8QLpgfI010959
	for <psarc-record@sac.sfbay.sun.com>; Wed, 26 Sep 2007 14:51:42 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JOZ00501TWU3X00@fe-sfbay-09.sun.com>
 (original mail from John.Plocher@Sun.COM) for psarc-record@sac.sfbay.sun.com;
 Wed, 26 Sep 2007 14:51:42 -0700 (PDT)
Received: from wp668.sfbay.sun.com ([129.146.58.87])
 by fe-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb
 28 2007)) with ESMTPSA id <0JOZ001GGWPS5J60@fe-sfbay-09.sun.com> for
 psarc-record@sac.sfbay.sun.com; Wed, 26 Sep 2007 14:51:28 -0700 (PDT)
Date: Wed, 26 Sep 2007 14:51:22 -0700
From: John Plocher <John.Plocher@Sun.COM>
Subject: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
Sender: John.Plocher@Sun.COM
To: psarc-record@sac.sfbay.sun.com
Message-id: <46FAD45A.1070303@Sun.Com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728)
Status: RO
Content-Length: 4379



-------- Original Message --------
Subject: sacMaiL Error [PSARC]: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
Date: Wed, 26 Sep 2007 13:08:18 -0700 (PDT)
From: Sac Administrator <sacadmin@sac.sfbay.sun.com>
To: undisclosed-recipients: ;


[This message was auto-generated by the SAC mail system]

NOT SAVED: /export/sac/Archives/CaseLog/arc/PSARC/2007/560/mail
     This message was not saved in the project's mail log.
     This may be because of file permission problems:
     -rw-rw-r--   1 timh     staff          0 Sep 26 13:04 /export/sac/Archives/CaseLog/arc/PSARC/2007/560/mail

     Please contact SACAdmin@sac.sfbay about this problem.

---- original message follows ----

Date: Wed, 26 Sep 2007 14:05:01 -0600 (MDT)
From: Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>
Subject: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
To: PSARC-ext@sun.com
Cc: cifs-team@sun.com

I am sponsoring this fast-track for Mark Shellenbaum.
Requested binding is micro, timeout 10/03/2007.

Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
This information is Copyright 2007 Sun Microsystems
1. Introduction
     1.1. Project/Component Working Name:
	 ZFS sharesmb property
     1.2. Name of Document Author/Supplier:
	 Author:  Mark Shellenbaum
     1.3  Date of This Document:
	26 September, 2007
4. Technical Description

OVERVIEW:

         ZFS needs a way to handle "smb" shares.  ZFS already has the sharenfs
         property, we need to create a "sharesmb" to handle smb shares.

PROPOSED SOLUTION:

         Create a property "sharesmb" that will allow for datasets to be
         shared via "smb".

Manpage changes:

348c348,349
<      must be lowercase, except for "mountpoint" and "sharenfs".
---
>      must be lowercase, except for "mountpoint", "sharenfs" and 
>      "sharesmb".
650a652
>      sharesmb=on | off | opts
651a654,683
>          Controls whether the file system is shared via SMB,  and
>          what  options  are  used.  A file system with a sharesmb
>          property of "off" is managed through  traditional  tools
>          such  as  sharemgr(1M).  Otherwise,  the  file  system  is
>          automatically  shared  and unshared  with  the  "zfs  share"
>          and "zfs unshare" commands. If the property is set  to  "on",
>          the  sharemgr(1M) command  is  invoked  with  no  options.
>          Otherwise, the sharemgr(1M) command is invoked with options
>          equivalent  to the contents of this property.
> 
>          Due to the requirement that SMB shares must have a resource name,
>          a unique resource name will be constructed from the data set name.
>          The constructed name will be a copy of the dataset name except that
>          characters in the dataset name which would be illegal in the 
>	   resource name are replaced with underscore (_) characters.  A pseudo
>          property "name" is also supported that allows the administrator to
>          replace the data set name with a specified name. The specified name 
>	   is then used to replace the prefix dataset in the case of 
>          inheritance. For example, if the dataset "data/home/john" is set 
>          with name=john, then data/home/john will have a resource name of 
>          john .  If there is a sub dataset of data/home/john/backups, it 
>          will then have a  resource name of john_backups.
> 
>          When the "sharesmb" property is changed for  a  dataset,
>          the dataset and any children inheriting the property are
>          re-shared with the new options, only if the property was
>          previously "off", or if they were shared before the pro-
>          perty was changed. If the new  property  is  "off",  the
>          file systems are unshared.
> 
> 
1491,1492c1523,1524
<          "sharenfs"  property.  File  systems are shared when the
<          "sharenfs" property is set.
---
>          "sharenfs" and "sharesmb"  properties.  File  systems are 
>          shared when the "sharenfs" or "sharesmb" property is set.
1739a1772
>        pool/home/bob  sharesmb       off                    default


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

---- end of original message ----



From sacadmin Wed Sep 26 14:55:01 2007
Received: from sfbaymail1sca.SFBay.Sun.COM (sfbaymail1sca [129.145.154.35])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l8QLt0Qq027649
	for <psarc-record@sac.sfbay.sun.com>; Wed, 26 Sep 2007 14:55:00 -0700 (PDT)
Received: from sca-es-mail-2.sun.com (sca-es-mail-2.Sun.COM [192.18.43.133])
	by sfbaymail1sca.SFBay.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l8QLpvek022749
	for <psarc-record@sac.sfbay.sun.com>; Wed, 26 Sep 2007 14:51:57 -0700 (PDT)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id l8QLpqHu011002
	for <psarc-record@sac.sfbay.sun.com>; Wed, 26 Sep 2007 14:51:52 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JOZ00C01WFSR100@fe-sfbay-09.sun.com>
 (original mail from John.Plocher@Sun.COM) for psarc-record@sac.sfbay.sun.com;
 Wed, 26 Sep 2007 14:51:52 -0700 (PDT)
Received: from wp668.sfbay.sun.com ([129.146.58.87])
 by fe-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb
 28 2007)) with ESMTPSA id <0JOZ001KTWQG5J60@fe-sfbay-09.sun.com> for
 psarc-record@sac.sfbay.sun.com; Wed, 26 Sep 2007 14:51:52 -0700 (PDT)
Date: Wed, 26 Sep 2007 14:51:46 -0700
From: John Plocher <John.Plocher@Sun.COM>
Subject: Re: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
Sender: John.Plocher@Sun.COM
To: psarc-record@sac.sfbay.sun.com
Message-id: <46FAD472.101@Sun.Com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728)
Status: RO
Content-Length: 1268



-------- Original Message --------
Subject: sacMaiL Error [PSARC]: Re: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
Date: Wed, 26 Sep 2007 13:12:08 -0700 (PDT)
From: Sac Administrator <sacadmin@sac.sfbay.sun.com>
To: undisclosed-recipients: ;


[This message was auto-generated by the SAC mail system]

NOT SAVED: /export/sac/Archives/CaseLog/arc/PSARC/2007/560/mail
     This message was not saved in the project's mail log.
     This may be because of file permission problems:
     -rw-rw-r--   1 timh     staff          0 Sep 26 13:04 /export/sac/Archives/CaseLog/arc/PSARC/2007/560/mail

     Please contact SACAdmin@sac.sfbay about this problem.

---- original message follows ----

Date: Wed, 26 Sep 2007 14:08:45 -0600
From: Tim Haley <Timothy.Haley@sun.com>
Subject: Re: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
To: Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>
Cc: PSARC-ext@sun.com, cifs-team@sun.com

Tim Haley - Sun Microsystem wrote:
> I am sponsoring this fast-track for Mark Shellenbaum.
> Requested binding is micro, timeout 10/03/2007.
> 

> 
> Manpage changes:
> 
Sorry, missed one edit prior to sending.  The manpage of note here is zfs(1M).

-tim
---- end of original message ----



From Mark.Shellenbaum@Sun.COM Wed Sep 26 15:04:51 2007
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 l8QM4pik027843
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 26 Sep 2007 15:04:51 -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 l8QM0uL6062431;
	Wed, 26 Sep 2007 16:00:56 -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 <0JOZ00N0PX6Z2G00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 26 Sep 2007 15:01:47 -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 <0JOZ006CIX6YV780@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 26 Sep 2007 15:01:46 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l8QM1kkD002684; Wed,
 26 Sep 2007 22:01:46 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JOZ00501VSWCG00@mail-amer.sun.com>
 (original mail from Mark.Shellenbaum@Sun.COM); Wed,
 26 Sep 2007 16:01:46 -0600 (MDT)
Received: from [172.20.25.34] by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0JOZ005I4X6P6L10@mail-amer.sun.com>; Wed,
 26 Sep 2007 16:01:37 -0600 (MDT)
Date: Wed, 26 Sep 2007 16:01:37 -0600
From: Mark Shellenbaum <Mark.Shellenbaum@Sun.COM>
Subject: Re: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
In-reply-to: <B2460A85-8236-4E8C-BDA7-18D52B1A5B07@sun.com>
Sender: Mark.Shellenbaum@Sun.COM
To: eric kustarz <Eric.Kustarz@Sun.COM>
Cc: Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>,
        PSARC-ext@Sun.COM, cifs-team@Sun.COM
Message-id: <46FAD6C1.7030206@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <200709262005.l8QK51wu005516@spidey.Central.Sun.COM>
 <B2460A85-8236-4E8C-BDA7-18D52B1A5B07@sun.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070703)
Status: RO
Content-Length: 3462

eric kustarz wrote:
> Can we add an example to the manpage?
> 
> Something to match the already existing example for NFS ("Example 18 
> Setting sharenfs Property Options on a ZFS File System").
> 
> eric
> 
>

Sure, I've updated the manpage section.


OVERVIEW:

         ZFS needs a way to handle "smb" shares.  ZFS already has the 
sharenfs
         property, we need to create a "sharesmb" to handle smb shares.

PROPOSED SOLUTION:

         Create a property "sharesmb" that will allow for datasets to be
         shared via "smb".

Manpage changes:

348c348,349
<      must be lowercase, except for "mountpoint" and "sharenfs".
---
 >      must be lowercase, except for "mountpoint", "sharenfs" and
 >      "sharesmb".
650a652
 >      sharesmb=on | off | opts
651a654,683
 >          Controls whether the file system is shared via SMB,  and
 >          what  options  are  used.  A file system with a sharesmb
 >          property of "off" is managed through  traditional  tools
 >          such  as  sharemgr(1M).  Otherwise,  the  file  system  is
 >          automatically  shared  and unshared  with  the  "zfs  share"
 >          and "zfs unshare" commands. If the property is set  to  "on",
 >          the  sharemgr(1M) command  is  invoked  with  no  options.
 >          Otherwise, the sharemgr(1M) command is invoked with options
 >          equivalent  to the contents of this property.
 >
 >          Due to the requirement that SMB shares must have a resource 
name,
 >          a unique resource name will be constructed from the data set 
name.
 >          The constructed name will be a copy of the dataset name 
except that
 >          characters in the dataset name which would be illegal in the
 >          resource name are replaced with underscore (_) characters. 
A pseudo
 >          property "name" is also supported that allows the 
administrator to
 >          replace the data set name with a specified name. The 
specified name
 >          is then used to replace the prefix dataset in the case of
 >          inheritance. For example, if the dataset "data/home/john" is 
set
 >          with name=john, then data/home/john will have a resource 
name of
 >          john .  If there is a sub dataset of data/home/john/backups, it
 >          will then have a  resource name of john_backups.
 >
 >          When the "sharesmb" property is changed for  a  dataset,
 >          the dataset and any children inheriting the property are
 >          re-shared with the new options, only if the property was
 >          previously "off", or if they were shared before the pro-
 >          perty was changed. If the new  property  is  "off",  the
 >          file systems are unshared.
 >
 >
1491,1492c1523,1524
<          "sharenfs"  property.  File  systems are shared when the
<          "sharenfs" property is set.
---
 >          "sharenfs" and "sharesmb"  properties.  File  systems are
 >          shared when the "sharenfs" or "sharesmb" property is set.
1739a1772
 >        pool/home/bob  sharesmb       off                    default
...
 >       Example 19 Setting sharesmb property option on a ZFS file System
 >
 >       The following will share the file system over SMB with the resource
 >       name of tank_home
 >
 >       # zfs set sharesmb=on tank/home
 >
 >       The following will share the file system over SMB with the resource
 >       name of "share1"
 >
 >       # zfs set sharesmb=name=share1 tank/home
 >


From Timothy.Haley@sun.com Wed Oct  3 14:38:03 2007
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 l93Lc2FJ012008
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 3 Oct 2007 14:38:02 -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.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id l93LYnLL017983;
	Wed, 3 Oct 2007 22:34:51 +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 <0JPC0050NUM01R00@brm-avmta-1.central.sun.com>; Wed,
 03 Oct 2007 15:34:48 -0600 (MDT)
Received: from brmea-mail-3.sun.com ([192.18.98.34])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JPC003ELULZHN10@brm-avmta-1.central.sun.com>; Wed,
 03 Oct 2007 15:34:47 -0600 (MDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l93LYlKG007994; Wed,
 03 Oct 2007 21:34:47 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JPC00501TQX5O00@mail-amer.sun.com>
 (original mail from Timothy.Haley@Sun.COM); Wed,
 03 Oct 2007 15:34:47 -0600 (MDT)
Received: from dhcp-ubrm05-51-68.central.sun.com ([129.147.51.68])
 by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0JPC0084SULWTM60@mail-amer.sun.com>; Wed,
 03 Oct 2007 15:34:44 -0600 (MDT)
Date: Wed, 03 Oct 2007 15:34:44 -0600
From: Timothy Haley <Timothy.Haley@sun.com>
Subject: Re: ZFS sharesmb property [PSARC/2007/560 FastTrack timeout 10/03/2007]
In-reply-to: <200709262005.l8QK51wu005516@spidey.Central.Sun.COM>
Sender: Timothy.Haley@sun.com
To: Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>
Cc: PSARC-ext@sun.com, cifs-team@sun.com
Message-id: <47040AF4.2080801@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <200709262005.l8QK51wu005516@spidey.Central.Sun.COM>
User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728)
Status: RO
Content-Length: 61

This case was approved during today's PSARC meeting.

-tim



