Skip to contentSkip to conversation

What if...

linux-lvm Patrick Scharrenberg 3 participants 3 messages Nov 21, 2000

lore
Share & tools
lore
#0 lore raw

Hi

I'm quite new to lvm and I have got one question..

If I have a VG over 3 harddisks and one logical volume using all the VG space,
then what will happen if one harddisk fails? Is the whole date lost, or only the
data which was stored on the failed disk?

thanks
c.u.
..patrick

#1 lore raw
Quoted 3 lines · Patrick

If I have a VG over 3 harddisks and one logical volume using all the VG space, then what will happen if one harddisk fails? Is the whole date lost, or only the data which was stored on the failed disk?

If you have ext2 on the disks, and the last one fails then you _may_ be able to get back most of the data on the first two disks. However, it is a lot easier to get your data back from a backup. You can use RAID 5 to help with single disk failures, but it still isn't a substitute for a backup.

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
#2 lore raw
Quoted 10 lines
Quoted 4 lines

If I have a VG over 3 harddisks and one logical volume using all the VG space, then what will happen if one harddisk fails? Is the whole date lost, or only the data which was stored on the failed disk?

If you have ext2 on the disks, and the last one fails then you _may_ be able to get back most of the data on the first two disks. However, it is a lot easier to get your data back from a backup. You can use RAID 5 to help with single disk failures, but it still isn't a substitute for a backup.

common habit w/ LVM systems is to have LV's spread over multple PV's. common use of LVM is to make nice, big, juicy LV's to use up all the PV's.

q.e.d., RAID is pretty much a necessity. given linux' 4k page size, a 1K chunk on 4 drives running RAID-5 gives nice performance and lets you spread out the LV's w/ impunity [somewhat :-].

Signature · 3 lines
 Steven Lembark                                   2930 W. Palmer St.
                                                 Chicago, IL  60647
 [email protected]                                   800-762-1582