shutting down logical volumes once an underlying device fails?
On Wed, Sep 26, 2012 at 04:11:17PM -0400, Mike Snitzer wrote:
> 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.
Deactivating is maybe a bit of a too strong word. But I'd expect we'll
get EIO from al sectors not just those on the failed device.
> Could this tie back to needing better UA handling/notification between
That current proposed solution we have internally is to simply poll
the status output for the PVs and handle it all in userspace. To me
this seems a bit clumsy, but at least it's easily doable in short time.
dm-devel mailing list