[Unionfs] Can't mount NFS-exported union anymore in unionfs-1.4

Wilhelm Meier wilhelm.meier at fh-kl.de
Mon Nov 20 09:38:15 EST 2006


Hi,

I used to export a union via nfs. Now I upgraded to 1.4 and it stops working. 
The NFS-Server returns permission denied.

gs unionfs-1.4 # more /etc/exports
/tftproot/gentoo_A      *(fsid=1234,ro,sync,no_root_squash)
/tftproot/gentoo_B      *(fsid=5678,ro,sync,no_root_squash)

gs unionfs-1.4 # mount
/dev/hda1 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hdb1 on /tftproot type ext3 (rw,noatime)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
nfsd on /proc/fs/nfs type nfsd (rw)
none on /tftproot/gentoo_B type unionfs 
(rw,debug=11,dirs=/tftproot/gentoo_Bdiff=rw:/tftproot/gentoo_A=ro)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

gs unionfs-1.4 # showmount -e
Export list for gs:
/tftproot/gentoo_B *
/tftproot/gentoo_A *

gs unionfs-1.4 # mount localhost:/tftproot/gentoo_B /mnt/test
mount: localhost:/tftproot/gentoo_B failed, reason given by server: Permission 
denied

but

gs unionfs-1.4 # mount localhost:/tftproot/gentoo_A /mnt/test

gs unionfs-1.4 # tail -f /var/log/messages
Nov 20 15:18:35 gs rpc.mountd: export request from 127.0.0.1
Nov 20 15:18:45 gs rpc.mountd: authenticated mount request from localhost:1023 
for /tftproot/gentoo_B (/tftproot/gentoo_B)
Nov 20 15:18:50 gs rpc.mountd: authenticated mount request from localhost:600 
for /tftproot/gentoo_A (/tftproot/gentoo_A)
Nov 20 15:18:54 gs rpc.mountd: authenticated unmount request from 
localhost:602 for /tftproot/gentoo_A (/tftproot/gentoo_A)

-- 
Wilhelm Meier
email: wilhelm.meier at fh-kl.de


More information about the unionfs mailing list