On 11/15/2011 06:44 AM, Jan Bakuwel wrote:
Hi Bryn,
The partition map has a 'p' separator - d-pdc.oa.cp1 - the correct
command is:
kpartx -d /dev/mapper/d-pdc.oa.c
# kpartx -d /dev/mapper/d-pdc.oa.c
It's possible kpartx is getting confused and is refusing to remove the
maps if they still exist after running this command.
You can try to remove the device manually with dmsetup:
dmsetup remove d-pdc.oa.cp1
If this succeeds then you can proceed to deactivate the lv/vg. If it
fails then there is something still using the device and you'll need to
figure out what it is to get rid of the devices.
Regards,
Bryn.
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/