[linux-lvm] LVM and Kickstart

Jim Owenby jowenby at ti.com
Wed Dec 1 13:35:51 UTC 2004


Is there any examples of using LVM on RedHat 3.x in a kickstart 
script? I am trying to creat one large LVM partion accross 3 drives to 
about 400G and I am not having any luck at it.

I have tired the following in the ks.cfg file:
# partition information
clearpart --all
 part /boot --fstype ext3 --size=100 --ondisk=sda
 part swap --size=8192 --ondisk=sda
 part / --fstype ext3 --size=8192 --ondisk=sda
 part pv.15 --size=100 --grow --ondisk=sdc
 part pv.13 --size=100 --grow --ondisk=sdb
 part pv.11 --size=100 --grow --ondisk=sda
 volgroup Volume00 pv.11 pv.13 pv.15
 logvol /tmp --fstype ext3 --name=LogVol00 --vgname=Volume00 
 --pesize=16384 --size=354500

Jim Owenby
Texas Instruments Inc
P.O. Box 660199 M/S 8714
Dallas, Tx. 75265
Design Systems,Compute Team
Unix/Linux Administrator
Ph: 214.480.4082
Cell: 214.882.3831
Email: jowenby at ti.com





More information about the linux-lvm mailing list