su
https://bugzilla.novell.com/show_bug.cgi?id=809226 https://bugzilla.novell.com/show_bug.cgi?id=809226#c24 --- Comment #24 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2013-03-21 19:08:45 UTC --- password:
cat /etc/exports / *(rw,no_root_squash,sync,no_subtree_check,sec=sys:krb5:krb5i:krb5p) /bak *(rw,no_root_squash,sync,no_subtree_check) /srv/tftpboot/systemrescuecd *(ro,no_subtree_check,all_squash,insecure) service nfsserver restart exportfs -av mount localhost:/bak /mnt cat /proc/mounts | grep /mnt server:/bak /mnt nfs rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp6,timeo=600,retrans=2,sec=sys,mountaddr=fd7c:878c:ae10:5cd4::2,mountvers=3,mountport=49193,mountproto=udp6,local_lock=none,addr=fd7c:878c:ae10:5cd4::2 0 0 umount /mnt mount -o vers=4 localhost:/bak /mnt
mcedit /etc/exports
cat /etc/exports / *(rw,no_root_squash,sync,no_subtree_check) /bak *(rw,no_root_squash,sync,no_subtree_check) /srv/tftpboot/systemrescuecd *(ro,no_subtree_check,all_squash,insecure) service nfsserver restart exportfs -av mount localhost:/bak /mnt cat /proc/mounts | grep /mnt server:/bak /mnt nfs4 rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp6,port=0,timeo=600,retrans=2,sec=sys,clientaddr=fd7c:878c:ae10:5cd4::2,local_lock=none,addr=fd7c:878c:ae10:5cd4::2 0 0
The only change was to eliminate the sec= parameter in the first line... I executed no other cmds in the meanwhile and now this is the full content in my /etc/exportfs. Probably this is the reason why I could not reproduce Neil's advice. Without the sec= param, he seems to be right. My orig. bind= config (above) does not suffer from that. A further problem:
cat /etc/exports / *(rw,no_root_squash,sync,no_subtree_check) /bak *(rw,no_root_squash,sync,no_subtree_check) /srv/tftpboot/systemrescuecd *(ro,no_subtree_check,all_squash,insecure) service nfsserver restart exportfs -av mount localhost:/ /mnt cat /proc/mounts | grep /mnt betty:/ /mnt nfs4 rw,relatime,vers=4.0,rsize=1048576,wslsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /var/run/user/1000/gvfs Output information may be incomplete. ize=1048576,namlen=255,hard,proto=tcp6,port=0,timeo=600,retrans=2,sec=sys,clientaddr=fd7c:878c:ae10:5cd4::2,local_lock=none,addr=fd7c:878c:ae10:5cd4::2 0 0 cd /mnt ls -la cd / umount /mnt umount.nfs4: /mnt: device is busy umount -f /mnt umount.nfs4: /mnt: device is busy lsof | grep /mnt lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /var/run/user/1000/gvfs Output information may be incomplete.
I found no suitable way to unmount /mnt then. This behavior only shows when mount / to /mnt. Mounting /bak to /mnt and then unmouting it makes no busy problem. Again, my orig. config with bind= (above) does not have this problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.