lvm over raid

Jeremy Katz katzj at redhat.com
Mon Aug 9 18:25:45 UTC 2004


On Thu, 2004-08-05 at 12:09 -0700, Tobias Speckbacher wrote:
> I know how to configure a raid in Kickstart, I also know how to
> configure lvm via Kickstart.
> 
> Combining the 2 seems to be a challenge.
> 
> Here is what I got:
> 
> 2 x 9GB
> 2 x 146GB
> 
> I want to combine the 2 9GB via raid 1, same with the 146GB drives.
> 
> Now I want to create an lvg out of the 2 containers (minus /boot and
> swap).

You want something like the following:

part /boot --size=100 --ondisk=sda
part raid.01 --size=1 --grow --ondisk=sda
part raid.02 --size=1 --grow --ondisk=sdb
part raid.03 --size=1 --grow --ondisk=sdc
part raid.04 --size=1 --grow --ondisk=sdd
raid pv.01 --level 1 raid.01 raid.02
raid pv.02 --level 1 raid.03 raid.04
volgroup vg01 pv.01 pv.02
logvol / --vgname=vg01 --size=8000 --name=root --fstype=ext3
logvol swap --vgname=vg01 --size=1024 --name=swap --fstype=swap


Cheers,

Jeremy





More information about the Kickstart-list mailing list