Google
  Web www.spinics.net

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

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


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@xxxxxxxxxxxxx, and delete the original message.
> Your cooperation is appreciated.
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list

This email may include confidential information. If you received it in error, please delete it.


_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[Home]     [Fedora Users]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net