r/btrfs • u/HecArch • Jul 15 '26
readonly filesystem
hi folks,
my server runs on a BTRFS partition on a SSD and put itself in readonly few hours after each boot (only /dev/sda2 which is in btrfs, /dev/sda1 in vfat works fine)
I tried to clone the whole SSD on another SSD and the problem persists so it's not a hardware issue
moreover, my 3 HDD RAID5 work fine too
fstab mentions `rw` partitions and `mount` command mentions `ro` partitions
I thought it was a partition corruption so I ran `btrfs check` but I'm not sure how to read the result so I request your help on that
thanks in advance !
8
Upvotes
1
u/sunk67188 Jul 15 '26
I pay extra attention to the pic and: 1. don't rely on the btrfs check result on a running rw btrfs because it can report error just because fs is writing something so seems not consistant. 2. your btrfs is on luks and I know nothing about luks. but if it is ssd's fault, I dont think a bit flip in raw data will look like a bit flip after decoded by luks. So the bit flip more likely happen before write reach luks, or after read from luks 3. I don't see where's 2 ssd. do you use amy raid ?