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

Re: [linux-lvm] lvm2 vgchange -a n problem



On Fri, Mar 05, 2004 at 04:59:58PM -0700, Michael Ossmann wrote:
> Is this how I'm supposed to do this?

No.  There's a couple of things you could try:

i) do a 'dmsetup info <dev>' and confirm that the 'open count' is 0

ii) use 'lsof' to find out who has opened the device.

Device mapper uses reference counting on the devices, so you will
always be able to remove the device successfully, but it wont really
be destroyed until the last opener closes it.

- Joe



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