Issue using --percent with "logvol" in RHEL 6 kickstart file
Jeff Wells
jwells at rackspace.com
Tue Jun 14 19:58:10 UTC 2011
I have tried adding the --size and --grow based on the the RHEL 6 documentation but still get the same error:
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 --vgname=vglocal00 --size=2048 --name=tmp00
logvol /var/log --vgname=vglocal00 --fstype ext4 --size=1 --name=log00 --grow --percent=10
logvol / --vgname=vglocal00 --fstype ext4 --size=1 --name=root00 --grow --percent=90
On Jun 14, 2011, at 2:17 PM, Jeff Wells wrote:
> 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.
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
This email may include confidential information. If you received it in error, please delete it.
More information about the Kickstart-list
mailing list