> see if you can run wireshark on your NFS server that is being mounted.
> That should narrow down the RPC error.

It took a while to get around to this, but the problem looks like NFS
v3 - v4 conflict. Wireshark shows these errors:
Program Version: 3 \ V3 Procedure: MNT (1) \Status: ERR_ACCESS (13)

But NFS is started as v4. /etc/exports (not sure if correct syntax):
V4:  /     -network
/data/amd64     -ro -network             # NFS root
/usr/local      -ro -maproot=0 -network
/home           -network

The PXE structure (dhcp & tftp) are started as a jail with the jail
root folder as the NFS export root (/data/amd64). The jail and NFS
services are not started with boot but with separate script.

/etc/rc.conf has:
mountd_flags="-r -n -l -h"
nfsd_flags="-u -t -n 4 -h"

jail -c pxe
service rpcbind onestart
service mountd onestart
service nfsd onestart
service nfsuserd onestart
# disabled_not_needed? rpc_lockd_enable="YES"  rpc_statd_enable="

I should probablymove the rc.conf flags into my pxe_start_script.sh,
but not sure how to pass "service start" flags in an sh script.


freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to