I'm installing RHEL 3 EL on a server where I have already built the file systems. Some of the file systems are on physical volumes and some are on logical volumes. Apparently kickstart will not let me use the existing logical volumes, or I haven't figured out the syntax to do so. Will kickstart let me specify existing logical volumes? If so, how?
Had I build the file systems with kickstart, here's how it would have looked:
clearpart -linux part /boot --fstype ext3 --size 100 -ondisk sda part swap --size 8196 --ondisk sda part / --fstype ext3 --size 1 grow --ondisk sda
part pv.01 --size 1 --grow -ondisk sdb volgroup vg01 pv.01 logvol /opt --vgname=vg01 --size=30720 --name=opt logvol /var --vgname=vg01 --size=30720 --name=var logvol /var/ftp/pub --vgname=vg01 --size=61440 --name=pub
Having built the file systems in advance, I tried this syntax:
clearpart --none part /boot --> part swap --> part / --> part /opt --> part /var --> Part /var/ftp/pub -->
The Kickstart failed, complaining about the /dev/vg01. It did not like plain vg01 when I took off the /dev/. Any suggestions on what it might like?
Thanks.
Andrew Robinson
|