dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: dm-devel@redhat.com
Subject: Re: shutting down logical volumes once an underlying device fails?
Date: Wed, 26 Sep 2012 16:11:17 -0400	[thread overview]
Message-ID: <20120926201116.GD7882@redhat.com> (raw)
In-Reply-To: <20120926161106.GA12653@infradead.org>

On Wed, Sep 26 2012 at 12:11pm -0400,
Christoph Hellwig <hch@infradead.org> wrote:

> A coworker has been testing failure scenarious using lvm, and noticed
> that when a PV fail a filesystem on a logical volume that spans multiple
> PVs only fails once it accesses the actually failed physical device.
> 
> At least for system using higher level error detection and replication
> behaviour that fails a LV as soon as one of the underlying devices fails
> would be much more helpful.  Is the current LVM behaviour intention and
> should we work around this using userspace monitoring, or would be
> patches to introduce a shutdown state similar to what we have in XFS for
> example be welcome?

Don't think any shutdown should be initiated by the kernel.

But events that userspace could respond to by deactivating (an
arbitrarily complex) lvm device would be the way forward IMHO.

Could this tie back to needing better UA handling/notification between
kernel<->userspace?

  reply	other threads:[~2012-09-26 20:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26 16:11 shutting down logical volumes once an underlying device fails? Christoph Hellwig
2012-09-26 20:11 ` Mike Snitzer [this message]
2012-09-28 13:05   ` Christoph Hellwig

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=20120926201116.GD7882@redhat.com \
    --to=snitzer@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=hch@infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).