Linux LVM users
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@redhat.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] lvm2 vgchange -a n problem
Date: Mon Mar  8 04:36:01 2004	[thread overview]
Message-ID: <20040308093919.GI4872@reti> (raw)
In-Reply-To: <20040305235958.GG8500@ossmann.com>

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

  reply	other threads:[~2004-03-08  9:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05 18:58 [linux-lvm] lvm2 vgchange -a n problem Michael Ossmann
2004-03-08  4:36 ` Joe Thornber [this message]
2004-03-10 16:14   ` Michael Ossmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040308093919.GI4872@reti \
    --to=thornber@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox