Public bug reported: Ubuntu 15.04 mount: Installed: 2.25.2-4ubuntu2 Candidate: 2.25.2-4ubuntu2 Version table: *** 2.25.2-4ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status
System has LVM on SSD standard install ext4 filesystem. (/dev/mapper/ubuntu--vg-root) mdadm RAID5 3 disks, btrfs filesystem (/dev/md127p1) RAID5 is mounted at /mnt/raid at boot. --- Bind mounts only display the device mount, not the from directory. The mount works, but the mtab entry is incorrect. # From LVM device, to LVM device. mount -o bind /home/rfoos /srv/nfs4/homes # From Raid device, to LVM device mount -o bind /mnt/raid/var/lib/libvirt /var/lib/libvirt # With corrected fstab entries (below) mount -a does work mount -a --- /etc/mtab entries /dev/mapper/ubuntu--vg-root /srv/nfs4/homes ext4 rw,relatime,errors=remount-ro,data=ordered 0 0 /dev/md127p1 /var/lib/libvirt btrfs rw,nosuid,nodev,relatime,space_cache 0 0 /dev/md127p1 /srv/nfs4/share btrfs rw,nosuid,nodev,relatime,space_cache 0 0 --- mount list of mounts /dev/md127p1 on /mnt/raid type btrfs (rw,nosuid,nodev,relatime,space_cache) /dev/md127p1 on /var/lib/libvirt type btrfs (rw,nosuid,nodev,relatime,space_cache) /dev/mapper/ubuntu--vg-root on /srv/nfs4/homes type ext4 (rw,relatime,errors=remount-ro,data=ordered) --- corrected fstab entries. # mount raid device /dev/md127p1 /mnt/raid btrfs rw,nosuid,nodev,relatime,space_cache 0 0 # corrected entries /mnt/raid/var/lib/libvirt /var/lib/libvirt none bind 0 0 /home/rfoos /srv/nfs4/homes none bind 0 0 ** Affects: util-linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1474958 Title: bind mount produces incorrect entry in mtab To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1474958/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs