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

Jeff Wells <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <14177_1308079037_p5EJHBon015638_E90B420F-940C-40DC-A0E0-300118069E5F@rackspace.com>
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 [email protected], and delete the original message.
Your cooperation is appreciated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.