Hi,

My NFS linux server exports via NFS a directory built using unionfs. My client linux box imports this NFS directory without problem but when it uses it in a union (always via unionfs) I obtains the following error when I trie to access it :

Operation not permitted !

I carried out my tests with several versions of unionfs (including on the last snapshot), with or without the definition of NFS_SECURITY_HOLE, with or without rw option for NFS. My kernel is "Linux lutin 2.6.14-g2 #3 PREEMPT Fri Nov 11 11:50:15 CET 2005 i686 GNU/Linux" (both server and client).

Below the result of the export and mounts :

Server side (192.168.114.1):
--------------------
# mount
...
none on /mnt/sda12/mktx/unionfs/qemu1 type unionfs (rw,debug=1,dirs=qemu1=rw:x11=ro:noudev=ro:common=ro:kernels=ro:update=ro:deb=ro)
..

# exportfs -v
...
/mnt/sda12/mktx/unionfs/qemu1
            192.168.200.2(rw,async,wdelay,no_root_squash,fsid=1)
...

Client side (192.168.200.2) :
--------------------
# mount
...
192.168.114.1:/mnt/sda12/mktx/unionfs/qemu1 on /nfs type nfs (rw,v3,rsize=8192,wsize=8192,hard,udp,nolock,addr=192.168.114.1) none on /slash type unionfs (rw,dirs=/memory=rw:/nfs=rw,debug=18,delete=all,copyup=preserve)
...
# ls /slash/etc
ls: /slash/etc: Operation not permitted

Is possible to use in a union a directory imported by NFS resulting him even from a union ?

Any help would be appreciated!

_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to