On 08/07/2011 07:49 PM, Johannes Berg wrote:
>> If not, can you try to reproduce the error (eg: by running the script)
>> and send me the output of the relevant parts of /etc/mtab?

> # cat /etc/mtab 
> tmpfs /run/shm tmpfs rw,nosuid,nodev,relatime,size=103048k 0 0
> /dev/md127p3 /data ext3 
> rw,relatime,errors=remount-ro,user_xattr,acl,barrier=0,data=ordered 0 0
> /dev/md127p3 /home ext3 
> rw,relatime,errors=remount-ro,user_xattr,acl,barrier=0,data=ordered 0 0

OK, so this is where the error is coming from: mtab is showing both
entries are regular mounts instead of indicating that the second mount
is a bind mount.

I have no idea why this is, or how we could work around it. We switched
away from /proc/mounts to /etc/mtab precisely because the latter
informed out about bind mounts, or so I believed.

> # cat /etc/fstab 
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> /dev/md127p3  /data           ext3    errors=remount-ro,acl,user_xattr        
> 0       0
> /data/home    /home           none    bind            0       0


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to