Linux‎ > ‎

~device-mapper: create ioctl on device failed: Device or resource busy

# kpartx -av /dev/mapper/diskname
device-mapper: create ioctl on diskp1 failed: Device or resource busy
create/reload failed on diskp1

To Fix:
dmsetup ls|grep disk

dmsetup remove disk-part1

 kpartx -av /dev/mapper/diskname

Comments