Created
June 14, 2014 14:47
-
-
Save daniel-garcia/67f79cabb17f8e490326 to your computer and use it in GitHub Desktop.
umount orphaned docker mounts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service docker stop # wait for all lxc-start processes to stop | |
lsblk # look for dm devices that are mounted) | |
umount -l /var/lib/docker/devicemapper/mnt/* | |
lsblk # (look for dm devices still registered with the kernel) | |
for x in /dev/mapper/docker-*; do dmsetup remove $x; done | |
lsblk # (should be down to just the physical devices on the host) | |
service docker start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment