Re: [Hampshire] LVM + Raid Question

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: Re: [Hampshire] LVM + Raid Question

> The question is I wish to add some form of redundancy to the LVG was
> thinking of a RAID-1 mirror is it a good idea to run LVM with software
> raid via mdadm


That sort of depends on what you mean by "redundancy".

RAID gives you some protection against disk failure. It does nothing to
prevent you destroying your filesystem...

But if you're trying to add a disk to create a RAID-1 setup, and you don't
have a third disk, the best way forward IMO is to create a "degraded"
RAID-1 out of your new disk. This is just like a RAID-1 where one disk has
failed; it gives you no protection in itself, but you can copy your data
onto it. Once you're happy that the data is safe, you can re-purpose the
original disk to be the other disk in the array, and let the RAID rebuild
itself.

This is hazardous whilst the array is degraded - but no more so that the
single disk in the first place.

HTH

Vic.


--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------