[Bug 759394] Re: can not umount rbind mounts
gouri
stephane.gourichon_lpad at m4x.org
Fri Nov 4 08:11:23 UTC 2016
Hi.
Same problem here. Some partitions still appear in `mount` output and `/proc/mounts` but can't be unmounted via either device name or mount point.
Repeatedly trying `umount -l` with device names and mount points finally managed to get the partitions unmounted.
Yet it feels awkward, like a worn out door lock that locks okay but you
have to shake for a while to have it unlock.
This is very likely not Ubuntu specific, e.g.
http://unix.stackexchange.com/questions/120827/recursive-umount-after-rbind-mount
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/759394
Title:
can not umount rbind mounts
Status in util-linux package in Ubuntu:
Confirmed
Bug description:
Binary package hint: util-linux
mkdir /mnt/dev
mount --rbind /dev /mnt/dev
umount /mnt/dev
The umount fails because of the sub mounts that the recursive bind
also bind mounted under /mnt/dev, which you have to remove manually
first. When you mount with --rbind, umount should be able to reverse
the process, unmounting all recursively bound mounts.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/759394/+subscriptions
More information about the foundations-bugs
mailing list