Hello, I test right now the beauty of zfs. I have installed opensolaris on a spare server to test nfs exports. After creating tank1 with zpool and a subfilesystem with zfs tank1/nfsshare, I have set the option sharenfs=on to tank1/nfsshare. With Mac OS X as client I can mount the filesystem in Finder.app with nfs://server/tank1/nfsshare, but if I copy a file an error ocours. Finder say "The operation cannot be completed because you do not have sufficient privileges for some of the items.". Until now I have shared the filesystems always with samba so I have almost no experience with nfs. Any ideas? Kevin This message posted from opensolaris.org
Robert Milkowski
2007-Feb-07 23:11 UTC
[zfs-discuss] NFS share problem with mac os x client
Hello Kevin, Wednesday, February 7, 2007, 9:39:35 PM, you wrote: KB> Hello, I test right now the beauty of zfs. I have installed KB> opensolaris on a spare server to test nfs exports. After creating KB> tank1 with zpool and a subfilesystem with zfs tank1/nfsshare, I KB> have set the option sharenfs=on to tank1/nfsshare. KB> With Mac OS X as client I can mount the filesystem in Finder.app KB> with nfs://server/tank1/nfsshare, but if I copy a file an error KB> ocours. Finder say "The operation cannot be completed because you KB> do not have sufficient privileges for some of the items.". KB> Until now I have shared the filesystems always with samba so I KB> have almost no experience with nfs. Any ideas? In short - make sure your UID on Mac is enough to access the files on nfs (as it would be if you would try to access those files locally). Or perhaps you tried from user with uid=0 in which case it''s mapped to nobody user by default. -- Best regards, Robert mailto:rmilkowski at task.gda.pl http://milek.blogspot.com
The setup below works fine for me. macmini:~ jimb$ mount | grep jimb ride:/xraid2/home/jimb on /private/var/automount/home/jimb (nosuid, automounted) macmini:~ jimb$ nidump fstab / | grep jimb ride:/xraid2/home/jimb /home/jimb nfs rw,nosuid,tcp 0 0 NFS server: Solaris 10 11/06 x86_64 + patches, NFSv3. On the client there''s latest release MacOSX version + patches. This message posted from opensolaris.org
OSX *loves* NFS - it''s a lot faster than Samba - but you need a bit of extra work. You need a user on the other end with the right uid and gid (assuming you''re using NFSv3 - you probably are). Have a look at : http://number9.hellooperator.net/articles/2007/01/12/zfs-for-linux-and-osx-and-windows-and-bsd (especially the ''create a user'' bit). On 07/02/07, Kevin Bortis <wermut at gmail.com> wrote:> Hello, I test right now the beauty of zfs. I have installed opensolaris on a spare server to test nfs exports. After creating tank1 with zpool and a subfilesystem with zfs tank1/nfsshare, I have set the option sharenfs=on to tank1/nfsshare. > > With Mac OS X as client I can mount the filesystem in Finder.app with nfs://server/tank1/nfsshare, but if I copy a file an error ocours. Finder say "The operation cannot be completed because you do not have sufficient privileges for some of the items.". > > Until now I have shared the filesystems always with samba so I have almost no experience with nfs. Any ideas? > > Kevin > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/
Wes Williams
2007-Feb-08 16:11 UTC
[zfs-discuss] Re: NFS share problem with mac os x client
> In short - make sure your UID on Mac is enough to > access the files on > nfs (as it would be if you would try to access those > files locally). > Or perhaps you tried from user with uid=0 in which > case it''s mapped to > nobody user by default. > > -- > Best regards, > RobertExactly as Robert suggests. I''ve had the same "problem" but it turned out to simply be that I needed the OS X group and user ID''s to match those setup on the ZFS OpenSolaris server. Once you correct this, the Finder will work great to a ZFS NFS share. This message posted from opensolaris.org