All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] What if...
@ 2000-11-21 14:59 Patrick Scharrenberg
  2000-11-21 18:35 ` Andreas Dilger
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Scharrenberg @ 2000-11-21 14:59 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] What if...
  2000-11-21 14:59 [linux-lvm] What if Patrick Scharrenberg
@ 2000-11-21 18:35 ` Andreas Dilger
  2000-11-21 20:15   ` Steven Lembark
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Dilger @ 2000-11-21 18:35 UTC (permalink / raw)
  To: Patrick Scharrenberg; +Cc: linux-lvm

Patrick writes:
> 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
-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] What if...
  2000-11-21 18:35 ` Andreas Dilger
@ 2000-11-21 20:15   ` Steven Lembark
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Lembark @ 2000-11-21 20:15 UTC (permalink / raw)
  To: linux-lvm


> > 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 :-].

-- 
 Steven Lembark                                   2930 W. Palmer St.
                                                 Chicago, IL  60647
 lembark@wrkhors.com                                   800-762-1582

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-21 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-21 14:59 [linux-lvm] What if Patrick Scharrenberg
2000-11-21 18:35 ` Andreas Dilger
2000-11-21 20:15   ` Steven Lembark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.