<?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 setup</title>
	<atom:link href="http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/</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: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-17643</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 02 Apr 2011 18:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-17643</guid>
		<description>Hi Jim,

Are you using NFS or CIFS to make the shares available? I seem to recall that NFS writes (synchronous IIRC) are slow but I&#039;ll wait until you say which share method you are using.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Hi Jim,</p>
<p>Are you using NFS or CIFS to make the shares available? I seem to recall that NFS writes (synchronous IIRC) are slow but I&#8217;ll wait until you say which share method you are using.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-17641</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Mon, 28 Mar 2011 05:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-17641</guid>
		<description>Hey everyone, 

I am slogging it out with my Solaris Express 11 box connected to a Windows 7 machine via Infiniband (drool). The storage pool on the Solaris machine has 3 X 2tb Deskstar 7K3000, I 5gb log and 30 gb cache (cache and log are both on a sandforce ssd). Reads are incredibly fast and over much more that 150MB/s but writes are depressingly slow at 30mb/s (max). I have tried disabling de-dupe (no luck) and setting log priority to through put but neither of these settings help much. 

When I attempt a large write it starts of being quite speedy (100mb+) then drops off after a while (&lt;10gb). 

The system is running an i3 cpu with 8gb of ram. Running top show very little CPU usage (~20%), all but 800mb worth of ram but no swap.   

Any advice would be greatly appreciated. 

Kind Regards

Jim</description>
		<content:encoded><![CDATA[<p>Hey everyone, </p>
<p>I am slogging it out with my Solaris Express 11 box connected to a Windows 7 machine via Infiniband (drool). The storage pool on the Solaris machine has 3 X 2tb Deskstar 7K3000, I 5gb log and 30 gb cache (cache and log are both on a sandforce ssd). Reads are incredibly fast and over much more that 150MB/s but writes are depressingly slow at 30mb/s (max). I have tried disabling de-dupe (no luck) and setting log priority to through put but neither of these settings help much. </p>
<p>When I attempt a large write it starts of being quite speedy (100mb+) then drops off after a while (&lt;10gb). </p>
<p>The system is running an i3 cpu with 8gb of ram. Running top show very little CPU usage (~20%), all but 800mb worth of ram but no swap.   </p>
<p>Any advice would be greatly appreciated. </p>
<p>Kind Regards</p>
<p>Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-17170</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Thu, 10 Jun 2010 07:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-17170</guid>
		<description>Wow - cheers for all that info. I&#039;ll give it a go. thanks!</description>
		<content:encoded><![CDATA[<p>Wow &#8211; cheers for all that info. I&#8217;ll give it a go. thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-17169</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 08 Jun 2010 10:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-17169</guid>
		<description>Hi Shaky,

On my Mac, I have setup autofs to mount my NAS CIFS shares using the following method:

Add the following line to /etc/auto_master :

&lt;pre&gt;
/- auto_direct
&lt;/pre&gt;

Then create or edit /etc/auto_direct and include the following line for each share you wish to mount :

&lt;pre&gt;
# photo library
/Users/simon/nas/photo/photo -fstype=smbfs ://simon:password@192.168.1.3/photo
&lt;/pre&gt;

In my home directory (/Users/simon) on the Mac, I created a directory called &#039;nas&#039; and within that I created the &#039;photo&#039; directory. This &#039;photo&#039; directory is where autofs will create a mountpoint called &#039;photo&#039;.

I could have put all the mountpoints directly into the &#039;nas&#039; directory, but this had the nasty effect that any access to the /Users/simon/nas directory via the Finder caused the Mac&#039;s autofs to mount all CIFS shares listed in /etc/auto_direct, resulting in an annoyingly long delay before the Finder became responsive. The same problem occurred when opening or saving a file to the NAS from any application via the Finder open/save dialog window. Thus to eliminate this problem, I mounted each of the shares in separate individual directories, each one being one level below the &#039;nas&#039; directory. 

Later on, I had the idea to force autofs to mount all the shares when I logon to my Mac user account. I have a script which runs when I logon to my Mac user account. I called the script &#039;mount_shares&#039; and it&#039;s something like this:

&lt;pre&gt;
#!/bin/bash

printf &quot;\n&quot; &gt;&gt; /Users/simon/log/mount.log
date &gt;&gt; /Users/simon/log/mount.log

printf &quot;\nAttempt to mount photo:\n&quot; &gt;&gt; /Users/simon/log/mount.log
ls -l /Users/simon/nas/photo/photo &gt;&gt; /Users/simon/log/mount.log
&lt;/pre&gt;

The &#039;ls&#039; causes autofs to mount the share. Add a line like this to your &#039;mount_shares&#039; script and then make the script run automatically when you login by adding the script to the &#039;Login items&#039; of your user account in the &#039;Accounts&#039; section of System Preferences.

Finally, in order to ensure the autofs mounts stay mounted longer than the default 10 minutes, edit the /etc/autofs.conf and modify the timeout to something like this:

&lt;pre&gt;
Macintosh:etc simon$ cat autofs.conf
#
# This file is used to configure the automounter
#

# The number of seconds after which an automounted file system will
# be unmounted if it hasn&#039;t been referred to within that period of
# time.  The default is 10 minutes (600 seconds).
# This is equivalent to the -t option in automount(8).
AUTOMOUNT_TIMEOUT=360000
&lt;/pre&gt;

This causes autofs to mount the shares for 360000 seconds, or 100 hours.

Hope this helps.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Hi Shaky,</p>
<p>On my Mac, I have setup autofs to mount my NAS CIFS shares using the following method:</p>
<p>Add the following line to /etc/auto_master :</p>
<pre>
/- auto_direct
</pre>
<p>Then create or edit /etc/auto_direct and include the following line for each share you wish to mount :</p>
<pre>
# photo library
/Users/simon/nas/photo/photo -fstype=smbfs ://simon:password@192.168.1.3/photo
</pre>
<p>In my home directory (/Users/simon) on the Mac, I created a directory called &#8216;nas&#8217; and within that I created the &#8216;photo&#8217; directory. This &#8216;photo&#8217; directory is where autofs will create a mountpoint called &#8216;photo&#8217;.</p>
<p>I could have put all the mountpoints directly into the &#8216;nas&#8217; directory, but this had the nasty effect that any access to the /Users/simon/nas directory via the Finder caused the Mac&#8217;s autofs to mount all CIFS shares listed in /etc/auto_direct, resulting in an annoyingly long delay before the Finder became responsive. The same problem occurred when opening or saving a file to the NAS from any application via the Finder open/save dialog window. Thus to eliminate this problem, I mounted each of the shares in separate individual directories, each one being one level below the &#8216;nas&#8217; directory. </p>
<p>Later on, I had the idea to force autofs to mount all the shares when I logon to my Mac user account. I have a script which runs when I logon to my Mac user account. I called the script &#8216;mount_shares&#8217; and it&#8217;s something like this:</p>
<pre>
#!/bin/bash

printf "\n" >> /Users/simon/log/mount.log
date >> /Users/simon/log/mount.log

printf "\nAttempt to mount photo:\n" >> /Users/simon/log/mount.log
ls -l /Users/simon/nas/photo/photo >> /Users/simon/log/mount.log
</pre>
<p>The &#8216;ls&#8217; causes autofs to mount the share. Add a line like this to your &#8216;mount_shares&#8217; script and then make the script run automatically when you login by adding the script to the &#8216;Login items&#8217; of your user account in the &#8216;Accounts&#8217; section of System Preferences.</p>
<p>Finally, in order to ensure the autofs mounts stay mounted longer than the default 10 minutes, edit the /etc/autofs.conf and modify the timeout to something like this:</p>
<pre>
Macintosh:etc simon$ cat autofs.conf
#
# This file is used to configure the automounter
#

# The number of seconds after which an automounted file system will
# be unmounted if it hasn't been referred to within that period of
# time.  The default is 10 minutes (600 seconds).
# This is equivalent to the -t option in automount(8).
AUTOMOUNT_TIMEOUT=360000
</pre>
<p>This causes autofs to mount the shares for 360000 seconds, or 100 hours.</p>
<p>Hope this helps.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-17167</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Mon, 07 Jun 2010 15:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-17167</guid>
		<description>Can&#039;t get auto mount to work ... I came up with a workaround. I created an Automator workflow that connects to the shares, then you save the workflow as an application. Then add that application to login items.</description>
		<content:encoded><![CDATA[<p>Can&#8217;t get auto mount to work &#8230; I came up with a workaround. I created an Automator workflow that connects to the shares, then you save the workflow as an application. Then add that application to login items.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-17165</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 07 Jun 2010 11:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-17165</guid>
		<description>For setting permissions / ACLs on new file systems, via SSH or VNC on your client machine, you can use chown to change owner, and use &#039;zfs set&#039; to change the ACL properties -- e.g. something like:

&lt;pre&gt;
# zfs set aclinherit=passthrough tank/home/fred/photo
# zfs set aclmode=passthrough tank/home/fred/photo
# chmod A=\
owner@:rwxpdDaARWcCos:fd-----:allow,\
group@:rwxpdDaARWcCos:fd-----:allow,\
everyone@:rwxpdDaARWcCos:fd-----:deny \
/tank/home/fred/photo
# chown fred:fred /tank/home/fred/photo
# zfs set sharesmb=name=photo tank/home/fred/photo
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>For setting permissions / ACLs on new file systems, via SSH or VNC on your client machine, you can use chown to change owner, and use &#8216;zfs set&#8217; to change the ACL properties &#8212; e.g. something like:</p>
<pre>
# zfs set aclinherit=passthrough tank/home/fred/photo
# zfs set aclmode=passthrough tank/home/fred/photo
# chmod A=\
owner@:rwxpdDaARWcCos:fd-----:allow,\
group@:rwxpdDaARWcCos:fd-----:allow,\
everyone@:rwxpdDaARWcCos:fd-----:deny \
/tank/home/fred/photo
# chown fred:fred /tank/home/fred/photo
# zfs set sharesmb=name=photo tank/home/fred/photo
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-17163</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Sat, 05 Jun 2010 17:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-17163</guid>
		<description>Hi

re this part: 

&quot;Within the Solaris file manager UI, you may need to set the attributes within the ‘Permissions’ and ‘Access List’ tabs of the properties for the /test/home/simon directory. After that, you may need to restart the Solaris machine (or probably just restart relevant services), and possibly the client machine to ensure it gets the new properties for the share.&quot;

Is there any way to do that without the UI? My OSol box is not near a display :-(

Did the smb config etc and nothing is showing up in my /shares directory ...</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>re this part: </p>
<p>&#8220;Within the Solaris file manager UI, you may need to set the attributes within the ‘Permissions’ and ‘Access List’ tabs of the properties for the /test/home/simon directory. After that, you may need to restart the Solaris machine (or probably just restart relevant services), and possibly the client machine to ensure it gets the new properties for the share.&#8221;</p>
<p>Is there any way to do that without the UI? My OSol box is not near a display <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Did the smb config etc and nothing is showing up in my /shares directory &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-16911</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 23 Nov 2009 21:24:45 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-16911</guid>
		<description>Hi R.G.,

I don&#039;t regard myself as a UNIX/ZFS expert at all, but I&#039;m a self-taught user of Solaris &amp; ZFS, and have found that it does what I need very well, seems to be the best current storage solution, and it works -- oh yes, and it&#039;s free to those willing to learn and spend the time required to learn how to use it.

I can&#039;t say whether your proposed hardware will definitely work or not, as I&#039;m not familiar with the hardware.

You can check for your hardware on the Solaris HCL (hardware compatibility list).

However, 6 drives should be good for a data pool comprising capacity of 4 for data and 2 for parity (one RAID-Z2 vdev).

And 2 mirrored drives for a boot pool is also a good idea.

In general, Supermicro make excellent motherboards, and Intel chipsets are well-supported by Solaris.

As well as the HCL, try Googling for the various components including motherboard and solaris and see if there are any happy/sad users.

Just to answer directly your questions:
1. Yes, 2 pools are a good idea: (1) 2-drive mirror boot pool, and (2) multi-drive data pool using a single RAID-Z2 vdev for strong redundancy protection and simplicity of maintenance.
2. Six SATA ports for a RAID-Z2 vdev for your data pool are fine -- see 1.
3. You need to verify Solaris has a driver for that graphics hardware -- check the HCL or Google.
4. In general Intel ICHxx chipsets are well-supported by Solaris, as are their ethernet cards, although I have no personal experience with them, having gone for an AMD/NVidia setup with ECC memory.

Also, I would strongly recommend you use ECC memory, as ZFS is all about data integrity, and I don&#039;t think you want to write garbage, due to corrupted flipped bits in memory, to disk.

If any of the ZFS stuff on this site helps you to get a good working ZFS system up and running soon, then feel free to thank me by clicking on a &quot;Buy me a beer&quot; button I shall add soon :)

Good luck!

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Hi R.G.,</p>
<p>I don&#8217;t regard myself as a UNIX/ZFS expert at all, but I&#8217;m a self-taught user of Solaris &#038; ZFS, and have found that it does what I need very well, seems to be the best current storage solution, and it works &#8212; oh yes, and it&#8217;s free to those willing to learn and spend the time required to learn how to use it.</p>
<p>I can&#8217;t say whether your proposed hardware will definitely work or not, as I&#8217;m not familiar with the hardware.</p>
<p>You can check for your hardware on the Solaris HCL (hardware compatibility list).</p>
<p>However, 6 drives should be good for a data pool comprising capacity of 4 for data and 2 for parity (one RAID-Z2 vdev).</p>
<p>And 2 mirrored drives for a boot pool is also a good idea.</p>
<p>In general, Supermicro make excellent motherboards, and Intel chipsets are well-supported by Solaris.</p>
<p>As well as the HCL, try Googling for the various components including motherboard and solaris and see if there are any happy/sad users.</p>
<p>Just to answer directly your questions:<br />
1. Yes, 2 pools are a good idea: (1) 2-drive mirror boot pool, and (2) multi-drive data pool using a single RAID-Z2 vdev for strong redundancy protection and simplicity of maintenance.<br />
2. Six SATA ports for a RAID-Z2 vdev for your data pool are fine &#8212; see 1.<br />
3. You need to verify Solaris has a driver for that graphics hardware &#8212; check the HCL or Google.<br />
4. In general Intel ICHxx chipsets are well-supported by Solaris, as are their ethernet cards, although I have no personal experience with them, having gone for an AMD/NVidia setup with ECC memory.</p>
<p>Also, I would strongly recommend you use ECC memory, as ZFS is all about data integrity, and I don&#8217;t think you want to write garbage, due to corrupted flipped bits in memory, to disk.</p>
<p>If any of the ZFS stuff on this site helps you to get a good working ZFS system up and running soon, then feel free to thank me by clicking on a &#8220;Buy me a beer&#8221; button I shall add soon <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Good luck!</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: R.G.</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-16910</link>
		<dc:creator>R.G.</dc:creator>
		<pubDate>Mon, 23 Nov 2009 19:50:15 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-16910</guid>
		<description>I finally stumbled onto your blog, having search-educated myself into deciding I needed zfs, and that solaris/opensolaris was the way to get it.

I&#039;m a user-level *nix user from a ways back, and I&#039;m willing to do the brain work needed to get a server going, although I have no interest in using solaris or zfs as a hobby. I&#039;m trying to build a tool, and willing to do the work to get it. I have worked in the computer industry for a couple of decades, just not in this particular sub-part. As an uninformed person in this particular niche, knowing only what I&#039;ve read on line, could I get a quick glance over my shoulder for &quot;Will this work??&quot;

I&#039;m decided on a system like this:
- 6 1-TB SATA disks for the main pool
- 2 mirrored disks to boot the OS
- Xeon E3110 processor
- Supermicro X7SBL-LN1 motheboard
- add memory to budget

What I&#039;m looking for is some intelligent, experienced advice on the following questions, largely because I&#039;m a wimp about tossing out $1K without first checking to see if I have some chance of success. These are all in the &quot;I think it works, can you help me verify?&quot; category.
1. Is the mirrored boot disks separated from the main pool workable? 
2. Are six SATAs enough for raidz2?
3. Will the onboard XGI Z95 graphics serve to get the install/etc. done?
4. Does the Intel chipset (Intel 3200 + ICH9R + Intel 82573L)work with supported Solaris drivers?

I&#039;ve been hacking on this for about a month, and I ... think... this is a reasonable setup, but I&#039;s sure like some expert advice about any hidden gotchas before I start counting out the cash for it.

I&#039;d be eternally grateful, and owe any helpers much beer... 8-)</description>
		<content:encoded><![CDATA[<p>I finally stumbled onto your blog, having search-educated myself into deciding I needed zfs, and that solaris/opensolaris was the way to get it.</p>
<p>I&#8217;m a user-level *nix user from a ways back, and I&#8217;m willing to do the brain work needed to get a server going, although I have no interest in using solaris or zfs as a hobby. I&#8217;m trying to build a tool, and willing to do the work to get it. I have worked in the computer industry for a couple of decades, just not in this particular sub-part. As an uninformed person in this particular niche, knowing only what I&#8217;ve read on line, could I get a quick glance over my shoulder for &#8220;Will this work??&#8221;</p>
<p>I&#8217;m decided on a system like this:<br />
- 6 1-TB SATA disks for the main pool<br />
- 2 mirrored disks to boot the OS<br />
- Xeon E3110 processor<br />
- Supermicro X7SBL-LN1 motheboard<br />
- add memory to budget</p>
<p>What I&#8217;m looking for is some intelligent, experienced advice on the following questions, largely because I&#8217;m a wimp about tossing out $1K without first checking to see if I have some chance of success. These are all in the &#8220;I think it works, can you help me verify?&#8221; category.<br />
1. Is the mirrored boot disks separated from the main pool workable?<br />
2. Are six SATAs enough for raidz2?<br />
3. Will the onboard XGI Z95 graphics serve to get the install/etc. done?<br />
4. Does the Intel chipset (Intel 3200 + ICH9R + Intel 82573L)work with supported Solaris drivers?</p>
<p>I&#8217;ve been hacking on this for about a month, and I &#8230; think&#8230; this is a reasonable setup, but I&#8217;s sure like some expert advice about any hidden gotchas before I start counting out the cash for it.</p>
<p>I&#8217;d be eternally grateful, and owe any helpers much beer&#8230; <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-16903</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Thu, 19 Nov 2009 04:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-16903</guid>
		<description>Jay - for NFS, I didn&#039;t do anything other than use Disk Utility to mount the server

(in 10.6 you mount NFS via Disk Utility)</description>
		<content:encoded><![CDATA[<p>Jay &#8211; for NFS, I didn&#8217;t do anything other than use Disk Utility to mount the server</p>
<p>(in 10.6 you mount NFS via Disk Utility)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fai</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-16902</link>
		<dc:creator>fai</dc:creator>
		<pubDate>Wed, 18 Nov 2009 16:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-16902</guid>
		<description>Tried OpenSolaris snv_127 and CIFS working with Snow Leopard (10.6.2)</description>
		<content:encoded><![CDATA[<p>Tried OpenSolaris snv_127 and CIFS working with Snow Leopard (10.6.2)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-16878</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sun, 08 Nov 2009 00:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-16878</guid>
		<description>Thanks for the heads up Jay! So for any others who had this problem -- if you&#039;re using Snow Leopard, also upgrade your NAS to use OpenSolaris 2009.06 and everything should work fine. Good to know I can upgrade to Snow Leopard one day and not see this problem. </description>
		<content:encoded><![CDATA[<p>Thanks for the heads up Jay! So for any others who had this problem &#8212; if you&#8217;re using Snow Leopard, also upgrade your NAS to use OpenSolaris 2009.06 and everything should work fine. Good to know I can upgrade to Snow Leopard one day and not see this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-16876</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Sat, 07 Nov 2009 20:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-16876</guid>
		<description>Hey guys,
it&#039;s been a while for me, but thanks Simon for the ACL hint. Turns out, I forgot to set aclinherit and aclmode on the test pool I was using :).
Anyway, I came across this in my search for a solution to the Snow Leopard/CIFS/Finder -36 problem:
http://blogs.confusticate.com/jeremy/archives/2009/09/27/snow-leopard-and-opensolaris-nas-problem-solved/

It seems OS 2008.11 and 2009.06 differ somehow in the CIFS sharing, but I now upgraded my OpenSolaris box to 2009.06 and I am happy again ;) 
The Snow Leopard Mini can once again read and write normally to the shares, everything looks normal again.

Cheers,
Jay</description>
		<content:encoded><![CDATA[<p>Hey guys,<br />
it&#8217;s been a while for me, but thanks Simon for the ACL hint. Turns out, I forgot to set aclinherit and aclmode on the test pool I was using <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
Anyway, I came across this in my search for a solution to the Snow Leopard/CIFS/Finder -36 problem:<br />
<a href="http://blogs.confusticate.com/jeremy/archives/2009/09/27/snow-leopard-and-opensolaris-nas-problem-solved/" rel="nofollow">http://blogs.confusticate.com/jeremy/archives/2009/09/27/snow-leopard-and-opensolaris-nas-problem-solved/</a></p>
<p>It seems OS 2008.11 and 2009.06 differ somehow in the CIFS sharing, but I now upgraded my OpenSolaris box to 2009.06 and I am happy again <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
The Snow Leopard Mini can once again read and write normally to the shares, everything looks normal again.</p>
<p>Cheers,<br />
Jay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-16102</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sun, 27 Sep 2009 18:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-16102</guid>
		<description>Well guys, it seems there&#039;s a long thread on this problem of accessing SMB/CIFS shared files via Snow Leopard&#039;s Finder application here: &lt;a href=&quot;http://discussions.apple.com/thread.jspa?threadID=2135546&quot; rel=&quot;nofollow&quot;&gt;Topic : SMB -36 ioErr when opening files&lt;/a&gt;.

In that  forum thread, some people are mentioning trying to connect to SMB shares on non-ZFS systems, and some also mention use of the Samba software application, just to make things more complicated. I say this because, from a ZFS perspective, ZFS does not use Samba, but CIFS instead, which is much better than Samba, as its implementation of the SMB protocol is exactly the same as Microsoft uses, so emulates a Windows box much more accurately than the Samba software. At least this is my understanding based on the CIFS reading I have done. It makes use of CIFS preferable to using Samba software. Unfortunately, it seems many people use the terms Samba, SMB and CIFS interchangeably and this can also cause confusion.

Another thing that becomes apparent is that in Snow Leopard, Apple have modified the way it calculates a file&#039;s size. Now it seems they use the size on disk rather than the actual bytes consumed within the file itself, if the reports on that forum post are accurate... lots of separate problems seem be present, and I guess it will be a while before Apple is able/willing to devote resources to fixing all of these different issues. Glad I stuck with Leopard, and for anyone able to do so, it seems rolling back might be a sensible option. Unfortunately though, most people probably just upgraded their existing Leopard boot disk, so will be unable to &quot;roll back&quot;.</description>
		<content:encoded><![CDATA[<p>Well guys, it seems there&#8217;s a long thread on this problem of accessing SMB/CIFS shared files via Snow Leopard&#8217;s Finder application here: <a href="http://discussions.apple.com/thread.jspa?threadID=2135546" rel="nofollow">Topic : SMB -36 ioErr when opening files</a>.</p>
<p>In that  forum thread, some people are mentioning trying to connect to SMB shares on non-ZFS systems, and some also mention use of the Samba software application, just to make things more complicated. I say this because, from a ZFS perspective, ZFS does not use Samba, but CIFS instead, which is much better than Samba, as its implementation of the SMB protocol is exactly the same as Microsoft uses, so emulates a Windows box much more accurately than the Samba software. At least this is my understanding based on the CIFS reading I have done. It makes use of CIFS preferable to using Samba software. Unfortunately, it seems many people use the terms Samba, SMB and CIFS interchangeably and this can also cause confusion.</p>
<p>Another thing that becomes apparent is that in Snow Leopard, Apple have modified the way it calculates a file&#8217;s size. Now it seems they use the size on disk rather than the actual bytes consumed within the file itself, if the reports on that forum post are accurate&#8230; lots of separate problems seem be present, and I guess it will be a while before Apple is able/willing to devote resources to fixing all of these different issues. Glad I stuck with Leopard, and for anyone able to do so, it seems rolling back might be a sensible option. Unfortunately though, most people probably just upgraded their existing Leopard boot disk, so will be unable to &#8220;roll back&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-16095</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 26 Sep 2009 20:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-16095</guid>
		<description>Hi Jay,

I&#039;m still using Leopard, so I haven&#039;t yet experienced this problem, luckily.

To me, it sounds like they changed the way the permissions are working through the Finder application.

If you have time, give this a try, as this could be an ACL issue. Create a test file system such as tank/test, share it using the usual methods and then create a file in it from the NAS, and then try to view the file from the Mac&#039;s Finder application, then try to open the file via the Finder and edit the file, then try to save it. What happens? For setting a fully permissive ACL on the test file system, try the following, and let me know what you discover:

&lt;pre&gt;
# zfs set aclinherit=passthrough tank/test
# zfs set aclmode=passthrough tank/test
# chmod A=\
owner@:rwxpdDaARWcCos:fd-----:allow,\
group@:rwxpdDaARWcCos:fd-----:allow,\
everyone@:rwxpdDaARWcCos:fd-----:allow \
/tank/test
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Hi Jay,</p>
<p>I&#8217;m still using Leopard, so I haven&#8217;t yet experienced this problem, luckily.</p>
<p>To me, it sounds like they changed the way the permissions are working through the Finder application.</p>
<p>If you have time, give this a try, as this could be an ACL issue. Create a test file system such as tank/test, share it using the usual methods and then create a file in it from the NAS, and then try to view the file from the Mac&#8217;s Finder application, then try to open the file via the Finder and edit the file, then try to save it. What happens? For setting a fully permissive ACL on the test file system, try the following, and let me know what you discover:</p>
<pre>
# zfs set aclinherit=passthrough tank/test
# zfs set aclmode=passthrough tank/test
# chmod A=\
owner@:rwxpdDaARWcCos:fd-----:allow,\
group@:rwxpdDaARWcCos:fd-----:allow,\
everyone@:rwxpdDaARWcCos:fd-----:allow \
/tank/test
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-16091</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Sat, 26 Sep 2009 14:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-16091</guid>
		<description>hey simon, guys.
long-time listener, first-time caller ;)
i&#039;m having the same problems with opensolaris shares (OS 2008.11), 10.5.8 works, snow leopard (10.6.1) fails.
Mounting a share from the OS server works ok, i can browse and read files but when i try to copy a file to the share i get 
the &quot;error -36&quot; from the finder as well as &quot;smb_maperr32: no direct map for 32 bit server error (0xc00000e5)&quot; in the console. and it leaves a greyed-out &quot;foobar.txt&quot; file with 512 bytes size.
copying via terminal on the other hand works, no problems there.
things like setting the &quot;DSDontWriteNetworkStores&quot; default or mounting with &quot;cifs://&quot; instead of &quot;smb://&quot; make no difference.
i also tried switching to NFS, but no joy either - same symptoms as with cifs sharing - the mounted share can be browsed and read (even opening and editing an existing file works), but copying a file to the share via finder fails with the &quot;-36&quot;.
again, copying via terminal works.
shaky, you said NFS works for you? could you share your settings?

cheers,
jay</description>
		<content:encoded><![CDATA[<p>hey simon, guys.<br />
long-time listener, first-time caller <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
i&#8217;m having the same problems with opensolaris shares (OS 2008.11), 10.5.8 works, snow leopard (10.6.1) fails.<br />
Mounting a share from the OS server works ok, i can browse and read files but when i try to copy a file to the share i get<br />
the &#8220;error -36&#8243; from the finder as well as &#8220;smb_maperr32: no direct map for 32 bit server error (0xc00000e5)&#8221; in the console. and it leaves a greyed-out &#8220;foobar.txt&#8221; file with 512 bytes size.<br />
copying via terminal on the other hand works, no problems there.<br />
things like setting the &#8220;DSDontWriteNetworkStores&#8221; default or mounting with &#8220;cifs://&#8221; instead of &#8220;smb://&#8221; make no difference.<br />
i also tried switching to NFS, but no joy either &#8211; same symptoms as with cifs sharing &#8211; the mounted share can be browsed and read (even opening and editing an existing file works), but copying a file to the share via finder fails with the &#8220;-36&#8243;.<br />
again, copying via terminal works.<br />
shaky, you said NFS works for you? could you share your settings?</p>
<p>cheers,<br />
jay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fai</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-15771</link>
		<dc:creator>fai</dc:creator>
		<pubDate>Sun, 13 Sep 2009 17:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-15771</guid>
		<description>Oh, just see some similar post up there.
hum..</description>
		<content:encoded><![CDATA[<p>Oh, just see some similar post up there.<br />
hum..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fai</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-15770</link>
		<dc:creator>fai</dc:creator>
		<pubDate>Sun, 13 Sep 2009 17:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-15770</guid>
		<description>Hi Simon,
  Greeting from Hong Kong again. Recently, I&#039;ve upgrade my MacBookPro to 10.6 (more specific 10.6.1). But I found that I am not able to write files to my ZFS file server via SMB anymore. I can mount it, read it, but when i try to write files to the share via Finder, it said the disk cannot be write. But actually I can create folder, and save file to there via other program (e.g. TextEdit)

  So I have try to do it in Terminal, an error comes to me, said &quot;ould not copy extended attributes to /Volumes/share/filename: Input/output error
  The file actually wrote to the share, but seems the resource file cannot be create. I did some google search but no luck. You are one of the active blogger that using Mac + ZFS, so did you face this issue as well? Thanks for your feedback and advise.

Cheers,
Fai</description>
		<content:encoded><![CDATA[<p>Hi Simon,<br />
  Greeting from Hong Kong again. Recently, I&#8217;ve upgrade my MacBookPro to 10.6 (more specific 10.6.1). But I found that I am not able to write files to my ZFS file server via SMB anymore. I can mount it, read it, but when i try to write files to the share via Finder, it said the disk cannot be write. But actually I can create folder, and save file to there via other program (e.g. TextEdit)</p>
<p>  So I have try to do it in Terminal, an error comes to me, said &#8220;ould not copy extended attributes to /Volumes/share/filename: Input/output error<br />
  The file actually wrote to the share, but seems the resource file cannot be create. I did some google search but no luck. You are one of the active blogger that using Mac + ZFS, so did you face this issue as well? Thanks for your feedback and advise.</p>
<p>Cheers,<br />
Fai</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-15147</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 05 Sep 2009 14:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-15147</guid>
		<description>OK then. If all else fails, you could try the connection method shown here to see if you get more luck:
http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/
http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/</description>
		<content:encoded><![CDATA[<p>OK then. If all else fails, you could try the connection method shown here to see if you get more luck:<br />
<a href="http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/" rel="nofollow">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/</a><br />
<a href="http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/" rel="nofollow">http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-15145</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Sat, 05 Sep 2009 12:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-15145</guid>
		<description>I didn&#039;t ever set that up. Just used Finder-&gt;Connect to server.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t ever set that up. Just used Finder-&gt;Connect to server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-14862</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 02 Sep 2009 08:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-14862</guid>
		<description>Shaky, the link you quote refers to Samba, the software application, not the SMB/CIFS protocol:
http://spiralbound.net/2005/09/22/macintosh-finder-copy-to-samba-share-problem

So can you explain how you connect to your ZFS CIFS shares from your Mac, because this might be key to locating the issue.

Preferably, copy and paste the configuration lines that you use to access your shares, from /etc/auto* files.</description>
		<content:encoded><![CDATA[<p>Shaky, the link you quote refers to Samba, the software application, not the SMB/CIFS protocol:<br />
<a href="http://spiralbound.net/2005/09/22/macintosh-finder-copy-to-samba-share-problem" rel="nofollow">http://spiralbound.net/2005/09/22/macintosh-finder-copy-to-samba-share-problem</a></p>
<p>So can you explain how you connect to your ZFS CIFS shares from your Mac, because this might be key to locating the issue.</p>
<p>Preferably, copy and paste the configuration lines that you use to access your shares, from /etc/auto* files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-14832</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 01 Sep 2009 21:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-14832</guid>
		<description>Looks like Snow Leopard has changed some security aspects, esp. in Finder, because I assume you changed nothing on your Solaris ZFS NAS, just migrated from Leopard to Snow Leopard?

Once you debug the CIFS access problem it would be interesting to hear from you. In the meantime, thanks a lot for the info -- I&#039;m sticking with Leopard for now ;-)

If Apple had moved to ZFS root boot, you could&#039;ve just done a rollback to Leopard from Snow Leopard... with a one liner, well... assuming that Leopard itself had also used ZFS... come on Apple, time to move on up!</description>
		<content:encoded><![CDATA[<p>Looks like Snow Leopard has changed some security aspects, esp. in Finder, because I assume you changed nothing on your Solaris ZFS NAS, just migrated from Leopard to Snow Leopard?</p>
<p>Once you debug the CIFS access problem it would be interesting to hear from you. In the meantime, thanks a lot for the info &#8212; I&#8217;m sticking with Leopard for now <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>If Apple had moved to ZFS root boot, you could&#8217;ve just done a rollback to Leopard from Snow Leopard&#8230; with a one liner, well&#8230; assuming that Leopard itself had also used ZFS&#8230; come on Apple, time to move on up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-14804</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Tue, 01 Sep 2009 11:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-14804</guid>
		<description>Tried NFS and it works just fine. Not sure I can face trying the other options right now!</description>
		<content:encoded><![CDATA[<p>Tried NFS and it works just fine. Not sure I can face trying the other options right now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaky</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-14775</link>
		<dc:creator>shaky</dc:creator>
		<pubDate>Tue, 01 Sep 2009 03:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-14775</guid>
		<description>First impressions are good. I like the &#039;intra-app&#039; expose. Seems fast. Mail is super fast. 

I didn&#039;t have too much time to check it all out last night as I first tested the link to my ZFS server, which didn&#039;t work, so I spent the night troubleshooting that!

Anyway. ACLs look good. Mine just grant everything to everyone!

To recap:

I cannot copy from Mac SL to the ZFS pool shared via smb. Get the -36 error.
I can delete files via Finder
I can create new folders via Finder
I can copy via Terminal
Perms etc look good on the  file copied via Terminal from Mac and doing an ls -V on the Solaris box. I can read and write according to perms.
That file, when viewed in Finder cannot be opened, but can be played in the &quot;Get Info&quot; preview box
I can drag the greyed out file into iTunes
I can change metadata on that file via iTunes (i.e. write to the file)
I can play it through iTunes and AppleTV
I can write a file via TextEdit, for example, and it all looks good.
I can mount, read, copy, play from my MacBook on 10.5.8.
The time on my Solaris box had slipped to more than 5 mins from the time on my Mac, so I updated that. Can cause issues apparently.
I&#039;ve turned the firewall off. No change.
Only error I can see in the Mac logs that might be related:

smb_maperr32: no direct map for 32 bit server error (0xc00000e5)

Not sure what that is. Google pointed me at the time issue, which I&#039;ve fixed, but still get the error.

I found this:

http://spiralbound.net/2005/09/22/macintosh-finder-copy-to-samba-share-problem

Which seems to describe exactly what I am seeing.

Says that he set posix locking = no on his smb share and it was all good.

But I&#039;m not sure what this means:

&quot;Samba share is mounted over NFS on the server&quot;


I&#039;ve never really understood this output:

# sharemgr show -vp
default nfs=()
zfs nfs=()
    zfs/sandbox/fs1 smb=()
          sandbox_fs1=/sandbox/fs1


They have just set sharesmb … but why is nfs=() on? Is that what they mean by a samba share over NFS?

Anyway...

For that fix, you need to write an smb.conf file. i.e. not use sharesmb=yes via zfs commands. Not sure how they interact. i.e if you need to disable in zfs first?

I tried creating an smb.conf file and restarting the services. No idea how to tell if they read the new conf. So I rebooted. Now the mac wont connect at all. But, I&#039;ve come to the conclusion that if you change anything on the server side, it&#039;s best to reboot the mac.

By this time it was a little bit late!

To try:

zfs set sharesmb=off and test my smb.conf setup with public = yes first (read that this fixed one guys issue)
If that doesn&#039;t work, try with locking off
Try using samba instead of smb. They are not the same apparently.
Finally, try NFS again, but couldn&#039;t get that to work last night. It worked a year ago though.</description>
		<content:encoded><![CDATA[<p>First impressions are good. I like the &#8216;intra-app&#8217; expose. Seems fast. Mail is super fast. </p>
<p>I didn&#8217;t have too much time to check it all out last night as I first tested the link to my ZFS server, which didn&#8217;t work, so I spent the night troubleshooting that!</p>
<p>Anyway. ACLs look good. Mine just grant everything to everyone!</p>
<p>To recap:</p>
<p>I cannot copy from Mac SL to the ZFS pool shared via smb. Get the -36 error.<br />
I can delete files via Finder<br />
I can create new folders via Finder<br />
I can copy via Terminal<br />
Perms etc look good on the  file copied via Terminal from Mac and doing an ls -V on the Solaris box. I can read and write according to perms.<br />
That file, when viewed in Finder cannot be opened, but can be played in the &#8220;Get Info&#8221; preview box<br />
I can drag the greyed out file into iTunes<br />
I can change metadata on that file via iTunes (i.e. write to the file)<br />
I can play it through iTunes and AppleTV<br />
I can write a file via TextEdit, for example, and it all looks good.<br />
I can mount, read, copy, play from my MacBook on 10.5.8.<br />
The time on my Solaris box had slipped to more than 5 mins from the time on my Mac, so I updated that. Can cause issues apparently.<br />
I&#8217;ve turned the firewall off. No change.<br />
Only error I can see in the Mac logs that might be related:</p>
<p>smb_maperr32: no direct map for 32 bit server error (0xc00000e5)</p>
<p>Not sure what that is. Google pointed me at the time issue, which I&#8217;ve fixed, but still get the error.</p>
<p>I found this:</p>
<p><a href="http://spiralbound.net/2005/09/22/macintosh-finder-copy-to-samba-share-problem" rel="nofollow">http://spiralbound.net/2005/09/22/macintosh-finder-copy-to-samba-share-problem</a></p>
<p>Which seems to describe exactly what I am seeing.</p>
<p>Says that he set posix locking = no on his smb share and it was all good.</p>
<p>But I&#8217;m not sure what this means:</p>
<p>&#8220;Samba share is mounted over NFS on the server&#8221;</p>
<p>I&#8217;ve never really understood this output:</p>
<p># sharemgr show -vp<br />
default nfs=()<br />
zfs nfs=()<br />
    zfs/sandbox/fs1 smb=()<br />
          sandbox_fs1=/sandbox/fs1</p>
<p>They have just set sharesmb … but why is nfs=() on? Is that what they mean by a samba share over NFS?</p>
<p>Anyway&#8230;</p>
<p>For that fix, you need to write an smb.conf file. i.e. not use sharesmb=yes via zfs commands. Not sure how they interact. i.e if you need to disable in zfs first?</p>
<p>I tried creating an smb.conf file and restarting the services. No idea how to tell if they read the new conf. So I rebooted. Now the mac wont connect at all. But, I&#8217;ve come to the conclusion that if you change anything on the server side, it&#8217;s best to reboot the mac.</p>
<p>By this time it was a little bit late!</p>
<p>To try:</p>
<p>zfs set sharesmb=off and test my smb.conf setup with public = yes first (read that this fixed one guys issue)<br />
If that doesn&#8217;t work, try with locking off<br />
Try using samba instead of smb. They are not the same apparently.<br />
Finally, try NFS again, but couldn&#8217;t get that to work last night. It worked a year ago though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/comment-page-3/#comment-14747</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 31 Aug 2009 21:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/#comment-14747</guid>
		<description>Hi Shaky, that sounds bad. Let me know if you find the solution. I didn&#039;t upgrade to Snow Leopard yet, but might do sometime soon-ish. What&#039;s your impression of it so far? Regarding the CIFS issue, it sounds like it could perhaps be an ACL issue. You could try looking at the ACL info for a troublesome file (note upper and lower case &#039;v&#039;):

&lt;pre&gt;
-bash-3.2$ ls -V testfile1
-rwxrwx---+  1 fred    fred          0 May 10 21:30 testfile1
                 owner@:rwxpdDaARWcCos:------I:allow
                 group@:rwxpdDaARWcCos:------I:allow
              everyone@:rwxpdDaARWcCos:------I:deny
-bash-3.2$

or:

-bash-3.2$ ls -v testfile1
-rwxrwx---+  1 fred    fred          0 May 10 21:30 testfile1
     0:owner@:read_data/write_data/append_data/read_xattr/write_xattr/execute
         /delete_child/read_attributes/write_attributes/delete/read_acl
         /write_acl/write_owner/synchronize:inherited:allow
     1:group@:read_data/write_data/append_data/read_xattr/write_xattr/execute
         /delete_child/read_attributes/write_attributes/delete/read_acl
         /write_acl/write_owner/synchronize:inherited:allow
     2:everyone@:read_data/write_data/append_data/read_xattr/write_xattr
         /execute/delete_child/read_attributes/write_attributes/delete
         /read_acl/write_acl/write_owner/synchronize:inherited:deny
-bash-3.2$
&lt;/pre&gt;

More ACL info here:
http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Hi Shaky, that sounds bad. Let me know if you find the solution. I didn&#8217;t upgrade to Snow Leopard yet, but might do sometime soon-ish. What&#8217;s your impression of it so far? Regarding the CIFS issue, it sounds like it could perhaps be an ACL issue. You could try looking at the ACL info for a troublesome file (note upper and lower case &#8216;v&#8217;):</p>
<pre>
-bash-3.2$ ls -V testfile1
-rwxrwx---+  1 fred    fred          0 May 10 21:30 testfile1
                 owner@:rwxpdDaARWcCos:------I:allow
                 group@:rwxpdDaARWcCos:------I:allow
              everyone@:rwxpdDaARWcCos:------I:deny
-bash-3.2$

or:

-bash-3.2$ ls -v testfile1
-rwxrwx---+  1 fred    fred          0 May 10 21:30 testfile1
     0:owner@:read_data/write_data/append_data/read_xattr/write_xattr/execute
         /delete_child/read_attributes/write_attributes/delete/read_acl
         /write_acl/write_owner/synchronize:inherited:allow
     1:group@:read_data/write_data/append_data/read_xattr/write_xattr/execute
         /delete_child/read_attributes/write_attributes/delete/read_acl
         /write_acl/write_owner/synchronize:inherited:allow
     2:everyone@:read_data/write_data/append_data/read_xattr/write_xattr
         /execute/delete_child/read_attributes/write_attributes/delete
         /read_acl/write_acl/write_owner/synchronize:inherited:deny
-bash-3.2$
</pre>
<p>More ACL info here:<br />
<a href="http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/" rel="nofollow">http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/</a></p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
</channel>
</rss>

