Daire Byrne:
> Yes - to be precise:
> 
>   mount -t nfs -o nolock,ro,tcp,vers=3 serevr1:/mnt/blah /mnt/nfsroot
>   mount -t aufs -o dirs=/mnt/cache/overlay=rw:/mnt/nfsroot=ro none 
> /mnt/sysroot
>   export /mnt/sysroot via NFS
>   on nfs-client, tried mount server2:/mnt/sysroot and failed

Thank you.
Unfortunately (or fortunately) I could not reproduce the problem in
linux-2.6.27 and latest aufs2. My nfs-client was not able to mount
simply and there was no crash on nfs-server.

SERVER$ tail /proc/mounts
/dev/loop1 /tmp/nfsv3/tmp/ro ext2 ro,errors=continue 0 0
localhost:/tmp/nfsv3/tmp/ro /dev/shm/ro nfs 
ro,vers=3,rsize=16384,wsize=16384,namlen=255,hard,intr,proto=udp,timeo=11,retrans=3,sec=sys,addr=127.0.0.1
 0 0
/dev/loop2 /dev/shm/rw ext3 rw,errors=continue,data=ordered 0 0
none /dev/shm/u aufs rw,si=c89bd611 0 0
SERVER$ cat /sys/fs/aufs/si_c89bd611/*
/dev/shm/rw=rw
/dev/shm/ro=ro
/dev/shm/rw/.aufs.xino
SERVER$ sudo exportfs -i -o rw,async,no_subtree_check,no_root_squash,fsid=9 
\*:/dev/shm/u

CLIENT$ showmount -e SERVER
Export list for SERVER:
/dev/shm/u        *
/tmp/nfsv3/tmp/ro localhost
CLIENT$ sudo mount SERVER:/dev/shm/u /mnt
mount.nfs: mount to NFS server 'SERVER' failed: timed out, retrying
mount.nfs: mount to NFS server 'SERVER' failed: timed out, retrying
mount.nfs: mount to NFS server 'SERVER' failed: timed out, retrying
mount.nfs: mount to NFS server 'SERVER' failed: timed out, retrying
mount.nfs: mount to NFS server 'SERVER' failed: timed out, giving up

If you know how can I reproduce the problem, please let me know.
While your operation is not supported, I just want to stop aufs
crashing.


J. R. Okajima

------------------------------------------------------------------------------

Reply via email to