On Mon, 1 Oct 2007, Vanco, Don wrote:
Does anyone have a generic (or not) kickstart file with LVM in it they'd send me?
Here's the partition section of one of my Kickstart files: ignoredisk --drives=sda clearpart --all --drives=hda part /boot --fstype ext3 --size=100 --ondisk=hda part pv.01 --size=100 --grow --ondisk=hda volgroup VolGroup00 pv.01 logvol swap --fstype swap --name=swap --vgname=VolGroup00 --size=2048 logvol / --fstype ext3 --name=root --vgname=VolGroup00 --size=100 --grow I boot off of USB drives, so I want to ignore /dev/sda -- the USB drive -- when installing. Then I create a non-LVM /boot partition and give the rest of the drive to a single PV, out of which I create a single VG; the last two lines create the two partitions, a 2Gb swap partition and the remainder to / Here's a slightly more complicated section that uses md to RAID the two disks in the machine together, then do LVM magic on one of the md devices I create: ignoredisk --drives=sdc clearpart --all --drives=sda,sdb part raid.01 --size=128 --ondisk=sda part raid.02 --size=128 --ondisk=sdb part raid.03 --size=100 --grow --ondisk=sda part raid.04 --size=100 --grow --ondisk=sdb raid /boot --fstype ext3 --level=RAID1 --device=md0 raid.01 raid.02 raid pv.01 --fstype ext3 --level=RAID1 --device=md1 raid.03 raid.04 volgroup VolGroup00 pv.01 logvol swap --fstype swap --name=LogVol00 --vgname=VolGroup00 --size=2048 logvol / --fstype ext3 --name=LogVol01 --vgname=VolGroup00 --size=100 --grow Hope that helps. Chris St. Pierre Unix Systems Administrator Nebraska Wesleyan University _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
