This is a discussion topic for the following Common Issue:
You can discuss the problem and its solutions here, but please note that debugging and technical feedback should primarily go to the issue trackers (e.g. Bugzilla) linked in the Common Issue, because that’s the place that developers watch, not here.
If there are any updates/changes/amendments for the Common Issue description, which you believe should be performed, please post it here.
My F41 Silverblue /etc/fstab contains subvol=root,compress=zstd:1,x-systemd.device-timeout=0 and the same parameters for other subvolumes. Should I remove x-systemd.device-timeout=0 from them (or maybe add it to subvol=root’s kargs?) and add ro to subvol=root? If yes, can I do it before rebasing to F42?
You need to look at the /sysroot mount point. The options set on the command line are for the real root mount point, which ends up at /sysroot in the final system. The composefs / is not mounted using any of those options.
Apologies for replying on a closed topic.
I was holding the upgrade to 42 because of this (because I’m lazy tbh), but after reading the workaround and the anaconda bug report it sounds like, even once such bug is resolved, this will not be automatically fixed for existing installations and the fix seems to, basically, apply the workaround at installation time.
Fixing this automatically for existing installations is definitely part of the plan for fixing this issue.
I don’t think this bug should hold you from updating to Fedora 42. There are no risk of data loss and if you care about zstd compression then the workaround should be straightforward to apply. If you don’t care about compression (which only got added in recent installations) then this is mostly cosmetic.
The only case where this could be an issue (and applying the workaround would fix it) is if you manually set special mount options for the /proc and /sys filesystems, but that’s not the default.
Thanks a lot @siosm , I was completely wrong then
I guess once the fix is delivered, the effect will be the similar to applying the workaround and will have no impact on running systems where the workaround is manually applied. Does that sound reasonable?
That’s unexpected. Both of those partitions should be mounted from systemd units generated from the content of /etc/fstab. Can you look at those units to verify that they are correctly generated?
Yes, they are generated correctly, but for some reason, my mount does not follow either fstab or systemd. Do you think It’s because I am using root-transient?
Am I the only one with this “fstrim” problem or is it a general problem with Fedora Atomic Desktops using the current way of mounting the root filesystem?
Did you add the compress=zstd option to the kernel arguments as described in the solution here? Compression is enabled for the entire btrfs filesystem, so if your var or home is a subvolume in the same btrfs partition then it needs it enabled for root as well.
Yes /var & /home is a subvolume in the same btrfs partition. Adding option to the kernel arguments for root partition solve my subvolume mount options problem but what about if I want to add special mount option to just /home subvolume?
No, I had not but did take a look at it just now. Unfortunately I cannot see how it relates to the problem I describe. My root filesystem is plain xfs and no encryption involved.
From btrfs(5) § MOUNT OPTIONS: “Most mount options apply to the whole file system, and only the options for the first subvolume to be mounted will take effect. This is due to lack of implementation and may change in the future.”
From Btrfs Wiki FAQ for which mount options can be used per subvolume:
Can I mount subvolumes with different mount options?
The generic mount options can be different for each subvolume, see the list below.
Btrfs-specific mount options cannot be specified per-subvolume, but this will be
possible in the future (a work in progress).
Generic mount options:
nodev, nosuid, ro, rw, and probably more. See section FILESYSTEM INDEPENDENT MOUNT OPTIONS of man page mount(8).
Yes for btrfs-specific options:
subvol or subvolid
Planned:
compress/compress-force, autodefrag, inode_cache, ...
No:
the options affecting the whole filesystem like space_cache, discard, ssd, ...