[linux-lvm] LVM and RAID

Toad toad at amphibian.dyndns.org
Mon Nov 10 11:13:09 UTC 2003


On Tue, Nov 04, 2003 at 01:21:51PM +0000, Geoff Dolman wrote:
> 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.

Does the kernel autodetection work in this case? Would you need to
partition /dev/md0 into a boot partition and an LVM PV?
> 
> -- 
> Geoff Dolman
> JDRF/WT Diabetes and Inflammation Laboratory
> Cambridge Institute for Medical Research
> University of Cambridge
> http://www-gene.cimr.cam.ac.uk/todd/
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20031110/e90338a4/attachment.sig>


More information about the linux-lvm mailing list