[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Unable to remove LVs



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]