Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Aug 2011 21:20:47 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        George Liaskos <geo.liaskos@gmail.com>
Cc:        freebsd-fs@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org>
Subject:   Re: NFSv4: After upgrade to 9 users can no longer list files. (sounds like a ZFS issue?)
Message-ID:  <1173512509.517816.1314667247490.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <CANcjpOAGDCnBrHLpYWUm2ydEzdfmKDa4DFCO77=mP-Oznoxwbg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1173512509.517816.1314667247490.JavaMail.root>