Bug 683420
Summary: | Anaconda: kickstart doesn't correctly count space for LVM on top of RAID with --grow used | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Pavel Snajdr <psnajdr> | ||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team-automation> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.0 | CC: | strobert | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-03-09 15:16:13 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
part --size=1 --grow is really not good syntax to use. You need to give a minimum --size= that will actually work to hold data, not just use the smallest number you can think of. FYI, with RHEL6.3 at least this issue has been addressed. not sure when between 6.0 and 6.3, but with 6.3 it is worked as expected now. As for "just use the smallest number you can think of", please see the RHEL documents on the subject: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-kickstart2-options.html https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-options.html from those Install guide docs you will see this: part raid.11 --size=1 --grow --ondisk=sda part raid.12 --size=1 --grow --ondisk=sdb part raid.13 --size=1 --grow --ondisk=sdc so the "size=1" is actually in the examples on how to do the RAID setup in kickstart. and it makes it the simplest approach to do a consistent raid setup on varying hardware. |
Created attachment 483170 [details] Kickstart used Description of problem: When trying to install RHEL6 on a virtual machine (Virtual Box) with 4x 8GB hard drives, (or even tried on a physical machine with 4x 750GB drives) using following scheme: sda: 256MB for raid1 for /boot [8GB-256M] for raid10 for LVM vgname=vgrp sdb 256MB for raid1 for /boot [8GB-256M] for raid10 for LVM vgname=vgrp sdc 256MB for raid1 for /boot [8GB-256M] for raid10 for LVM vgname=vgrp sdd 256MB for raid1 for /boot [8GB-256M] for raid10 for LVM vgname=vgrp vgrp 300MB swap the rest of the space for / ext4 It fails with Not enough free space for logical volume. Tried with RHEL 6.0 and SL 6.0