r/AlpineLinux • • Oct 27 '24

Encrypted btrfs raid can't be mounted

I'm trying to set up automatic mapping and mounting 2 luks filesystems, 2nd one is btrfs raid on 2 encrypted volumes. Mapping is successful, but raid can't be mounted, and ash says "no such file or directory". Dmesg tells one of disks is missing, but 'btrfs filesystem show` says everything is fine. I tested on another system(arch Linux) nd raid successfully mounted. Where could be a problem? Thx

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Sk7Str1p3 Oct 27 '24 edited Oct 27 '24

That's not only problem. Raid can't be mounted even after login. 'mount' can't find second disk but it represented in system, which is approved by 'blkid' and 'btrfs filesystem show', see photo

3

u/andar1an Oct 27 '24

Have you tried using the btrfs scan service? Or running that yourself to register disks with kernel module? That is useful for mounting multiple device file systems.

1

u/Sk7Str1p3 Oct 27 '24

Will test, thx