All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: Hannes Reinecke <hare@suse.de>,
	device-mapper development <dm-devel@redhat.com>
Subject: Re: Device removal handling
Date: Wed, 13 Jul 2011 11:53:29 -0400	[thread overview]
Message-ID: <4E1DBF79.2090401@cfl.rr.com> (raw)
In-Reply-To: <20110712105826.GH7857@agk-dp.fab.redhat.com>

On 7/12/2011 6:58 AM, Alasdair G Kergon wrote:
> We already have dmsetup remove -f which replaced a device by the error
> target then attempts to remove it (which will fail if it is still in
> use).
>
> You have a need for this without the removal attempt?

The question is, how do you get udev to invoke this when the underlying 
device is removed?  It has no idea what dm device was using the disk. 
Further, if it was a mirror, then you don't want to try to kill the 
mirror if the other leg is still good, you just want the mirror to fail 
and release the removed disk.

      reply	other threads:[~2011-07-13 15:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 20:12 Device removal handling Phillip Susi
2011-07-10 22:03 ` Alasdair G Kergon
2011-07-11 15:08   ` Phillip Susi
2011-07-11 15:23     ` Alasdair G Kergon
2011-07-11 20:31       ` Phillip Susi
2011-07-12  6:24     ` Hannes Reinecke
2011-07-12 10:58       ` Alasdair G Kergon
2011-07-13 15:53         ` Phillip Susi [this message]

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=4E1DBF79.2090401@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=dm-devel@redhat.com \
    --cc=hare@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.