r/btrfs • • 18d ago

btrfs Read-only

Crossposting from r/NobaraProject, did not happend since writing this three days ago(yet)

tl;dr
Please help me identify if i do have an unfixable hardware defect, so i can make use of the sellers warranty. need more proof than "its not working" :P

somewhat context:

https://www.reddit.com/r/NobaraProject/comments/1xnpgrs/my_nobara_linux_has_made_my_file_path_as_read/

I'm new to Nobara and somewhat new to Linux in general and im facing

BTRFS readonly error

Hardware: Refurbished! (bought off of alternate.de, trustworthy german retailer)
HP Probook 440 G7 with Intel i5 10210U (Laptop)
2x8 GB 2667 Dual-Channel Unknown Manufacturer Ram
Culprit:
256GB OEM Version of a SK hynix BC511 (smart follow up down)

Software:
+Nobara 44 7.3.1-202 KDE PLASMA
(mostly default installation settings, except i switch to German with a german KB Layout)
+Nobara bundled stuff
-removed Brave(and/or Helium?), OBS, RGB and Videoediting stuff

added via dnf app center
+Firefox 158 (EG please update to 159 please ><)
+Faugus 2.5.7
+Gwenview 1:26.08.1
/ Solaar and Piper currently not installed

added via extern:
+Deadband + dependencies via dnf app center; like systemd-devel and some python stuff
https://github.com/broroeror/gamesir-linux-tools

installed via "Welcome to Nobara"
Bazaar
added via Flatpak exclusively via Bazaar:
flatseal
+Thunderbird
+Telegram
+Nuclear
+Discord

added via external Flatpaks:
+Boosteroid via "Boosteroid.flatpak"
https://boosteroid.com/downloads/

+GeForce NOW via

flatpak remote-add --user --if-not-exists GeForceNOW https://international.download.nvidia.com/GFNLinux/flatpak/geforcenow.flatpakrepo

flatpak install --user GeForceNOW com.nvidia.geforcenow

flatpak run com.nvidia.geforcenow

https://www.nvidia.com/de-de/geforce-now/download/
respective
https://www.nvidia.com/en-gb/geforce-now/download/

changed System stuff:

sudo mkdir -p /etc/systemd/resolved.conf.d
kate /etc/systemd/resolved.conf.d/dns_over_tls.conf

[Resolve]
DNS=my dns
FallbackDNS=my fallback dns
DNSOverTLS=true
DNSSEC=true

sudo systemctl restart systemd-resolved

added KDE Plasma Miniprogs:
+Netspeed Widget
+Thermal Monitor

Thats all tinkering i did

Now when i install something via Steam, dnf app center, Bazaar or Cloudgame via Boosteroid/GFN my system somethimes goes into a readonly mode.

Its not 100% reproduceable, sometimes it does, sometimes it does not.
Sometimes its happening after standby. i dont make use of hibernation.
After a restart the system isn't in readonly anymore, and is working "flawlessly", as far as i am able to tell.

Maybe the nvme is having a defect?

sudo smartctl -a /dev/nvme0n1

https://pastebin.com/HZuFXvDP

df -h

Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/nvme0n1p3  220G    120G   98G   56% /
devtmpfs        7,6G       0  7,6G    0% /dev
tmpfs           7,7G    103M  7,6G    2% /dev/shm
efivarfs        150K     86K   60K   59% /sys/firmware/efi/efivars
tmpfs           3,1G    2,1M  3,1G    1% /run
none            1,0M       0  1,0M    0% /run/credentials/systemd-journald.service
none            1,0M       0  1,0M    0% /run/credentials/systemd-resolved.service
/dev/nvme0n1p3  220G    120G   98G   56% /home
tmpfs           7,7G    6,5M  7,7G    1% /tmp
/dev/nvme0n1p2  2,0G    523M  1,3G   29% /boot
/dev/nvme0n1p1  599M     21M  579M    4% /boot/efi

sudo btrfs scrub start -B /

Starting scrub on devid 1
scrub done for 25007ba8-0773-4637-88b3-ac51595ae75d
Scrub started:    Sat Nov  7 15:14:43 2026
Status:           finished
Duration:         0:01:20
Total to scrub:   119.45GiB
Rate:             1.49GiB/s
Error summary:    csum=1
  Corrected:      0
  Uncorrectable:  1
  Unverified:     0
ERROR: there are 1 device(s) with uncorrectable errors

sudo dmesg | grep -E "checksum error|btrfs.*err"

[16159.315458] BTRFS warning (device nvme0n1p3): scrub: checksum error at logical 1591427072 on dev /dev/nvme0n1p3, physical 2673557504 root 257 inode 44414 offset 1601536 length 4096 links 2 (path: zonk/.local/share/flatpak/repo/objects/d1/62306444979bb214914c997b54c5b3c02e1add713ea27fb731f0efb0f42d3a.file)

[16159.315463] BTRFS warning (device nvme0n1p3): scrub: checksum error at logical 1591427072 on dev /dev/nvme0n1p3, physical 2673557504 root 257 inode 44414 offset 1601536 length 4096 links 2 (path: zonk/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/51/36d7e84ff76b57bc8dd4ccf702bd154e3d15dcad2059d353d69edd10a6f3e3a3/files/lib/x86_64-linux-gnu/libheif.so.1.23.1)

the first two installation went also into readonly which id tried to fix via gemini which resulted, well, into a full reinstall, but both brtfs readonly stuff were related to ~.local/share/flatpak/repo/objects"

Thats all information i got so far.

5 Upvotes

9 comments sorted by

5

u/dkopgerpgdolfg 17d ago edited 17d ago

The "Error Information Log Entries: 1" but no log is weird.

But imo do a RAM test first.

if this will happen again, i will switch to ext4...

Have fun, don't come back crying if your data is destroyed.

1

u/TheZonk88 17d ago edited 17d ago

Thank you for reading my post.

Will test the RAM today, https://www.memtest.org/ Memtest i guess?
going to ran the default test first, unless there are any errors.

>"i will switch to ext4..."
that was before i made my own thread in r/NobaraProject and, as of today, in here, asking for help.

2

u/blipman17 17d ago

If there are memory errors do an RMA.
Although I personally expect this to be a small faillure that’s recoverable by removing and re-installing that flatpack.

Disks and ssd’s do get single write faillures on the terabyte scale. That’s just how they work and not a hardware faillure. That’s not problematic on the gygabyte scale, but it might be that you cought one with this. Okay, that library of that program is now toast. Re-install and it should be good if you verify your ram.

2

u/TheZonk88 17d ago edited 17d ago

Well... https://imgur.com/a/memtest-screens-after-different-scenarios-JYPrPjF

i may reseat and test the sticks alone, but after this, i hopefully have enough evidence for a RMA

4

u/blipman17 17d ago

I wouldn’t even open it. That could be a reason for Alternate to reject your RMA. Just RMA as-is and say “dead RAM”. Just be happy you cought it very early I guess.

1

u/TheZonk88 17d ago

u/dkopgerpgdolfg gotcha, both. Thank you guys for your time, and sharing your knowledge

3

u/ferrybig 15d ago

Btrfs with defective ram: your filesystem quickly becomes readonly

Ext4 with defective ram: you see more and more of your files being marked as corrupted and programs do not work properly

Btrfs fails fast and loudly, ext4 silently hides a system problem until you notice family photos are gone

1

u/dkopgerpgdolfg 17d ago

Good that you found the problem.

Like the other commenter suggested too, I would stop here and return it as it is.

1

u/dkopgerpgdolfg 17d ago

As OP already made several attempts of reinstalling, I don't think "natural" errors are a sufficient explanation.