[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM and RAID



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

As Goetz Bock say - just use 0xFD for raid

   Device Boot    Start       End    Blocks   Id  System
/dev/hda3           138      9729  77047740   fd  Linux raid autodetect

make all the raid stuff:

raiddev             /dev/md1
raid-level                  1
nr-raid-disks               2
chunk-size                  64k
persistent-superblock       1
nr-spare-disks              0
    device          /dev/hda3
    raid-disk     0
    device          /dev/hdb3
    raid-disk     1

after them make all the lvm stuff

- --
Best regards
     Martin Mosny

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQA/AwUBP6ekmJdguByG9Q4aEQIjTgCgsg/JtvApZ9n/+UL0aMxaw9EWlP8AoPNH
YZrCN2UFMQHiyEOfnL5fEm3P
=bNPf
-----END PGP SIGNATURE-----

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]