Hi J.R., I open another thread, because this new problem has nothing to do with "orphaned inodes".
This problem arises, because I have to use "--inplace" to circumvent the other problems. I have a directory "/root/sbin" which contains a few shell scripts which are controlled by cron jobs. This is also where "flush-branch.sh" lies. Here is the script again: http://pastebin.com/QmK9M6NH The flush process often hangs now, after/while the script remounts the aufs with "reval". When this happens the process "flush-branch.sh" is marked with D+ in top and tries to access the "/root/sbin" directory in any way creates a "zombie" shell with another D+. Whether or not the script hangs, the dmesg always prints this after/while running the script: aufs do_refresh:499:mount[2818]: unrecoverable error -2, cache aufs au_remount_refresh:668:mount[2818]: Refreshing directories failed,ignored (-2) Also often I cannot access access the sbin directory the first time. A try of this just gives me: ls: cannot open directory .: Stale NFS file handle I tried to circumvent this by putting the content of "/root/sbin/" into another partition and dumbly mounting it on "/root/sbin" read- and writable. Then I modified the flush-branch script to exclude this dir from being synced. This ends with the same result as above - just the the dmesg is slightly different: aufs do_refresh:499:mount[2768]: unrecoverable error -2, sbin aufs au_remount_refresh:668:mount[2768]: Refreshing directories failed, ignored (-2) It's a pity aufs cares about the mountpoint on a refresh ;) Finally I tried to put /root/sbin on another aufs-branch (rw) in my init-script on top of the tmpfs. Because with /root/sbin being present on this new branch, all the files got consequently created on this new branch. This is not what I want. What can I do? I don't mind if it is a quick n' dirty solution. /Marcus ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d