Once upon a time, Jason L Tibbitts III <tibbs@xxxxxxxxxxx> said: > I'm trying to kickstart some machines using LVM on top of software > RAID volumes, but anaconda is crashing in various ways and I'm > wondering whether or not it's even possible. It is possible. I've got: part raid.01 --ondisk=sda --size=$boot --asprimary part raid.02 --ondisk=sdb --size=$boot --asprimary part raid.03 --ondisk=sdc --size=$boot --asprimary part raid.04 --ondisk=sdd --size=$boot --asprimary part raid.05 --ondisk=sda --size=1 --grow --asprimary part raid.06 --ondisk=sdb --size=1 --grow --asprimary part raid.07 --ondisk=sdc --size=1 --grow --asprimary part raid.08 --ondisk=sdd --size=1 --grow --asprimary raid /boot --level=1 --device=md0 --fstype=ext3 raid.01 raid.02 raid.03 raid.04 raid pv.10 --level=1 --device=md1 raid.05 raid.07 raid pv.20 --level=1 --device=md2 raid.06 raid.08 volgroup $vol pv.10 pv.20 logvol / --name=root --vgname=$vol --fstype=ext3 --size=$root logvol swap --name=swap --vgname=$vol --fstype=swap --size=$swap logvol /usr --name=usr --vgname=$vol --fstype=ext3 --size=$usr logvol /tmp --name=tmp --vgname=$vol --fstype=ext3 --size=$tmp logvol /var --name=var --vgname=$vol --fstype=ext3 --size=$var logvol /usr/local --name=usrlocal --vgname=$vol --fstype=ext3 --size=$usrlocal in a ks.cfg file working fine (this is generated in my %pre section, which calculates filesystem sizes there and names the volume group according to the hostname). <snip config> That pretty much looks okay to me. > Also, is there any way to specify the PS size when creating a volume > group? I know you can do it when setting things up manually. Anaconda doesn't support passing any extra options to the LVM commands. Since I'm using multiple physical volumes in one logical volume and striping, I had to pass "-i 2 -I 512" to lvcreate to get striping with a certain stripe size. In my %pre, I do: cp /usr/sbin/lvcreate /tmp/lvcreate.bin cat > /tmp/lvcreate <<EOF #!/bin/sh exec /tmp/lvcreate.bin -i 2 -I 512 \$@ EOF chmod +x /tmp/lvcreate mount /tmp/lvcreate /usr/sbin/lvcreate -o bind You should be able to do something like that to add extra options for any of the external commands. -- Chris Adams <cmadams@xxxxxxxxxx> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble.