Skip to content

Not finding root subvolume on vanilla Fedora 43 #2

@Schroedingers-Cat

Description

@Schroedingers-Cat

On a vanilla Fedora 43 installed with default settings, atomic-rollback check, setup or migrate fail the "Root filesystem" check. I've tested this in a VM using Boxes/virt-io and Hyper-V.

The strace shows it execs mount -o ro e8edee18-e4ad-40fd-8733-5cd5fb403093 /tmp/atomic-rollback-probe-... instead of using UUID=e8edee18-e4ad-40fd-8733-5cd5fb403093 or /dev/vda3. That causes:

fsconfig() failed: ... Can't lookup blockdev

Atomic-rollback then states the misleading error "Btrfs subvolume 'root' not found", even though btrfs subvolume list / shows path root:

user@fedora:~$ findmnt -no SOURCE,TARGET,FSTYPE,OPTIONS /
/dev/vda3[/root]
         / b rw,relatime,seclabel,compress=zstd:1,discard=async,space_cache=v2,s
user@fedora:~$ lsblk -f
NAME   FSTYPE FSVER LABEL             UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
zram0  swap   1     zram0             bdbc4de2-c32d-409e-b409-88b60e8d7046                [SWAP]
vda                                                                                       
├─vda1 vfat   FAT32                   7C8B-1182                             579,5M     3% /boot/efi
├─vda2 ext4   1.0                     a58b1d68-70f2-4c87-92ed-0c1dd589378f    1,4G    21% /boot
└─vda3 btrfs        fedora            e8edee18-e4ad-40fd-8733-5cd5fb403093   24,4G    15% /home
                                                                                          /
user@fedora:~$ sudo btrfs subvolume list /
ID 256 gen 161 top level 5 path root
ID 257 gen 162 top level 5 path home
ID 258 gen 152 top level 256 path var/lib/machines

It works when I prefix the uuid string with UUID=: Schroedingers-Cat@8e4584e

Any idea why this fails for me without those changes?

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions