[Bug 433537] Re: aufs fstab entries require ordering logic
Ringerl
ringerl at gmail.com
Wed Jun 15 18:47:37 UTC 2011
I'm still experiencing the problem that aufs is mounted before the
underlying mount is ready:
Snippet from mountall debug log (see full log in attachment)
update_mount: /var/lock: /var/lock none tmpfs nodev,noexec,nosuid,showthrough
update_mount: /media/aufs: /media/aufs none aufs br:/media/sdb1=rw,create=pmfs,cpup=bup check
update_mount: /media/sdb1: /media/sdb1 /dev/sdb1 ext4 errors=remount-ro check
/etc/fstab:
proc /proc proc nodev,noexec,nosuid 0 0
UUID=5ba3227b-b091-4d55-915f-852bb93fd8fe / ext4 errors=remount-ro 0 1
UUID=ccc2ea9f-7228-4665-95d5-3240f7e5b373 none swap sw 0 0
UUID="1b0761fa-6c7b-4e3c-b26a-73613850d029" /media/sdb1 ext4 errors=remount-ro 0 2
none /media/aufs aufs br:/media/sdb1=rw,create=pmfs,cpup=bup 0 3
** Attachment added: "mountall-stdout"
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/433537/+attachment/2170336/+files/mountall-stdout.log
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/433537
Title:
aufs fstab entries require ordering logic
Status in “mountall” package in Ubuntu:
Fix Released
Status in “mountall” source package in Karmic:
Fix Released
Bug description:
Binary package hint: mountall
The manual page of fstab says: "The order of records in fstab is important because fsck(8), mount(8), and umount(8) sequentially iterate through fstab doing their thing."
But if the contents of the /etc/fstab file are:
/dev/sda2 /.snapshot/home ext4 ro 0 0
none /.snapshot/home_ram tmpfs defaults 0 0
none /home aufs br=/.snapshot/home_ram:/.snapshot/home=ro 0 0
mountall mounts first the virtual file systems (tmpfs and aufs) and after that mounts the first one which is incorrect and leads to an undesired result.
Bug found on package mountall (dpkg -l mountall -> version=0.1.6,
mountall --version -> 0.1.0), on karmic alpha-6.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/433537/+subscriptions
More information about the foundations-bugs
mailing list