[Gllug] RAID LVM and all that
Christian Smith
csmith at thewrongchristian.org.uk
Thu Dec 27 17:10:56 UTC 2007
Ken Smith uttered:
> Now my question is this. I know there is a little bit of magic in the
> NASH script that the boot loader runs where (I think this is right) just
> at the end of the kernel initialisation LVM is switched on and the
> system starts to mount the filesystems in the right places. In this
> system the majority of the system is in VolGroup01/LogVol00. So if I
> move that LV onto a raid set will the whole thing fall in a heap not
> being able to find its filesystems? Or does MD get turned on before LVM
> so that it will all hang together just fine?
Your distro should be clever enough to turn on MD before LVM as required.
You'll want a RAID-1 /boot partition, so your machine can boot with any
one of the disks missing (test this!) and the rest of each disk can be
RAID-5 on top of which LVM is used.
You should be able to build the RAID set(s) then migrate you existing LVs
to the new RAID set using a combination of vgextend/pvmove/vgreduce.
>
> Thanks in advance
>
> :-)
>
> Ken
>
>
>
--
/"\
\ / ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
X - AGAINST MS ATTACHMENTS
/ \
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list