You are not logged in.

#1 Today 08:49:45

mio-19
Member
Registered: 2025-05-28
Posts: 3

btrfs devices not detected after recent updates on multiple distros

edited: This is a problem on Archlinux x86_64 and I am using Archlinux x86_64. But this problem also exists on other linux distros and I think it is helpful to provide more information about how this bug behaves on other distros


I have my issue reported on NixOS github previously - https://github.com/NixOS/nixpkgs/issues/408631

I have a btrfs filesystem consist of 3 devices. On archlinux 2025.01.01 live iso when I run `btrfs fi show` all devices are detected correctly.
However on recent multiple linux distros including archlinux 2025.06.1 2025.05.01 live iso when I run `btrfs fi show` I got a device missing message. However I can mount the btrfs filesystem by specifing all devices manually in mount options.
It is not related to kernel version as I tested the same kernel version with NixOS 24.11 and NixOS 25.05. I suspect that it might be related to recent updates in some core system components shared by all linux distros.

How could I inverstigate this issue further?

I copied following output with OCR so the result might be slightly incorrect

btrfs fi show on archlinux 2025.06.01 livecd

Label: 'HDDPool-data' uuid: cae95f2?-f8c3-48c5-96d6-e263458efda2
Total devices 3 FS bytes used 10.49TiB
devid 3 size 9.00TiB used 6.96TiB path /dev/sdb
*** Some devices missing

btrfs fi show on archlinux 2025.01.01 livecd

Label: ' Rescue3' uuid: 623630d3-64d8-4917-ade8-412101d23b40
Total devices 3 • FS bytes used 10.48TiB
devid 1 size 10.91TiB used 10.48TiB path / dev/sde
devid 2 size 14.55TiB used 10.50TiB path /dev/sdc
devid 3 size 476.94GiB used 28.00GiB path /dev/sdd

Last edited by mio-19 (Today 09:10:36)

Offline

#2 Today 08:53:45

mio-19
Member
Registered: 2025-05-28
Posts: 3

Re: btrfs devices not detected after recent updates on multiple distros

I previously tested lsblk -f command on archlinux 2025.05.01 livecd. It also only detected one device on the btrfs filesystem having the problem.

I copied the output with OCR so the text might be incorrect:
root@archiso # Isblk -f
NAME FSTYPE FSUER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
1o0p0 squashfs 4.0 100% /run/archiso/airootfs
sda
sda1 ufat FAT32 1EF4-5E59
sda2 btrfs b66ce92?-d4e1-4237-982a-e924c0cfde15
sda3 swap 1 fZe0b6c8-d683-4a51-b2bc-?af13b?d100a
sdb btrf's HDDPool-data cae95f2?-f8c3-48c5-96d6-e263458efda2
sdc btrfs Rescue3 623630d3-64d8-4917-ade8-412101d23b40
sdd btrfs Rescue3 623630d3-64d8-4917-ade8-412101d23Ъ40
sde
sdf
sr0 iso9660 Joliet Extension ARCH_202505 2025-05-01-10-09-37-00 0 100% /run/archiso/bootmnt
rootlarchiso # dmesg lgrep BTRFS
3.360631] BTRFS: device label Rescue3 devid 2 transid 232723 /dev/sdc (8:32) scanned by (udey-worker) (157)
3.406434] device label HDDPool-data devid 3 transid 1389761 /dev/sdb (8:16) scanned by (udev-worker)
3.425177] device label Rescue3 devid 1 transid 232723 /dev/sdd (8:48) scanned by (udev-worker) (174)
rootlarchiso # mount -o device=/dev/sdb,device=/dev/sde,device=/dev/sdf /dev/sdf /mnt
root@archiso

The mount command succeed with devices manually specified

Offline

#3 Today 09:05:07

cryptearth
Member
Registered: 2024-02-03
Posts: 1,511

Re: btrfs devices not detected after recent updates on multiple distros

https://bbs.archlinux.org/misc.php?action=rules

These forums are for Arch Linux x86_64 ONLY.

Offline

#4 Today 09:09:11

mio-19
Member
Registered: 2025-05-28
Posts: 3

Re: btrfs devices not detected after recent updates on multiple distros

cryptearth wrote:

https://bbs.archlinux.org/misc.php?action=rules

These forums are for Arch Linux x86_64 ONLY.

It is a problem on Arch Linux x86_64 and I am using Arch Linux x86_64

Offline

#5 Today 12:47:26

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,275
Website

Re: btrfs devices not detected after recent updates on multiple distros

Mod note: Moving to System Administration


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB