Btrfs: Subvolumes and snapshots
Btrfs: Subvolumes and snapshots
Posted Jan 7, 2014 16:03 UTC (Tue) by cruff (subscriber, #7201)In reply to: Btrfs: Subvolumes and snapshots by cortana
Parent article: Btrfs: Subvolumes and snapshots
I don't even know what you should do if some process with its own mount namespace has the filesystem mounted.
You are out of luck unless you can access the other namespace. I have several systems that has an LXC container with bind mounts of some file systems inside the container. Because of the version of the kernel used in RHEL 6, I have not determined a way to access the container's mount namespace from the container host system after the container has been created. Thus it can be impossible to umount all instances of each file system. Of course, containers under RHEL 6 have other usability issues, we sometimes have to just reboot the container host to restore everything to normal. I'm thinking of going back to using chroot jails.