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

Re: [linux-lvm] LVM and RAID



Hi Everybody,

I tried it exactly as Martin says and it works until you try to reboot. On
my Red Hat 9 soft RAID would not be restarted since my entry in fstab is in
the form:
/dev/testvg/mylv   /export/home  ........

I found the work around for that issue ie: since rc.sysinit looks for md
entry in fstab you need to set INFSTAB variable =1 in rc.sysinit then soft
RAID will start and your LVM file system will be mounted.

Since I'm new to the group I hope I'm not saying obvious things. I only had
to do that to get mirroring  since I wasn't able to install LVM2 on Red Hat
9.

Regards
Wojtek
----- Original Message ----- 
From: "Martin Mosny" <mmosny postel sk>
To: "Tobias Gablunsky" <linux-lvm sistina com>
Sent: Tuesday, November 04, 2003 2:07 PM
Subject: 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-----
> -)îÆ[æT¨¥Sx%SËeS{±-ù¬SËb?§(sm§ÿåSËl²+-Svo¢oæj)fjåSËb?ú?-)îÆ[æ­æ?¶<TÁÎY3
s¶m§ÿí.Úh®Ç9dÎüµLå"




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