You are not logged in.

#1 2020-10-26 09:41:41

chawlindel
Member
Registered: 2014-06-16
Posts: 5

Btrfs multi-device filesystem won't mount on linux-lts

I switched from linux to linux-lts due to https://www.archlinux.org/news/nvidia-4 … -linux-59/, now my data partition won't mount. After some troubleshooting I found this:

okt 26 08:36:06 Wrynn systemd[1]: var-cache-pacman.automount: Got automount request for /var/cache/pacman, triggered by 93535 (fish)
okt 26 08:36:06 Wrynn systemd[1]: Mounting /var/cache/pacman...
okt 26 08:36:06 Wrynn kernel: BTRFS info (device sdb1): disk space caching is enabled
okt 26 08:36:06 Wrynn kernel: BTRFS error (device sdb1): cannot mount because of unsupported optional features (800)
okt 26 08:36:06 Wrynn mount[93537]: mount: /var/cache/pacman: wrong fs type, bad option, bad superblock on /dev/sdd1, missing codepage or helper program, or other error.
okt 26 08:36:06 Wrynn systemd[1]: var-cache-pacman.mount: Mount process exited, code=exited, status=32/n/a
okt 26 08:36:06 Wrynn systemd[1]: var-cache-pacman.mount: Failed with result 'exit-code'.
okt 26 08:36:06 Wrynn systemd[1]: Failed to mount /var/cache/pacman.
okt 26 08:36:06 Wrynn kernel: BTRFS error (device sdb1): open_ctree failed

Apparently my btrfs setup isn't supported by linux-lts?

This is annoying because now I have to choose between broken nvidia support or broken data partition..
Is anyone else having this issue or know a solution? I don't understand what feature is unsupported by linux-lts.

This is my fstab:

This is the fstab entry:

# /dev/sdc3
UUID=<REDACTED>       /var/cache/pacman  btrfs        rw,strictatime,lazytime,subvol=/@pacman,noauto,x-systemd.automount              0 0

# /dev/sdc3
UUID=<REDACTED>       /backup         btrfs           rw,relatime,noauto,compress=zstd,nossd                  0 0

This is the btrfs filesystem:

micke@Wrynn ~> sudo btrfs filesystem show /backup/
Label: 'Backup'  uuid: <REDACTED>
        Total devices 3 FS bytes used 1.46TiB
        devid    1 size 2.73TiB used 1.29TiB path /dev/sdc1
        devid    2 size 223.57GiB used 209.03GiB path /dev/sde
        devid    3 size 5.28TiB used 1.46TiB path /dev/sdd1

Offline

#2 2020-10-26 09:52:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Btrfs multi-device filesystem won't mount on linux-lts

zstd support in the kernel is pretty new and unlikely to be in the LTS

You also could grab the sources of the nvidia module and locally lie about the license https://bbs.archlinux.org/viewtopic.php … 7#p1932827 because that's all there is to this and it isn't a technical issue at all. See this thread for some other avenues: https://bbs.archlinux.org/viewtopic.php?id=259936&p=2

Also in case this isn't entirely clear, normal desktop usage OpenGL and vulkan should work fine, but CUDA and NVENC and the like don't. If you don't need those you could opt for the newer kernel regardless.

Last edited by V1del (2020-10-26 09:55:18)

Offline

Board footer

Powered by FluxBB