From: "Stuart D. Gathman" <stuart@bmsi.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] HDD failure - please help!
Date: Wed, 1 Sep 2010 13:14:35 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.1009011303260.3640@bmsred.bmsi.com> (raw)
In-Reply-To: <2E9263050F8EE046972BE0510E7A71DA062D2F52@SH-EXCHBE2.master.lsuhsc.edu>
On Wed, 1 Sep 2010, Patterson, James wrote:
> I have a system running FC11 with five HDDs, ~2 TB of space, all in a
> logical volume. It was my presumption that the LVM system functioned
> sort of like a raid system (I know you can run striped, for instance).
The only RAID like redundancy that LVM supports is mirroring (like RAID1), but
only if you create the LVs as mirrored. Striping (like RAID0) actually
makes your data *more* vulnerable (but faster).
If you wanted RAID5, your best bet on linux is the md driver. Or else
a hardware RAID controller.
> I am at a loss as to what to do - I'm thinking that there must be a way
> to recover the data on the remaining four drives. Surely this LVM system
> is not going to cause me to lose the data on all five drives because one
> of them failed?
If the LVs were striped, then yep, that is the nature of striping. And
even if you had properly configured RAID 5 or mirroring and where immune
to hard drive failure, there is always the fat finger failure ("rm -rf /"
and its more subtle ilk).
Since you don't have any details on exactly what kind of LVs you
created, your first step is getting a copy of the metadata. There
should be a copy at the beginning of each drive.
If you had a single logical volume, and you were configured as jbod (Just
a Bunch of Disks), then you should look back a month or so in the archives
where another user made the same mistake, but got a significant portion
of his data back from the good drives. I won't repeat the steps here.
(You'll need an external USB adapter, freezer, new drive to replace failed,
etc).
Hopefully, you've learned your lesson and won't presume (or assume) next time.
--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
next prev parent reply other threads:[~2010-09-01 17:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-01 16:57 [linux-lvm] HDD failure - please help! Patterson, James
2010-09-01 17:14 ` Stuart D. Gathman [this message]
[not found] <mailman.25972.1283360318.9817.linux-lvm@redhat.com>
2010-09-02 11:50 ` Patterson, James
2010-09-02 15:22 ` Stuart D Gathman
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=Pine.LNX.4.64.1009011303260.3640@bmsred.bmsi.com \
--to=stuart@bmsi.com \
--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).