> Sorry to change my mind, the problem stays. We still had the "ls
> ${TARGET}" in the initscript, without it the problem is still there. I
> will try the busybox mount next and provide the results.

Switching to busybox mount in the initramfs did not change the error. I 
will try the klibc mount and nfsmount later, but at least for the aufs 
root I will need the regular mount.

While dabbling with different ways to mount I got some new results and 
clarifications regarding my problem.

First of all I have found that triggering the error is actually done by 
doing either

ls /

ls /aufs/server

mount -o nolock,ro,proto=udp,retrans=10 192.168.0.1:/target /mnt
ls /mnt

will lead to the loss of all mounts on the root directory, both those 
inherited from the initramfs as well as those mounted by init. So one of 
those three actions and

/proc /sys /dev /home /usr /var

are gone but

/aufs/xino /aufs/private /aufs/clients /aufs/server

will stay.

The error is not triggered by issuing

ls /aufs/client

ls /aufs/private

ls /aufs/server/bin (or anything similar)

The error is also not triggered if I mount the server-root differently

mount -o nolock,rw,proto=udp,retrans=10 192.168.0.1:/target /mnt
ls /mnt

mount -o nolock,ro,proto=tcp,retrans=10 192.168.0.1:/target /mnt
ls /mnt

If I mount the server root in the initramfs in some other way, like rw 
instead of ro, the error stays and any of these three actions will again 
trigger the error:

ls /

ls /aufs/server

mount -o nolock,rw,proto=udp,retrans=10 192.168.0.1:/target /mnt
ls /mnt

Something is happening on switching root at the end of the initramfs. 
The error is not happening in the initramfs, it happens immediatly after 
init takes over, I will continue to analyse this.

As a possible kludge I could mount everything on subdirectorys of the 
/aufs directory and use symbolic links in the root, but that would be ugly.

Eibo Thieme

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

Reply via email to