On Fri, Sep 23, 2005 at 09:36:03AM +1000, Rafael Kraus wrote:
> >Eh?  You just create a RAID partition, and then lay LVM on the md 
> >device.[1]
> >The kernel/initrd just works it all out and you've got /dev/mapper/vg-lv to
> >play with once the system's booted.  You can even put your root partition 
> >on
> >it (although you do need to have a non-LVM /boot partition, but that's easy
> >enough to manage with a separate little partition at the front of the 
> >disk).
> 
> So... you've done this in Debian Sarge...? hrmm... and pray tell exactly 
> how?

Off the top of my head:

Create a partition on the first HDD of about 100MB in size, select /boot as
the mount point.  Make a partition on the first HDD of the same size, leave
it unused.  Make partitions on the rest of both HDDs and mark them as being
used for RAID (can't remember the exact wording, but you get to it by
selecting the option which, by default, says "Ext3 filesystem").  Return to
the main partitioning page (it'll probably do that by itself) and select
"manage RAID partitions" (or something similar).  Go in there, mark the two
large chunks as being a RAID 1 volume (can't remember exactly what you need
to select to do that, I only did it once long ago).  Head back out to the
main partitioning screen, you'll now have a /dev/md0 to select from.  Take
that, select "use as LVM" (instead of Ext3 again).  Go into "manage LVM
volumes" from the main screen, select "manage volume groups", "create volume
group", check the md0 partition to add to the VG, choose a name, head back
to the main LVM page, select "manage logical volumes", then run through the
"create logical volume" screen as often as you need to create the LVs you
want on your new system.

If you know all the options to follow, it takes about 90 seconds to do in
total.  Some bits above might be a bit inaccurate, I'm going from memory
because I don't have a spare machine to put through a boot sequence right
now to get all the exact sequencing.

- Matt

Attachment: signature.asc
Description: Digital signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to