linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Unable to remove LVs
@ 2011-11-14  4:30 Jan Bakuwel
  2011-11-14 15:10 ` Bryn M. Reeves
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Bakuwel @ 2011-11-14  4:30 UTC (permalink / raw)
  To: linux-lvm

Hi,

LVM 2.02.39-7 on Debian Lenny 64 bit with Xen 3.2-1

I have a few LVs that I can't get rid of:

server1:/# ls -al /dev/mapper/*oa*
brw-rw---- 1 root disk 254,  7 2011-07-22 19:40 /dev/mapper/d-pdc.oa.c
brw-rw---- 1 root disk 254, 78 2011-10-30 13:04 /dev/mapper/d-pdc.oa.cp1
server1:/# kpartx -l /dev/mapper/d-pdc.oa.c
d-pdc.oa.c1 : 0 71103627 /dev/mapper/d-pdc.oa.c 63
server1:/# kpartx -d /dev/mapper/d-pdc.oa.c
server1:/# kpartx -d /dev/mapper/d-pdc.oa.c1
failed to stat() /dev/mapper/d-pdc.oa.c1
server1:/# lvs | grep oa
  pdc.oa.c         d    -wi-ao  37.00G                                    

There were a couple of other open LVs that I could successfully delete
using the method described above but this one seems to be a bit harder
to convince. The LV surely isn't open by anything I can identify (not
mounted etc), but the kernel seems to think otherwise.

Any suggestions?

kind regards,
Jan

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-09-18  1:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-14  4:30 [linux-lvm] Unable to remove LVs Jan Bakuwel
2011-11-14 15:10 ` Bryn M. Reeves
2011-11-15  6:44   ` Jan Bakuwel
2011-11-15 11:07     ` Bryn M. Reeves
2011-11-15 11:16       ` Bryn M. Reeves
     [not found]         ` <4EC2D031.3090101@omiha.com>
2012-09-17 23:54           ` Jan Bakuwel
2012-09-18  1:10           ` [linux-lvm] Unable to remove LVs - problem solved Jan Bakuwel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).