[CentOS] kpartx can not detach
Leon Fauster
leonfauster at googlemail.comWed Mar 7 12:48:38 UTC 2018
- Previous message: [CentOS] CentOS 6 i386 - meltdown and spectre
- Next message: [CentOS] kpartx can not detach
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
OS: EL6 - sometimes I use kpartx -a /mnt/.../lvdisk.img to map the partitions and mount them via /dev/mapper/loop0pX After using the disk (unmounting it) I noticed that detaching such mapping via kpartx -d does not result in freeing up the loop devices. Results: System reboots shows that the filesystem where lvdisk.img is located can't be unmounted. lsof, fuser, ps does not show any usage. Even removing the device node via dmsetup remove /dev/mapper/loop0pX does not help. Trying to unmount the underlying filesystem still shows /mnt: device is busy. Any other suggestions would be greatly appreciated! -- Thanks LF
- Previous message: [CentOS] CentOS 6 i386 - meltdown and spectre
- Next message: [CentOS] kpartx can not detach
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list