[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] software mirroring



On Friday, 06 September 2002, at 09:51:00 -0400,
Scott Savarese wrote:

> I am trying to set up mirroring on my system with LVM. Is there a command
> to do it in LVM, or do I need the raidtools as well?
> 
The best configuration would be a LVM setup on top of some kind (RAID1
for mirroring) of software or hardware RAID. This way you get the
benefits of both RAID (redundancy) and LVM (space management and
snapshots among others).

> The ultimate goal is a completely mirrored harddrive so that I if my boot
> drive fails (on that disk are /, swap, and /boot) I can swap the two
> drives and reboot.
> 
If one physical drive fails in a RAID1 configuration you shouldn't need
to reboot the box, and the failure would go mostly unnoticed to you.

> Or is it preferered to create LV's with LVM, and then run RAID ontop of
> the LVM disks? (and then mirror /boot seperately).
> 
Better the other way: RAID on top of physical disks (to get protection
against a disk failure) and above RAID (be it sotf or hard) LVM (the
inner layer gives you RAID1 capabilities, and LVM works as usual).

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]