<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Home Fileserver: ZFS File Systems</title>
	<atom:link href="http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/feed/" rel="self" type="application/rss+xml" />
	<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/</link>
	<description>Complexifying simplicity</description>
	<lastBuildDate>Fri, 04 Nov 2011 23:45:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MikeKlem</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17664</link>
		<dc:creator>MikeKlem</dc:creator>
		<pubDate>Sat, 11 Jun 2011 06:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17664</guid>
		<description>I&#039;m curious why you chose a single raidz configuration over multiple zpools.  You have your six drives available.  Why not create a four drive raidz for the media library data, then a two drive mirror for the home directory data?  I realize this imposes storage restrictions on how much space is available to each.  Part of the reasoning behind this configuration would be that as a backup solution, adding a third drive to the mirror, and once resilvered, keeping it off-site.</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious why you chose a single raidz configuration over multiple zpools.  You have your six drives available.  Why not create a four drive raidz for the media library data, then a two drive mirror for the home directory data?  I realize this imposes storage restrictions on how much space is available to each.  Part of the reasoning behind this configuration would be that as a backup solution, adding a third drive to the mirror, and once resilvered, keeping it off-site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raab</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17303</link>
		<dc:creator>raab</dc:creator>
		<pubDate>Fri, 29 Oct 2010 06:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17303</guid>
		<description>Nevermind, it appears /etc/passwd and /var/smb/smbpasswd were out of sync. /var/smb/smbpasswd had the wrong uid as I&#039;ve been creating/deleting users a bit through testing</description>
		<content:encoded><![CDATA[<p>Nevermind, it appears /etc/passwd and /var/smb/smbpasswd were out of sync. /var/smb/smbpasswd had the wrong uid as I&#8217;ve been creating/deleting users a bit through testing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raab</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17302</link>
		<dc:creator>raab</dc:creator>
		<pubDate>Fri, 29 Oct 2010 06:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17302</guid>
		<description>Hi there,

Firstly, thanks for the mountain of ZFS tips, has helped immensely.

I&#039;m in the process of building a NAS but firstly I&#039;m testing this all out on a VM. I&#039;m using Openindiana as I wanted native ZFS support.

I&#039;ve basically followed your steps above to the letter T however when I try and access the shares from either Mac OS X or Win7 by smb://media@storage/media or \\storage\media and typing in the username/password I can&#039;t access the share.

When I look at /var/adm/messages I get the following:
Oct 29 19:31:37 storage smbsrv: [ID 138215 kern.notice] NOTICE: smbd[STORAGE\guest]: media access denied: guest disabled

Why is it trying to access the share as guest even though I&#039;m logging in with media?

Cheers.</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Firstly, thanks for the mountain of ZFS tips, has helped immensely.</p>
<p>I&#8217;m in the process of building a NAS but firstly I&#8217;m testing this all out on a VM. I&#8217;m using Openindiana as I wanted native ZFS support.</p>
<p>I&#8217;ve basically followed your steps above to the letter T however when I try and access the shares from either Mac OS X or Win7 by smb://media@storage/media or \\storage\media and typing in the username/password I can&#8217;t access the share.</p>
<p>When I look at /var/adm/messages I get the following:<br />
Oct 29 19:31:37 storage smbsrv: [ID 138215 kern.notice] NOTICE: smbd[STORAGE\guest]: media access denied: guest disabled</p>
<p>Why is it trying to access the share as guest even though I&#8217;m logging in with media?</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17168</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 08 Jun 2010 09:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17168</guid>
		<description>Glad to hear it worked.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Glad to hear it worked.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17166</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Mon, 07 Jun 2010 12:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17166</guid>
		<description>I created a new filesystem, set the ACLs per your instructions, copied the files into the new fs and it all worked. Just took 30 hours to do the copy. Luckily I had enough spare space to duplicate.

cheers</description>
		<content:encoded><![CDATA[<p>I created a new filesystem, set the ACLs per your instructions, copied the files into the new fs and it all worked. Just took 30 hours to do the copy. Luckily I had enough spare space to duplicate.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17164</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 07 Jun 2010 11:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17164</guid>
		<description>I&#039;ve not seen the problem you mention.
For your old file system, your example shows what looks to be like all permissions allowed for owner, group and everyone.
So perhaps you just had undesirable ACLs setup for this old file system? The fix might be to review what you want and then check it out by cloning the old file system, then setting the &#039;right&#039; file system properties (aclmode, aclinherit etc), on the clone, then resetting the ACLs for each directory and file within the clone.

Another slight possibility is that there&#039;s a problem of zfs version for the old file system, but that sounds less likely than what I mentioned above.

ZFS has pool versions and file system versions.
See here for version information:
http://docs.sun.com/app/docs/doc/819-5461/appendixa-1?a=view

Let me know if you discover anything.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>I&#8217;ve not seen the problem you mention.<br />
For your old file system, your example shows what looks to be like all permissions allowed for owner, group and everyone.<br />
So perhaps you just had undesirable ACLs setup for this old file system? The fix might be to review what you want and then check it out by cloning the old file system, then setting the &#8216;right&#8217; file system properties (aclmode, aclinherit etc), on the clone, then resetting the ACLs for each directory and file within the clone.</p>
<p>Another slight possibility is that there&#8217;s a problem of zfs version for the old file system, but that sounds less likely than what I mentioned above.</p>
<p>ZFS has pool versions and file system versions.<br />
See here for version information:<br />
<a href="http://docs.sun.com/app/docs/doc/819-5461/appendixa-1?a=view" rel="nofollow">http://docs.sun.com/app/docs/doc/819-5461/appendixa-1?a=view</a></p>
<p>Let me know if you discover anything.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17162</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Fri, 04 Jun 2010 12:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17162</guid>
		<description>It&#039;s something to do with the perms and the old user. If I create a new filesystem, share, user (your fred example) it all works - and I get 45MB/s

So something is up with my old pool permissions.</description>
		<content:encoded><![CDATA[<p>It&#8217;s something to do with the perms and the old user. If I create a new filesystem, share, user (your fred example) it all works &#8211; and I get 45MB/s</p>
<p>So something is up with my old pool permissions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17161</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Fri, 04 Jun 2010 11:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17161</guid>
		<description>It&#039;s strange. This are my perms:

james@dusky:/tank# ls -dV pool
drwxrwxrwx+  5 james    james          8 May  2 21:12 pool
                 owner@:rwxpdDaARWcCos:fd-----:allow
                 group@:rwxpdDaARWcCos:fd-----:allow
              everyone@:rwxpdDaARWcCos:fd-----:allow</description>
		<content:encoded><![CDATA[<p>It&#8217;s strange. This are my perms:</p>
<p>james@dusky:/tank# ls -dV pool<br />
drwxrwxrwx+  5 james    james          8 May  2 21:12 pool<br />
                 owner@:rwxpdDaARWcCos:fd&#8212;&#8211;:allow<br />
                 group@:rwxpdDaARWcCos:fd&#8212;&#8211;:allow<br />
              everyone@:rwxpdDaARWcCos:fd&#8212;&#8211;:allow</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17160</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Fri, 04 Jun 2010 03:02:20 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17160</guid>
		<description>Very strange - I upgraded to 2009.06 (so much smoother than my previous experiences!)

I&#039;m going to create a new filesystem and try that out.</description>
		<content:encoded><![CDATA[<p>Very strange &#8211; I upgraded to 2009.06 (so much smoother than my previous experiences!)</p>
<p>I&#8217;m going to create a new filesystem and try that out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17159</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Thu, 03 Jun 2010 18:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17159</guid>
		<description>Hi Shaky, no not seen that one before. I&#039;m using CIFS shares and using ACLs as per above and haven&#039;t seen this problem before.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Hi Shaky, no not seen that one before. I&#8217;m using CIFS shares and using ACLs as per above and haven&#8217;t seen this problem before.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17158</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Tue, 01 Jun 2010 17:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17158</guid>
		<description>Hi

Does this sound like something you have come across before:

When I mount my ZFS shares to my Mac over NFS - I can list and write. When I mount over CIFS - I can write but not list the current files.

thanks</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Does this sound like something you have come across before:</p>
<p>When I mount my ZFS shares to my Mac over NFS &#8211; I can list and write. When I mount over CIFS &#8211; I can write but not list the current files.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William David Armstrong</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17129</link>
		<dc:creator>William David Armstrong</dc:creator>
		<pubDate>Thu, 25 Mar 2010 00:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17129</guid>
		<description>I resolve this issue configuring in this form :

chmod -R A=\
owner@:rwxpdDaARWcCos:fd-----:allow,\
group@:rwxpdDaARWcCos:fd-----:allow,\
everyone@:-wxpdDaARWcCos:fd-----:allow \
/raid5

I allow everyone for all users, if user is in valid group he can list a directory,
 
I know this is not a best form to resolve this but a windows office 2007 and 2003 is is working fine now.</description>
		<content:encoded><![CDATA[<p>I resolve this issue configuring in this form :</p>
<p>chmod -R A=\<br />
owner@:rwxpdDaARWcCos:fd&#8212;&#8211;:allow,\<br />
group@:rwxpdDaARWcCos:fd&#8212;&#8211;:allow,\<br />
everyone@:-wxpdDaARWcCos:fd&#8212;&#8211;:allow \<br />
/raid5</p>
<p>I allow everyone for all users, if user is in valid group he can list a directory,</p>
<p>I know this is not a best form to resolve this but a windows office 2007 and 2003 is is working fine now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William David Armstrong</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17126</link>
		<dc:creator>William David Armstrong</dc:creator>
		<pubDate>Tue, 23 Mar 2010 20:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17126</guid>
		<description>I have a estrange behavior on SVN_124 a go to OpenSolaris svn_134. I try set set a simple server for a hybrid MAC and windows XP on same LAN and access a a same server via CIFS and same configurations on your&#039;s manual.

But a have a issue on file is create from windows XP a initial set of attributes and ACL is set 
Ok

id finance
uid=104(finance) gid=101(jamute)
groups finance
jamute publico fdocs financ

-rwxrwx---+  1 finance  jamute     49664 mar 23  2010 Ficha_SPOT_ALLIANZ_troca_loc2.xls
                 owner@:rwxpdDaARWcCos:------I:allow
                 group@:rwxpdDaARWcCos:------I:allow
              everyone@:rwxpdDaARWcCos:------I:deny

Now a get access from Mac OS X 10.5 open a file on Excel:MAC 2008 modify a file and save in same name. the file continue ok attrib&#039;s and acl

-rwxrwx---+  1 coordena  jamute     49692 mar 23  2010 Ficha_SPOT_ALLIANZ_troca_loc2.xls
                 owner@:rwxpdDaARWcCos:------I:allow
                 group@:rwxpdDaARWcCos:------I:allow
              everyone@:rwxpdDaARWcCos:------I:deny

try access again via Windows XP and modify a file again and save. but now a attributes are vanished and acl continue Ok.

----------+  1 finance  jamute     49975 mar 23  2010 Ficha_SPOT_ALLIANZ_troca_loc2.xls
                 owner@:rwxpdDaARWcCos:------I:allow
                 group@:rwxpdDaARWcCos:------I:allow
              everyone@:rwxpdDaARWcCos:------I:deny

I can&#039;t access a file from MAC.

always access via CIFS.

a zfs set is same on this manual

===================================================================
raid5  aclmode               passthrough            local
raid5  aclinherit            passthrough            local

===================================================================
raid5/Financeiro  aclmode               passthrough            inherited from raid5
raid5/Financeiro  aclinherit            passthrough            inherited from raid5
raid5/Financeiro  casesensitivity       mixed                  -
raid5/Financeiro  sharesmb              name=Financeiro        local</description>
		<content:encoded><![CDATA[<p>I have a estrange behavior on SVN_124 a go to OpenSolaris svn_134. I try set set a simple server for a hybrid MAC and windows XP on same LAN and access a a same server via CIFS and same configurations on your&#8217;s manual.</p>
<p>But a have a issue on file is create from windows XP a initial set of attributes and ACL is set<br />
Ok</p>
<p>id finance<br />
uid=104(finance) gid=101(jamute)<br />
groups finance<br />
jamute publico fdocs financ</p>
<p>-rwxrwx&#8212;+  1 finance  jamute     49664 mar 23  2010 Ficha_SPOT_ALLIANZ_troca_loc2.xls<br />
                 owner@:rwxpdDaARWcCos:&#8212;&#8212;I:allow<br />
                 group@:rwxpdDaARWcCos:&#8212;&#8212;I:allow<br />
              everyone@:rwxpdDaARWcCos:&#8212;&#8212;I:deny</p>
<p>Now a get access from Mac OS X 10.5 open a file on Excel:MAC 2008 modify a file and save in same name. the file continue ok attrib&#8217;s and acl</p>
<p>-rwxrwx&#8212;+  1 coordena  jamute     49692 mar 23  2010 Ficha_SPOT_ALLIANZ_troca_loc2.xls<br />
                 owner@:rwxpdDaARWcCos:&#8212;&#8212;I:allow<br />
                 group@:rwxpdDaARWcCos:&#8212;&#8212;I:allow<br />
              everyone@:rwxpdDaARWcCos:&#8212;&#8212;I:deny</p>
<p>try access again via Windows XP and modify a file again and save. but now a attributes are vanished and acl continue Ok.</p>
<p>&#8212;&#8212;&#8212;-+  1 finance  jamute     49975 mar 23  2010 Ficha_SPOT_ALLIANZ_troca_loc2.xls<br />
                 owner@:rwxpdDaARWcCos:&#8212;&#8212;I:allow<br />
                 group@:rwxpdDaARWcCos:&#8212;&#8212;I:allow<br />
              everyone@:rwxpdDaARWcCos:&#8212;&#8212;I:deny</p>
<p>I can&#8217;t access a file from MAC.</p>
<p>always access via CIFS.</p>
<p>a zfs set is same on this manual</p>
<p>===================================================================<br />
raid5  aclmode               passthrough            local<br />
raid5  aclinherit            passthrough            local</p>
<p>===================================================================<br />
raid5/Financeiro  aclmode               passthrough            inherited from raid5<br />
raid5/Financeiro  aclinherit            passthrough            inherited from raid5<br />
raid5/Financeiro  casesensitivity       mixed                  -<br />
raid5/Financeiro  sharesmb              name=Financeiro        local</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17021</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sun, 31 Jan 2010 21:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17021</guid>
		<description>Thanks Christoph. It&#039;s a while back now and I can&#039;t remember, but I think I set  “casesensitivity=mixed” when I was setting up the file system that was to be used for a Windows user.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Thanks Christoph. It&#8217;s a while back now and I can&#8217;t remember, but I think I set  “casesensitivity=mixed” when I was setting up the file system that was to be used for a Windows user.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph Jahn</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-17016</link>
		<dc:creator>Christoph Jahn</dc:creator>
		<pubDate>Sat, 30 Jan 2010 07:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-17016</guid>
		<description>All your ZFS stuff is very nice, thanks for this.

I was just going over this post again, as I am currently changing my file system structure. What strikes me is that only in one place you create the file system with &quot;casesensitivity=mixed&quot;. Is there any particular reason for that?

FYI: It seems that with snv_131 the &quot;set sharesmb=name=xxxxx&quot; is broken.

Cheers,
Christoph</description>
		<content:encoded><![CDATA[<p>All your ZFS stuff is very nice, thanks for this.</p>
<p>I was just going over this post again, as I am currently changing my file system structure. What strikes me is that only in one place you create the file system with &#8220;casesensitivity=mixed&#8221;. Is there any particular reason for that?</p>
<p>FYI: It seems that with snv_131 the &#8220;set sharesmb=name=xxxxx&#8221; is broken.</p>
<p>Cheers,<br />
Christoph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-16896</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 14 Nov 2009 00:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-16896</guid>
		<description>Thanks Bart.

When you boot your client OS, such as Windows, Mac OS or Linux etc, you need to connect to the shared media file systems using the &#039;media&#039; user.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Thanks Bart.</p>
<p>When you boot your client OS, such as Windows, Mac OS or Linux etc, you need to connect to the shared media file systems using the &#8216;media&#8217; user.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-16887</link>
		<dc:creator>Bart</dc:creator>
		<pubDate>Tue, 10 Nov 2009 12:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-16887</guid>
		<description>Hi Simon,

Thanks for this great guide for a linux starter like me! I still have one problem: i created a user - like Fred. But everything Fred creates in the media-filesystem is not visible for other users (like wilma), because the files are owned by Fred and the group is also Fred (instead of the media group). How can i change this, so that everything Fred does in the media-filesystem is created with group media ?

Many thanks,
Bart</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>Thanks for this great guide for a linux starter like me! I still have one problem: i created a user &#8211; like Fred. But everything Fred creates in the media-filesystem is not visible for other users (like wilma), because the files are owned by Fred and the group is also Fred (instead of the media group). How can i change this, so that everything Fred does in the media-filesystem is created with group media ?</p>
<p>Many thanks,<br />
Bart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: svrocket</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-16798</link>
		<dc:creator>svrocket</dc:creator>
		<pubDate>Thu, 22 Oct 2009 05:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-16798</guid>
		<description>Simon,

fascinating ACL writeup, it looks daunting. In my shop they did it bass-ackwards and windows is the (normal) SMB server and NFS server. My sun boxes are the dummy nfs clients. I&#039;m thinking of reversing the roles and making opensolaris the cifs/smb server, and nixing the nfs. 

But what I wanted to comment on, was &quot;setting ‘copies’ attribute to 2&quot; ZFS. Dude - zfs snapshot trump copies=x. zfs clones trump snapshots. zfs SEND to another opensolaris server or offsite trumps clones.

ps - your captachas are too hard!</description>
		<content:encoded><![CDATA[<p>Simon,</p>
<p>fascinating ACL writeup, it looks daunting. In my shop they did it bass-ackwards and windows is the (normal) SMB server and NFS server. My sun boxes are the dummy nfs clients. I&#8217;m thinking of reversing the roles and making opensolaris the cifs/smb server, and nixing the nfs. </p>
<p>But what I wanted to comment on, was &#8220;setting ‘copies’ attribute to 2&#8243; ZFS. Dude &#8211; zfs snapshot trump copies=x. zfs clones trump snapshots. zfs SEND to another opensolaris server or offsite trumps clones.</p>
<p>ps &#8211; your captachas are too hard!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-12086</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Thu, 23 Jul 2009 18:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-12086</guid>
		<description>Hi fyleow,

Thanks for the info. If you mount the shares for (1) tank/home/fred/projects, (2) tank/home/fred/photo &amp; (3) tank/home/fred/video as three separate shares on the client OS then it works fine, at least it works fine for me.

Simon</description>
		<content:encoded><![CDATA[<p>Hi fyleow,</p>
<p>Thanks for the info. If you mount the shares for (1) tank/home/fred/projects, (2) tank/home/fred/photo &#038; (3) tank/home/fred/video as three separate shares on the client OS then it works fine, at least it works fine for me.</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fyleow</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-12069</link>
		<dc:creator>fyleow</dc:creator>
		<pubDate>Thu, 23 Jul 2009 04:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-12069</guid>
		<description>Hi Simon,

Sorry about that I did a hack job of copy and pasting. It turns out that what I&#039;m describing is a known limitation in ZFS.

If I create a series of file systems like your fred example and navigate to the parent fred file system over the share (/tank/home/fred) I can only have read/write access to that file system. I will still see the mounted child file systems (e.g. /tank/home/fred/projects) as folders but if I try to read/write to them I will get an access denied message.

Anyway this bug report filed explains it much better than I can. 

http://bugs.opensolaris.org/view_bug.do?bug_id=6820940</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>Sorry about that I did a hack job of copy and pasting. It turns out that what I&#8217;m describing is a known limitation in ZFS.</p>
<p>If I create a series of file systems like your fred example and navigate to the parent fred file system over the share (/tank/home/fred) I can only have read/write access to that file system. I will still see the mounted child file systems (e.g. /tank/home/fred/projects) as folders but if I try to read/write to them I will get an access denied message.</p>
<p>Anyway this bug report filed explains it much better than I can. </p>
<p><a href="http://bugs.opensolaris.org/view_bug.do?bug_id=6820940" rel="nofollow">http://bugs.opensolaris.org/view_bug.do?bug_id=6820940</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-11923</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sun, 19 Jul 2009 10:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-11923</guid>
		<description>Hi fyleow,

I updated your original comment with your corrections.

A couple of points:

1. I presume you are using SMB/CIFS protocol from your client computer to connect to your shares, and not the actual Samba software which is a free software re-implementation of SMB/CIFS networking protocol?

2. Also, it appears that the &#039;zfs set sharesmb=name=fyleow&#039; within the two blocks above are identical. I presume this is a typo and you have, in fact, used different names for your shares -- e.g.:
zfs set sharesmb=name=fyleow tank/home/fyleow
zfs set sharesmb=name=fyleow_music tank/home/fyleow/music</description>
		<content:encoded><![CDATA[<p>Hi fyleow,</p>
<p>I updated your original comment with your corrections.</p>
<p>A couple of points:</p>
<p>1. I presume you are using SMB/CIFS protocol from your client computer to connect to your shares, and not the actual Samba software which is a free software re-implementation of SMB/CIFS networking protocol?</p>
<p>2. Also, it appears that the &#8216;zfs set sharesmb=name=fyleow&#8217; within the two blocks above are identical. I presume this is a typo and you have, in fact, used different names for your shares &#8212; e.g.:<br />
zfs set sharesmb=name=fyleow tank/home/fyleow<br />
zfs set sharesmb=name=fyleow_music tank/home/fyleow/music</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fyleow</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-11898</link>
		<dc:creator>fyleow</dc:creator>
		<pubDate>Sat, 18 Jul 2009 23:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-11898</guid>
		<description>Whoops a few typos in my post. That should read tank/home/fyleow/music and the chmod on the commands should be /tank/home/fyleow/music on the second set.</description>
		<content:encoded><![CDATA[<p>Whoops a few typos in my post. That should read tank/home/fyleow/music and the chmod on the commands should be /tank/home/fyleow/music on the second set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fyleow</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-11896</link>
		<dc:creator>fyleow</dc:creator>
		<pubDate>Sat, 18 Jul 2009 23:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-11896</guid>
		<description>Hi Simon,

I set up something in a VM using your guide but I&#039;m having trouble with samba. I use OS X 10.5 to access the shares I have set up which are tank/home/fyleow and tank/home/fyleow/music. I use finder to mount tank/home/fyleow and I can see the music directory, but I cannot read or write to it. In order to read and write to music I have to mount tank/home/fyleow/music separately. Any idea what might be the issue here? I don&#039;t want to have to mount each file system under /tank/home/fyleow individually.

I created the following file systems:

zfs create tank/home
zfs create tank/home/fyleow
zfs create tank/home/fyleow/music

Then I applied the following

zfs set aclinherit=passthrough tank/home/fyleow
zfs set aclmode=passthrough tank/home/fyleow
chmod A=owner@:rwxpdDaARWcCos:fd-----:allow,group@:rwxpdDaARWcCos:fd-----:allow,everyone@:rwxpdDaARWcCos:fd-----:deny     /tank/home/fyleow/
chown fyleow:fyleow /tank/home/fyleow
zfs set sharesmb=name=fyleow tank/home/fyleow

zfs set aclinherit=passthrough tank/home/fyleow/music
zfs set aclmode=passthrough tank/home/fyleow/music
chmod A=owner@:rwxpdDaARWcCos:fd-----:allow,group@:rwxpdDaARWcCos:fd-----:allow,everyone@:rwxpdDaARWcCos:fd-----:deny     /tank/home/fyleow/music
chown fyleow:fyleow /tank/home/fyleow/music
zfs set sharesmb=name=fyleow tank/home/fyleow/music</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>I set up something in a VM using your guide but I&#8217;m having trouble with samba. I use OS X 10.5 to access the shares I have set up which are tank/home/fyleow and tank/home/fyleow/music. I use finder to mount tank/home/fyleow and I can see the music directory, but I cannot read or write to it. In order to read and write to music I have to mount tank/home/fyleow/music separately. Any idea what might be the issue here? I don&#8217;t want to have to mount each file system under /tank/home/fyleow individually.</p>
<p>I created the following file systems:</p>
<p>zfs create tank/home<br />
zfs create tank/home/fyleow<br />
zfs create tank/home/fyleow/music</p>
<p>Then I applied the following</p>
<p>zfs set aclinherit=passthrough tank/home/fyleow<br />
zfs set aclmode=passthrough tank/home/fyleow<br />
chmod A=owner@:rwxpdDaARWcCos:fd&#8212;&#8211;:allow,group@:rwxpdDaARWcCos:fd&#8212;&#8211;:allow,everyone@:rwxpdDaARWcCos:fd&#8212;&#8211;:deny     /tank/home/fyleow/<br />
chown fyleow:fyleow /tank/home/fyleow<br />
zfs set sharesmb=name=fyleow tank/home/fyleow</p>
<p>zfs set aclinherit=passthrough tank/home/fyleow/music<br />
zfs set aclmode=passthrough tank/home/fyleow/music<br />
chmod A=owner@:rwxpdDaARWcCos:fd&#8212;&#8211;:allow,group@:rwxpdDaARWcCos:fd&#8212;&#8211;:allow,everyone@:rwxpdDaARWcCos:fd&#8212;&#8211;:deny     /tank/home/fyleow/music<br />
chown fyleow:fyleow /tank/home/fyleow/music<br />
zfs set sharesmb=name=fyleow tank/home/fyleow/music</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-11260</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 06 Jul 2009 14:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-11260</guid>
		<description>Thanks Brad, you spotted my omission :) Yes, I forgot to complete that part. I think what I was going to do additionally to the irreplaceable user-created content file system was to set the &#039;copies&#039; attribute to 2, so that ZFS would create two copies of each file stored in this file system to further reduce chance of data loss. Set the copies attribute to the value of 3 for maximum protection. Thanks for pointing that out!

Cheers,
Simon

&lt;pre&gt;
# zfs set copies=2 tank/home/fred/photo
# zfs set copies=2 tank/home/fred/video
# zfs set copies=2 tank/home/fred/projects
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Thanks Brad, you spotted my omission <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Yes, I forgot to complete that part. I think what I was going to do additionally to the irreplaceable user-created content file system was to set the &#8216;copies&#8217; attribute to 2, so that ZFS would create two copies of each file stored in this file system to further reduce chance of data loss. Set the copies attribute to the value of 3 for maximum protection. Thanks for pointing that out!</p>
<p>Cheers,<br />
Simon</p>
<pre>
# zfs set copies=2 tank/home/fred/photo
# zfs set copies=2 tank/home/fred/video
# zfs set copies=2 tank/home/fred/projects
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/comment-page-1/#comment-11231</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sun, 05 Jul 2009 19:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/?p=134#comment-11231</guid>
		<description>Simon,

Early in the post you seem to emphasize the relevance of the media filesystems as being replacable and the home filesystems as being irreplacable, but I don&#039;t see any different in their creation except for access controls.

Can you expand on how else they are treated differently, or at least tell me what I&#039;m missing?

Thanks</description>
		<content:encoded><![CDATA[<p>Simon,</p>
<p>Early in the post you seem to emphasize the relevance of the media filesystems as being replacable and the home filesystems as being irreplacable, but I don&#8217;t see any different in their creation except for access controls.</p>
<p>Can you expand on how else they are treated differently, or at least tell me what I&#8217;m missing?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

