Re: [CentOS] kpartx can not detach

2018-03-10 Thread Leon Fauster
Am 07.03.2018 um 19:35 schrieb Jim Perrin : > > On 03/07/2018 04:48 AM, Leon Fauster wrote: >> 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

Re: [CentOS] kpartx can not detach

2018-03-07 Thread Jim Perrin
On 03/07/2018 04:48 AM, Leon Fauster wrote: > 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 >

[CentOS] kpartx can not detach

2018-03-07 Thread Leon Fauster
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