From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: shutting down logical volumes once an underlying device fails? Date: Wed, 26 Sep 2012 12:11:06 -0400 Message-ID: <20120926161106.GA12653@infradead.org> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com List-Id: dm-devel.ids 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?