[clug] Mirroring boot disk on Debian

Andrew Pollock me at andrew.net.au
Thu Nov 18 09:13:49 GMT 2004


On Wed, Nov 17, 2004 at 02:57:29PM +1100, Paul Hampson wrote:
> On Wed, Nov 17, 2004 at 02:08:36PM +1100, Martin Pool wrote:
> > LVM is a separate layer to RAID.  Typically you will mirror your disks
> > into md0, then run LVM on top of that, then filesystems on top of the
> > logical volumes.
> 
> >   http://www.aplawrence.com/Linux/lvm.html
> 
> > I don't know if the Debian installer lets you configure this.  I would
> > try booting into a shell, setting up your disks, then continuing on.
> 
> The Debian installer _almost_ supports it. You need a non-LVM partition
> to boot from (can be MD, but the installer will fret that it can't boot
> from it... grub handles it OK though, so you can ignore this complaint)
> and then you can have a second md partition with all your LVM volumes on
> it (or any other LVM on MD layout you wish)
> 
> However, the installer won't create LVM physical volumes on MD volumes,
> so you have to create your MD volumes in the installer, then hop into a
> shell and use pvcreate and vgcreate to create your physical volume(s) (I
> did this with one PV for a single MD Raid1 pair, and a single VG
> "Mirrored" on that, so it was almost a degenerate case) and then go back
> into the partitioner program and out again (or format the other md
> partition, just do something to make it reload the partition table) and
> then use the LVM support in the partitioner to make your LVM LVs. The
> LVM support can also create your VGs, but I've never tried that, so I
> don't know if it works with hand-made PVs.

The last time I tested d-i, it was up to making LVM physical volumes on MD
volumes.
 
regards

Andrew

-- 
linux.conf.au 2005   -  http://lca2005.linux.org.au/  -  Birthplace of Tux
April 18th to 23rd   -  http://lca2005.linux.org.au/  -       LINUX
Canberra, Australia  -  http://lca2005.linux.org.au/  -    Get bitten!


More information about the linux mailing list