[linux-lvm] volume group device nodes are left behind afterremoving a san snapshot

James A. Dinkel jdinkel at bucoks.com
Fri Dec 5 02:53:52 UTC 2008


Well dmsetup info -c did include this:
vgname-lvname 253   4 L--w    1    4      0 LVM-<snip>

but I went ahead and deleted the /dev/vgname and ran vgmknodes, which
did not put it back.  I was then able to recreate the volume group and
everything appears to be working normally.

Thanks,
James Dinkel


-----Original Message-----
From: linux-lvm-bounces at redhat.com [mailto:linux-lvm-bounces at redhat.com]
On Behalf Of Alasdair G Kergon
Sent: Thursday, December 04, 2008 8:29 PM
To: LVM general discussion and development
Subject: Re: [linux-lvm] volume group device nodes are left behind
afterremoving a san snapshot

The bottom line is whether /dev/vgname is still in use or not.
Use dmsetup info -c to check for any devices with names beginning
vgname.

If you're sure it isn't there, try removing the directory /dev/vgname by
hand
and check vgmknodes doesn't put it back.

Alasdair
-- 
agk at redhat.com

_______________________________________________
linux-lvm mailing list
linux-lvm at redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/






More information about the linux-lvm mailing list