NFSv4: After upgrade to 9 users can no longer list files. (sounds like a ZFS issue?)

Rick Macklem rmacklem at uoguelph.ca
Tue Aug 30 01:20:48 UTC 2011


George Liaskos wrote:
> Hello,
> 
> I upgraded my home server the past weekend from 8.2-STABLE to 9,
> after the upgrade users can no longer list the files / directories of
> a mount
> from a client machine.
> 
> I am using nfsv4 exports for almost a year now, never had an issue, i
> did not
> change the configuration during / after the upgrade. My kernel config
> was
> using NFSD already.
> 
> Some server config info; i am exporting ZFS file systems:
> 
> [/etc/exports]
> V4: /usr/local/data -sec=sys -network 192.168.0.0/24
> /usr/local/data/downloads -network 192.168.0.0/24 -maproot=root
> /usr/local/data/software -network 192.168.0.0/24 -maproot=root
> 
> [/etc/rc.conf]
> rpcbind_enable="YES"
> nfs_server_enable="YES"
> nfsv4_server_enable="YES"
> nfsuserd_enable="YES"
> mountd_flags="-r -l"
> mountd_enable="YES"
> 
> I am able to mount from the clients, root can list everything but
> other users can't
> either from console or from a file browser. I can still blindly cat /
> touch files,
> everything works except list. The same goes with local mounts on the
> server.
> 
Well, if non-root users can't "ls" locally on the server, this sounds more
like a ZFS issue than an NFS one. (I don't see this w.r.t. NFS when exporting
a UFS volume.)

I don't know anything about ZFS. I've added a couple of the ZFS guys to the
cc list, in case they don't read posts with NFS in the subject line.

rick
> Thank you in advance for your help.
> 
> Regards,
> George
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"


More information about the freebsd-fs mailing list