Issue using --percent with "logvol" in RHEL 6 kickstart file

Jeff Wells jwells at rackspace.com
Tue Jun 14 19:17:14 UTC 2011


Issue:
When kicking with percent-based partitions, the logical volume creation errors.
logvol / --vgname=myvg --size=1 --name=rootvol --grow --percent=90

Error:
An error was encountered while activating your storage configuration
lvcreate failed for vglocal00/log00: 11:30:57,333 ERROR: Unable to create new logical volume with no extents

Bugfix:
http://rhn.redhat.com/errata/RHBA-2011-0530.html

Based on the bug report, it appears to be fixed in RHEL 6.1 but I am still getting the error.

Has anyone else seen this or have a workaround?  This is the partitioning scheme I am trying to accomplish:

part /boot --fstype "ext3" --size=250 --asprimary
part pv.01   --size=1 --grow --ondisk=sda
volgroup vglocal00 pv.01
logvol swap     --fstype swap --name=swap00 --vgname=vglocal00 --size=2048
logvol /tmp        --fstype ext4 --name=tmp00  --vgname=vglocal00 --size=2048
logvol /var/log    --fstype ext4 --name=log00  --vgname=vglocal00 --percent=10
logvol /        --fstype ext4 --name=root00 --vgname=vglocal00 --percent=90

Thanks,

--
Jeff Wells - Supervisor, RHCE
OS Deployment Services | Kickstart & RPM Dev
Rackspace.com




Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is prohibited.
If you receive this transmission in error, please notify us immediately by e-mail
at abuse at rackspace.com, and delete the original message.
Your cooperation is appreciated.





More information about the Kickstart-list mailing list