Hi Junjiro, I guess below information will clarify the issue.
In order to sum up : I have 2 machines S and C : o S has mounted aufs /diskless/exports/node2 directory (none /diskless/exports/node2 aufs rw,xino=/diskless/cow/node2/.aufs.xino,br:/diskless/cow/node2=rw:/diskless/layers/pm_rhel4=ro:/diskless/layers/mrhel4=ro 0 0) o S has NFS exported /diskless/exports/node2 directory o C is has NFS mounted diskless/exports/node2 under /mnt o C creates /mnt/dummy.3312 and populates it with 16384 files o As expected, dummy.3312 is created under /diskless/cow/node2 (from S point of view) o C tries to remove /mnt/dummy.3312 and that command fails (if we play 5 times it will be OK because each time half of directory content is deleted, last run removes near 1010 files with success) o During and after remove operation no file '.nfsXXX...' are present Thanks. On Tue, 2007-06-26 at 21:30 +0900, [EMAIL PROTECTED] wrote: > Hi, > > Philippe Malinge: > > > - it was nfs client where you executed the script and rm -fr. > > > > Yes, nfs client run : rm -fr /mnt/dummy.3312 > ::: > > > Just after you failed rm -fr, can you see the files named '.nfsXXX...?' > > > > No, but dummy.3312 was created on a read-only fs, and I try to remove it > > from /mnt, I can see /diskless/cow/node2/dummy.3312/.wh.XXXX files. The > > number of those files equals the number of removed files but not all as > > expected (rm -fr /diskless/cow/node2/dummy.3312). > > I think I am confused. > Do you mean you executed the script on nfs server? to the RO branch? > Or 'read-only fs' was just a typo? > > Were the '.nfsXXX...' files left under client:/mnt/dummy.3312? > > And do you mean that after rm -fr failure there left the whiteouts > (dummy.3312/.wh.XXXX) and the regular files (dummy.3312/XXXX)? > Won't you try strace to see the return value of unlink(2) to the children? > > > Junjiro Okajima -- Philippe Malinge ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
