From: lembark@wrkhors.com
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Do I loose all my data if one disk crashes?
Date: Wed May 1 17:35:02 2002 [thread overview]
Message-ID: <16520000.1020292445@duke.wrkhors.com> (raw)
In-Reply-To: <3CD06BAB.7080905@uci.edu>
-- Dave Newman <newman@uci.edu> on 05/01/02 15:26:51 -0700
> Hi --
>
> I just installed lvm on three 160 GB IDE hard drives, giving me a singe 480
> GB partition.
Not possible. You have combined the storage from 3 Phyiscal Volumes
("PV") into a single Volume Group ("VG"). After this point you can
create Logical Volumes ("LV") w/in the VG.
Whether you loose data when a VG croaks depends on whether
your LV's are spread across multiple VG's. This is often
done either for the increased space or to improve performance
(by striping the LV in kernel-page sized chunks). If your
filesystem is striped and any disk it's on croaks then you
will loose whatever data is on the dead disk [until it's
restored from the backup that you obviously intend to make
if you're dealing with have a TB of data].
If you have multiple LV's and they are all kept on a single
drive then only the LV's on the one PV will have to be restored.
I'd suggest if you're dealing with this much data that
a RAID system would be worth it. RAID5 isn't all that
expensive to install (one more drive in this case) and
can save you many, many hours restoring data.
In this case you'd want a RAID5 w/ 4k stripe (4 x 1K chunk)
(4k is standard page size for linux ext[23], change this
number to match whatever file system page you really use).
The RAID will combine the disks into a single unit for you,
so the VG will use a single PV. LVM is still useful here for
managing the individual LV's (e.g., growing them as time
goes along). It would also be useful to have LVM in the case
where your physical storage has to grow. Just add another
RAID5 setup, add it to the VG and expand onto it.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
next prev parent reply other threads:[~2002-05-01 17:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-01 17:25 [linux-lvm] Do I loose all my data if one disk crashes? Dave Newman
2002-05-01 17:35 ` lembark [this message]
2002-05-01 17:38 ` Adrian Head
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=16520000.1020292445@duke.wrkhors.com \
--to=lembark@wrkhors.com \
--cc=linux-lvm@sistina.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