[linux-lvm] LVM and RAID
geoff.dolman at cimr.cam.ac.uk
Tue Nov 4 07:23:02 UTC 2003
On Tue, 2003-11-04 at 13:09, Tobias Gablunsky wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > On Tuesday 04 November 2003 11:49, Tobias Gablunsky wrote:
> > > Hi all!
> > >
> > > I didn't find clear information about how to use LVM on an
> > (Software)
> > > RAID-Mirror (or RAID-5). All I found, were problems: LVM
> > uses Partition
> > > Type
> > 0x8E but Linux Soft-RAID uses 0xFD - this dosn't look very
> > > compatible... A solution would be to use Hardware-RAID of
> > course. But I'm
> > > wondering if there is a way to use Software-RAID and LVM
> > together - I
> > > cannot believe that I am the first one with this question! Am I?
> > I just created the software raid, and pointed pvcreate at it.
> > Works like a charm.
> Well thats fine but if you want your kernel to boot use your RAID-Volumes
> automatically you have to give it partition type 0xFD. And if you want
> automatically mounted LVM you need to give it the partition type 0x8E
But why? Your RAID set will be made on say /dev/hda1 and /dev/hdb1
creating say /dev/md0, but your lvm partition will exist on /dev/md0.
JDRF/WT Diabetes and Inflammation Laboratory
Cambridge Institute for Medical Research
University of Cambridge
More information about the linux-lvm