linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Ben Kingston <benjamin.kingston@bencloud.net>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Curious about LVM PV failure and mitigation
Date: Thu, 17 Sep 2009 18:22:44 -0700	[thread overview]
Message-ID: <4AB2E0E4.70205@gmail.com> (raw)

I've been wondering for a while what happens if a drive fails that is
part of a VGroup (spanned across PV's, not Raid0), specifically in a
active VG. Does LVM continue working as though there was a large sector
failure? What happens if the first physical drive that the VG was
created on fails? Is the entire Volume lost?

I've hypothosized a mitigation method for the first physical drive
failing. I would create the VG on an SD card so that all of the metadata
would be stored there, and if a moving drive fails, it wouldn't take the
LVM with it. This would also an easy way to have a remote dd image of
any other important volume metadata (e.g. Luks). But before I do this,
I'd like some ideas on paramaters. Would turning on the write protect
lock cause any issues, after all PV's are added, to writing to the HDD
with EXT4? What would be an optimal SD size? I'm guessing 256MB would be
sufficient, but I don't want to worry about messing up EXT4's superblocks.

Thanks for the help.

                 reply	other threads:[~2009-09-18  1:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4AB2E0E4.70205@gmail.com \
    --to=benjamin.kingston@bencloud.net \
    --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;
as well as URLs for NNTP newsgroup(s).