RE: Setting physical extent size for LVM in ks.cfg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Whoops!  My LVM configuration is wrong below.  I took from a bad ks.cfg.  It should be:

 

part /boot --fstype ext3 --size=100 -->

part pv.1 --size=30000 -->

volgroup rootvg pv.1

logvol swap --fstype swap --name=swaplv1 --vgname=rootvg --size=2000

logvol /opt --fstype ext3 --name=optlv --vgname=rootvg --size=4000

logvol /var/crash --fstype ext3 --name=varcrashlv --vgname=rootvg --size=4000

logvol /var --fstype ext3 --name=varlv --vgname=rootvg --size=3000

logvol /tmp --fstype ext3 --name=tmplv --vgname=rootvg --size=2000

logvol /usr --fstype ext3 --name=usrlv --vgname=rootvg --size=4000

 

I also seen some other posts about this problem and it looks like an anaconda limitation with LVM.  Looks like someone has been able to configure this size in the %pre section?  I’ve tried several things with no success.  Any help in this area is appreciated.

 

Thx!

 

 

-----Original Message-----
From: Martinez, Carlos R
Sent: Monday, February 09, 2004 10:15 PM
To: 'kickstart-list@xxxxxxxxxx'
Subject: Setting physical extent size for LVM in ks.cfg

 

What is the correct syntax in setting the PE size for a volume group?  You can set it through the manual graphical interface. 

 

This is what I have in my ks.cfg file (which works…) but the PE size defaults to 4 MB:

 

part /boot --fstype ext3 --size=100 -->

part pv.1 --size=1 -->

volgroup rootvg pv.1

logvol swap --fstype swap --name=swaplv1 --vgname=rootvg --size=2000

logvol /opt --fstype ext3 --name=optlv --vgname=rootvg --size=4000

logvol /var/crash --fstype ext3 --name=varcrashlv --vgname=rootvg --size=4000

logvol /var --fstype ext3 --name=varlv --vgname=rootvg --size=3000

logvol /tmp --fstype ext3 --name=tmplv --vgname=rootvg --size=2000

logvol /usr --fstype ext3 --name=usrlv --vgname=rootvg --size=4000

 

Is there any really good documentation for this?

 

 

 

 


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux