LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Kickstart & logical volumes (http://www.linuxquestions.org/questions/red-hat-31/kickstart-and-logical-volumes-598098/)

Corrado 11-08-2007 12:23 PM

Kickstart & logical volumes
 
I am trying to get my ks.cfg (kickstart file) to configure logical volumes but it doesn't seem to be working.

Anyone familar with how to get kickstart to create such things?
What are the lines to look like in ks.cfg.

Chris

Corrado 11-08-2007 12:45 PM

Here are the lines from my ks.cfg......

Quote:

part pvt00 --fstype ext3 --size=100 --grow --asprimary
volgroup vg00 pvt00
logvol /vmaware --vgname=vg00 --size 32000 --name=lvl1
logvol /v --vgname=vg00 --size 32000 --name=lvl2
logvol /deploy --vgname=vg00 --size 12000 --name=lvl3
logvol /tmp --vgname=vg00 --size 32000 --name=lvl4
Where am I going wrong?

Chris

DotHQ 11-14-2007 01:03 PM

Here is the disk section from one of my anaconda files.

It has two logical drives, sda and sdb
the clearpart will wipe all data from the disks.

clearpart --all --drives=sda,sdb
part /boot --fstype ext3 --size=102 --ondisk=sda
part pv.42 --size=550000 --ondisk=sda
part /usr --fstype ext3 --size=10240 --ondisk=sda
part /home --fstype ext3 --size=10240 --ondisk=sda
part swap --size=4096 --ondisk=sda
part / --fstype ext3 --size=4096 --ondisk=sda
part /var --fstype ext3 --size=2048 --ondisk=sda
part /tmp --fstype ext3 --size=2048 --ondisk=sda
part /log2 --fstype ext3 --size=100 --grow --ondisk=sdb
volgroup VolGroupLog1 --pesize=32768 pv.42
logvol /log1 --fstype ext3 --name=LogVol_log1 --vgname=VolGroupLog1 --size=549952


All times are GMT -5. The time now is 12:37 AM.