Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: can't use --mkfsoptions in ks.cfg for btrfs volumes Version-Release number of selected component (if applicable): anaconda 36.12-1.fc36 How reproducible: always Steps to Reproduce: 1. include the following in a ks.cfg file ## Disk partitioning information part btrfs.01 --grow --fstype="btrfs" --ondisk=vda --size=1500 btrfs / --name=root --label=ptest --mkfsoptions="--csum xxhash" btrfs.01 2. run the installer 3. look at the btrfs superblock using "btrfs inspect-internal dump-super" Actual results: crc32c Expected results: xxhash Additional info: as discussed in #anaconda with vtrefny
Reproducer without Anaconda: ``` In [1]: import blivet; b=blivet.Blivet(); b.reset() In [2]: sdb1 = b.devicetree.get_device_by_name("sdb1") In [3]: b.format_device(sdb1, blivet.formats.get_format("btrfs")) In [4]: vol = b.new_btrfs(parents=[sdb1], create_options="--csum xxhash") In [5]: b.create_device(vol) In [6]: b.do_it() ``` neither passing the create_options directly to BTRFSVolumeDevice nor to the format with fmt_args={"create_options": "--csum xxhash"}) work with "new_btrfs" -- the mkfs options are not passed to the bd_btrfs_create_volume function from blivet.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
If this bug can be fixed for F36 that'd be wonderful, but I suspect that ship has now sailed, so I might change it back to rawhide. I don't know how long the bug has been there, certainly at least a couple of years so maybe always.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37.
This bug persists in Fedora 37.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
Looks like this bug is still present in F40. I'd love to see it fixed, especially if (I can hope..) btrfs might make a re-appearance in RHEL10.
*** Bug 2274375 has been marked as a duplicate of this bug. ***
upstream PR: https://github.com/storaged-project/blivet/pull/1260 updates image for rawhide (41): https://vtrefny.fedorapeople.org/img/rhbz2036976.img
FEDORA-2024-8173c55024 (python-blivet-3.11.0-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-8173c55024
FEDORA-2024-8173c55024 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8173c55024` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8173c55024 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-8173c55024 (python-blivet-3.11.0-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.