Yair Yarom:
> It seems the script doesn't mount the nfs, so I'm a bit puzzled about
> what it was suppose to check.

Oops!
I am afraid I remove the line accidentaly. Sorry.


> In any case, though I don't think it was my original problem (but I
> might be wrong), it appears that currently if the nfs is mounted with
> "noacl", it might fail with Operation not supported even if the nfs
> mount is rw and can be changed directly on the mount.

Thanx for the script.

On my test system where NFS server is linux, the first mv back failed.
        :::
exporting localhost:/tmp/irush/export
+ mv -v /tmp/irush/nfs/a/b /tmp/irush/nfs/a/c
`/tmp/irush/nfs/a/b' -> `/tmp/irush/nfs/a/c'
mv: cannot move `/tmp/irush/nfs/a/b' to `/tmp/irush/nfs/a/c': Permission denied
        :::

Anyway  ACL is a good hint actually.
While I cannot reproduce your problem on my side, I'd suggest you to try
a branch attribute "icexsys" for the writable branch such as
# mount -t aufs -o br:$tmp/rw=rw+icexsys:$tmp/nfs=ro aufs $tmp/union

For details, refer to
linux/Documentation/filesystems/aufs/design/xattr.txt and aufs manual in
aufs-util.git.


J. R. Okajima

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

Reply via email to