Bug 77266
Summary: | Installer crashes when trying to partitioning LVM drives using kickstart file | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Danilo Aghemo <danilo.aghemo> | ||||
Component: | anaconda | Assignee: | Michael Fulbright <msf> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 8.0 | CC: | denis.courtier | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-02-27 17:08:31 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: |
|
Description
Danilo Aghemo
2002-11-04 15:47:10 UTC
You are starting from the anaconda-ks.cfg that the installer creates? I took the original anaconda-ks.cfg, uncommented the #part line, the modifified the clearpart into a clearpart --all --initlabel and added a zerombr yes. Moreover, today, i made a try with no LVM support, just plain partition, using - -start, --end and --ondisk... their values has been taken by a previous manual installation. The installation failed saying theat it cannot use cylinder parameters. If you need I can post the incriminated kickstart file. Yes the ks file would be very helpful. Created attachment 86269 [details]
one of the many kickstart files i used to reproduce the problem
Thank you for the information we will try to investigate. If you try to give more 'buffer' on the logical volumes between the requested size and the size of the volume group does it help? For example, make the size requests 14000 instead of 14696. Then add a '--grow' so they will fill up the remaining space. Yes, i tried even with 14000 instead of 14696. I've not tried 14000 with '-- grow', but I don't think that this would be a problem... If you remove the '--primary' from one (or more) of the partition requests does that help? I was able to use your ks file w/o problems. Closing due to inactivity - please reopen if you have additional information to add to this report. Hello, I've the same pb: kickstart crashed with the message: SystemError: vgcreate failed for vg01 If I reboot and re-install with kickstart, it works. And again: if I re-install with kickstart, it will failed again, even if I remove the partitions on both disks. Please notice that my partitions are created exactly as expected, (and in the good order since I've removed "asprimary" on lvm partitions). This is a part of my ks.cfg: bootloader --location=mbr clearpart --all --initlabel --drives hda,hdb zerombr yes #Disk partitioning information # Disk1 part /boot --fstype ext3 --ondisk hda --size 75 --asprimary part swap --fstype swap --ondisk hda --size 512 --asprimary part / --fstype ext3 --ondisk hda --size 256 --asprimary part pv.01 --ondisk hda --size 3600 --grow volgroup vg00 pv.01 logvol /var --fstype ext3 --name=var --vgname=vg00 --size 384 logvol /opt --fstype ext3 --name=opt --vgname=vg00 --size 512 logvol /usr --fstype ext3 --name=usr --vgname=vg00 --size 2048 logvol /home --fstype ext3 --name=home --vgname=vg00 --size 256 # Disk2 part /boot2 --fstype ext3 --ondisk hdb --size 75 --asprimary part pv.02 --ondisk hdb --size 1000 --grow volgroup vg01 pv.02 logvol /devicesI --fstype ext3 --name=devicesI --vgname=vg01 --size 1024 Thank you for your help. |