Hi,

"Vonlanthen, Elmar":
> I'm very sorry! I didn't realized, that "cp /proc/mounts proc_mounts" =
> doesn't copy the file content.
> 
> # cat /proc/mounts
        :::
> aufs / aufs =
> rw,si=3Dcf986180,xino=3D/mnt/rwdisk/.aufs.xino,nowarn_perm,br:/mnt/rwdisk=
> =3Drw:/mnt/overlay=3Dro:/mnt/rootfs=3Dro 0 0

So you didn't specify udba=inotify option?
I thought that you did because CONFIG_AUFS_HINOTIFY was enabled in your
configuration.

It is strongly recommended to specify udba=inotify option when you
modify branches directly (bypassing aufs).
In your case,
host # mount -o remount,udba=inotify /
installer # rsync (and update the branch on 'host')
host # mount -o remount,udba=reval /

If everything goes well, you may not need to copy files manually after
rsync since new files will be visible. But when the file already existed
on the upper branch and you want to see the one on the lower branch, you
may still need to copy it from the lower branch.


> > If the target file /<path-to-file> is set 'immutable', aufs may crash
> > like your case. Will you recognize it?
> 
> You mean "chattr +i <file>"?
> I didn't set the flag on any file. Is it possible that a daemon is =
> setting some flags?

Although I don't know such deamon exist or not, I want you to try
$ lsattr /mnt/rwdisk/the_file_you_were_going_to_copy

If it shows the file is immutable, I can understand what the bug is and
fix the problem.
Otherwise, I have to spend many nights unsleep. :-)


Junjiro R. Okajima

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Reply via email to