Description of problem: When doing a default installation of current rawhide on a system without any raid, anaconda fails when creating the lv for the swap partition: Running... ['lvm', 'lvcreate', '-L', '1952m', '-n', 'lv_swap', '--config', ' devices { filter=["r|fd0|"] } ', 'vg_erika'] Insufficient free extents (487) in volume group vg_erika: 488 required Version-Release number of selected component (if applicable): anaconda-11.5.0.38-1.x86_64.rpm How reproducible: Always Steps to Reproduce: 1. Install rawhide via network 2. Click through to the partitioning screen 3. Select defaults, klick next. anaconda.log and program.log are attached.
Created attachment 337767 [details] anaconda logfile with traceback
Created attachment 337768 [details] program log
Created attachment 337769 [details] fdisk -l output
Created attachment 337770 [details] pvdisplay output
Created attachment 337772 [details] vgdisplay output
regarding the fdisk output, a bit of clarification might be useful: [query(hansg)] So your wiping the disk? Iow selecting automatic partitioning use entire disk, or ? [query(ixs)] nope [query(ixs)] default partitioning says replace existing linux partitions. [query(ixs)] as there's no existing linux, it simply uses the freespace and leaves the ntfs partitions alone. [query(hansg)] Ok, so there are pre-existing ntfs partitions, but I see you included fdisk -l output already, so that should be clear from the bug [12:54] [query(ixs)] yes. the two linux partitions were created in the empty space at the end of the disk. fdisk as well as {vg,pv}display were taken after the crash.
Created attachment 337774 [details] fdisk x p output showing sectors instead of cylinders
Created attachment 337790 [details] "parted /dev/sda unit S print free" output "parted /dev/sda unit S print free" output before partitioning with anaconda
Created attachment 337791 [details] "parted /dev/sda unit S print free" output "parted /dev/sda unit S print free" output after partitioning with anaconda
Created attachment 337792 [details] lvm pvs output lvm pvs --units k --nosuffix --nameprefixes --rows --unquoted --noheadings --opv_name,pv_uuid,pv_size,vg_name,vg_uuid,pv_pe_count,pv_pe_alloc_count,pe_start output after partitioning by anaconda
*** Bug 492354 has been marked as a duplicate of this bug. ***
Are there any workarounds for this bug and/or 493523 which was closed as a duplicate of this bug? I don't think I can install the beta without a fix for this. Is the recent announcement that some beta iso's have been reissued related to either of these? Thanks, Bob
A simple workaround is to select the "Review partition layout" and then reduce the size of the offending partition (should be the last logical volume) a bit. Usually the extend size is 4MB, so if say your swap partition is planned to be 1024MB, simply change the size to 1020MB and you should be good.
The workaround in Comment #13 worked for me. Thanks!
(In reply to comment #14) > The workaround in Comment #13 worked for me. Thanks! worked for me as per #13
*** Bug 495268 has been marked as a duplicate of this bug. ***
Following a hunch from dlehman: This error only manifests when selecting encryption. Running unencrypted, the partitioning suceeds.
Created attachment 339517 [details] cryptsetup luksDump /dev/sda4
Created attachment 339578 [details] anacdump.txt
This will be fixed in anaconda-11.5.0.45-1.
*** Bug 495785 has been marked as a duplicate of this bug. ***
comment #13 worked for me.