erratic (?) nfs behavior.

Nikolai Lifanov lifanov at mail.lifanov.com
Sun Jun 5 10:32:07 PDT 2011


Hello.

I am having trouble with nfs on DragonFly. Could you help me please?

I am running stock SMP DragonFly 2.10.1.

The relevant rc.conf lines are:

rpcbind_enable="YES"
mountd_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
To refresh exports, I do this:

%foreach i ( rpcbind mountd nfsd )
foreach? /etc/rc.d/${i} restart
foreach? end
Case 1:

/etc/exports contains
/snaps -ro 192.168.something.something
showmount -e localhost displays
/snaps 192.168.something.something
Case 2:

/etc/exports contains
/snaps -ro 192.168.something.something
/share -maproot=root 192.168.something.something
showmount -e localhost displays
/snaps 192.168.something.something
Case 3:

/etc/exports contains
/snaps -ro 192.168.something.something
/share -maproot=root 192.168.something.something
/empty -ro
showmount -e localhost displays
/snaps 192.168.something.something
/empty Everyone
Case 4:

/etc/exports contains
/snaps -ro
/share -maproot=root 192.168.something.something
/empty -ro
showmount -e localhost displays
/snaps Everyone
/share 192.168.something.something
Please help me understand this. In cases 2 and 3, where did the /share 
export go? In case 4, why only when removing access control from /snaps 
does /share export and where did /empty go?






More information about the Users mailing list