Bug 2419063 - blivet-gui creates partition (RAID device?) smaller than requested
Summary: blivet-gui creates partition (RAID device?) smaller than requested
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-05 01:18 UTC by Adam Williamson
Modified: 2025-12-09 11:26 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
storage.log from an affected install (114.77 KB, text/plain)
2025-12-05 01:20 UTC, Adam Williamson
no flags Details

Description Adam Williamson 2025-12-05 01:18:33 UTC
In https://openqa.fedoraproject.org/tests/4037123 , at https://openqa.fedoraproject.org/tests/4037123#step/disk_custom_blivet_software_raid/31 , you can see that openQA requests a /boot partition of size 1024 MiB. But at https://openqa.fedoraproject.org/tests/4037123#step/disk_custom_blivet_software_raid/33 you can see that it actually gets created at a size of 1023 MiB.

This later causes the test to fail because anaconda shows a warning bar that it's not expecting. The warning (from storage.log) is:

DEBUG:anaconda.modules.storage.partitioning.validate:Found sanity warning: Your /boot partition is less than 1024 MiB which is lower than recommended for a normal Fedora install.

so...we asked for a 1024 MiB /boot, anaconda gave us a 1023 MiB /boot, then lectured us about it. That's not great user experience!

Comment 1 Adam Williamson 2025-12-05 01:19:36 UTC
Looks like this might be specific to RAID. I'll attach the log files.

Comment 2 Adam Williamson 2025-12-05 01:20:21 UTC
Created attachment 2117464 [details]
storage.log from an affected install

Comment 3 Vojtech Trefny 2025-12-09 11:26:16 UTC
Unfortunately the size selection here doesn't take the RAID metadata size into account (or any metadata at all in general, for encrypted RAID, the resulting array size would be even smaller) so the two 1024 MiB RAID partitions will produce only 1023 MiB RAID 1 array. I agree this is not a good user experience and I'll try to find a way how to display this in a better way and include the metadata size.


Note You need to log in before you can comment on or make changes to this bug.