Re: Not all files are deleted

2007-06-26 Thread sfjro

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. 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.) and the regular files (dummy.3312/)?
Won't you try strace to see the return value of unlink(2) to the children?


Junjiro Okajima

-
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/


Re: Not all files are deleted

2007-06-26 Thread 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/