Several NFS errors on diskless clients

Beeblebrox zaphod at berentweb.com
Sat Feb 14 12:53:17 UTC 2015


Hi, Rick.

> Just in case you didn't already know, if you are going to use NFSv4
> over AUTH_SYS, the clients and server need consistent user and group
> databases. Same names and same numbers.

I was aware of that, yet apparently missed a crucial step. There was a mis-match between the /etc of host vs jail and I was missing several users/groups. Corrected.

> Since the "user-or-group" part seems to be working, then maybe the
> <dns-domain> part isn't the same? (It doesn't really matter what it
> is, so long as it is the same for the server and client.)

That, I was not aware of. I modified diskless client rc.conf to have "nfsuserd_flags -domain same.name", and start nfsuserd with same.name from host.

I was fortunate to see a solution to my problem #3 on the mail list BTW, services under NFS not starting, in client rc.conf: early_late_divider="mountcritremote". Services now start.

The bulk of the oddities I could not figure out have been cleared by the above mentioned corrections. The only remaining problem is the "pager read error". IDK how serious that is but the same error occurs if I try to start GDM on the client, so it seems I need to get to the bottom of that as well:

Client boots normally, nfsuserd running on both host + client, dbus already started. 
pcap file with "tcpdump -s 1500" for invoking on client "service hald onestart" being PM'ed.

Thanks for the help and Regards.


More information about the freebsd-fs mailing list