Hello J.R.,

sf...@users.sourceforge.net wrote:

> Cyanrigger:
> > aufs do_refresh:499:mount[2818]: unrecoverable error -2, cache
> > aufs au_remount_refresh:668:mount[2818]: Refreshing directories
> > failed,ignored (-2)
> 
> -2 means "No such file or directory".
> 2:ENOENT:No such file or directory
> 
> It looks like you removed something should not be removed (in this
> case, a file or dir named 'cache'). And aufs could not work anymore.

(In fact, I tried again now and the error is not with "cache" but with
"sbin". I cannot see what "cache" is pointing to...? )

Thanks for putting me on the right track. I commented this out from my
rsync script:

# Clean empty directories
find ${UPPER_BRANCH} -type d -and -empty | sed '/.wh.*/d' \
| xargs -d "\n" rmdir -v

, and now things work until now. This line was needless anyway, since
empty directories on the upper tmpfs don't really harm anything. It was
just cosmetic...
I watched what the rsync script wanted to delete on the upper
branch ( /mnt/rw_root - r/w tmpfs) - a part of that list was /root/sbin.
Most propably aufs didn't like that. (The script is running from that
dir...)


Have a nice day,

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

Reply via email to