Problem with NFS sharing of ZFS volume

This forum is to find answers to problems you may be having with ZEVO Community Edition.

Moderators: jhartley, MSR734, nola

Problem with NFS sharing of ZFS volume

Post by ItIsMe » Mon Oct 01, 2012 9:59 am

Hello,

I am using ZEVO 1.1.1 on a MacPro with Lion Server 10.7.5.
I configured /etc/exports to export a ZFS file system from that 10.7.5 server, as I did on the same server for sharing some folder from a Journaled case-sensitive HFS+ volume.
On a client system (either 10.6.8 or 10.7.5 give same observations), I have no problem mounting the NFS shares from the server. However, when I create folders (within a session on the client) on the NFS shares, I observe a problem with owner and authorizations for the NFS share associated with the ZFS volume, that I do not have with the NFS share associated with a folder on the HFS+ volume:
- I log on a client as a standard user (the 10.7.5 server and the clients use a 10.6.8 Snow Leopard Server for OD authentication)
- In a terminal, I 'cd' to some folder within the NFS share where I have right to create directories.
- I 'mkdir Test' : the directory is created with owner root. I can 'rmdir' it. (?)
- Doing the same on an NFS share exported from an HFS+ volume gives me a 'Test' directory correctly belonging to my uid.

On the server, the ZFS point exported over NFS has the same rwx settings as the HFS+ folder also exported over NFS.

Any idea what is causing this ownership / authorization problem when accessing the NFS-shared ZFS volume?

Thank you in advance for any help.
ItIsMe Offline


 
Posts: 2
Joined: Sat Sep 15, 2012 9:25 am

Re: Problem with NFS sharing of ZFS volume

Post by mk01 » Tue Nov 20, 2012 3:06 pm

do you have zfs case sensitive ?
mk01 Offline


 
Posts: 65
Joined: Mon Sep 17, 2012 1:16 am

Re: Problem with NFS sharing of ZFS volume

Post by ItIsMe » Wed Nov 21, 2012 2:53 am

Yes, it is case sensitive (it is by default, and I checked it was indeed case sensitive).
ItIsMe Offline


 
Posts: 2
Joined: Sat Sep 15, 2012 9:25 am

Re: Problem with NFS sharing of ZFS volume

Post by mk01 » Wed Nov 21, 2012 3:24 am

insensitive is the way to go - until fixed.

at least works for me.
mk01 Offline


 
Posts: 65
Joined: Mon Sep 17, 2012 1:16 am

Re: Problem with NFS sharing of ZFS volume

Post by grero1980 » Tue Dec 04, 2012 10:50 pm

I'm having the same problem, and using casesensitivity=insensitive does not work for me. When I create a file under a directory shared via NFS, its owner is root regardless of which user actually created it. I'm using the latest ZEVO (1.1.1).
grero1980 Offline


 
Posts: 1
Joined: Sat Sep 15, 2012 7:47 am

Re: Problem with NFS sharing of ZFS volume

Post by mk01 » Wed Dec 05, 2012 6:08 am

I can't reproduce as well.

Anyhow, I created a separated topic, with exact steps to see the issue - and second issue with zfs root exporting (via NFS).
viewtopic.php?p=3306#p3306

br,
Matus
mk01 Offline


 
Posts: 65
Joined: Mon Sep 17, 2012 1:16 am


Return to Troubleshooting

Who is online

Users browsing this forum: bileyqrkq, ilovezfs and 0 guests

cron