-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/30/2012 04:50 PM, James B. Byrne wrote: > [root@vhost01 ~]# lsblk NAME > MAJ:MIN RM SIZE RO TYPE MOUNTPOINT . . . > ├─vg_vhost01-lv_vm_base (dm-5) 253:5 0 7.8G 0 > lvm │ ├─vg_vhost01-lv_vm_basep1 (dm-17) 253:17 > 0 500M 0 dm │ └─vg_vhost01-lv_vm_basep2 > (dm-18) 253:18 0 7.3G 0 dm > > . . . > > Am I misunderstanding your instructions? The partition maps were apparently created with kpartx's "-p p" option to force a partition separator of 'p' (the default is to use a 'p' if the device name ends with a numeral but no separator otherwise). If the maps were created with -pp kpartx will refuse to remove them if the option is not given (but helpfully doesn't report any error.. :-/): # ls /dev/mapper/vg_mother-lv_base* /dev/mapper/vg_mother-lv_base /dev/mapper/vg_mother-lv_basep1 # kpartx -d /dev/mapper/vg_mother-lv_base # ls /dev/mapper/vg_mother-lv_base* /dev/mapper/vg_mother-lv_base /dev/mapper/vg_mother-lv_basep1 # kpartx -d -pp /dev/mapper/vg_mother-lv_base # ls /dev/mapper/vg_mother-lv_base* /dev/mapper/vg_mother-lv_base Just add the -pp to your kpartx command lines and it should remove the devices. Regards, Bryn. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8mzX0ACgkQ6YSQoMYUY96ySwCZATKsF6+UiQ1FKtwQK/4XX2uP G20AniKYezGGkZreHCvp0onymhIpXp8M =tTC2 -----END PGP SIGNATURE----- _______________________________________________ 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/