Re: [Hampshire] LVM + Raid Question

Top Page

Reply to this message
Author: Daniel Llewellyn
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] LVM + Raid Question
there's two answers to this: yes and no, depending upon which order you're
talking.

1) if you mean adding a software raid on top of a pair of LVs then no it's
not a good idea, as you have no reliable means of determining where abouts
on the disk each LV goes. even if each LV is in a separate VG you still
suffer the problem that a software raid device is unpartitionable so you
lose flexibility, which LVM would ordinarily allow.

2) if you mean adding LVM on top of software raid, then yes this is
standard practice and is a very good thing to do when you require
redundancy, as you still have the flexibility of LVM and the disk-level
redundancy of RAID.

the two appear semantically as follows:
1) disk/partition -> LVM -> RAID (bad)
2) disk/partition -> RAID -> LVM (good)


On 11 April 2013 16:54, Ally Biggs <bluechrome@???> wrote:

> Hi Guys Running Ubuntu Server currently have two 160GB hard disks setup as
> a LVG. Partition scheme isn't fancy it was created as a means of learning.
>
> 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
>
> Or is there a better approach?
>
> Many Thanks
>
> Ally
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------
>




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