You are not logged in.

#1 2021-10-10 02:46:06

drewk
Member
Registered: 2021-09-01
Posts: 7

[SOLVED] File system randomly becomes read only

Hello :-) I'm hoping you could help me with a problem I'm having. I've been using Arch without issue for several months now, but recently I've been having a problem where my file system suddenly becomes read only. It doesn't seem to be caused by anything in particular. It can happen when I launch Firefox or when I'm just updating the system. When I shut down my computer, it gives an error message I haven't seen before:

[FAILED] Failed deactivating swap /swapfile.

And when I boot it up it says:

Starting version 249.4-2-arch
/dev/sda2: recovering journal
/dev/sda2 contains a file system with errors, check forced.
Inode 6030110 extent tree (at level 1) could be narrower. IGNORED.
/dev/sda2: 201807/15630336 files (0.8% non-contiguous), 6686863/62514257 blocks

Also, I'm not sure if this is helpful, but here's the output of dmesg. I'll try to provide any other info you need. Thanks!

Last edited by drewk (2021-10-11 17:12:36)

Offline

#2 2021-10-10 06:26:14

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 331

Re: [SOLVED] File system randomly becomes read only

You'll probably get more insightful help than this, but for what it's worth, these couple of threads looks a lot like your problem:
https://askubuntu.com/questions/1060245 … sages-mean
https://askubuntu.com/questions/141862/ … thing-else

You have this fault:

irq_stat 0x08000000, interface fatal error
SError: { UnrecovData LinkSeq }
failed command: WRITE FPDMA QUEUED

Whereas the threads I linked to has this fault:

irq_stat 0x08000000, interface fatal error
SError: { UnrecovData Handshk }
failed command: WRITE FPDMA QUEUED

Offline

#3 2021-10-10 07:35:08

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: [SOLVED] File system randomly becomes read only

Continuous bus errors and link resets - I don't think the disk is gonna damaged, but to be safe more than sorry you should afterwards check https://wiki.archlinux.org/title/Smart

Before that: cable.
Broken or loose? (reseat and in doubt replace)

Offline

#4 2021-10-10 16:42:16

drewk
Member
Registered: 2021-09-01
Posts: 7

Re: [SOLVED] File system randomly becomes read only

Great, thanks for your suggestions.

Ferdinand wrote:

You'll probably get more insightful help than this, but for what it's worth, these couple of threads looks a lot like your problem:
https://askubuntu.com/questions/1060245 … sages-mean
https://askubuntu.com/questions/141862/ … thing-else

In that second thread, they solved the issue by swapping SATA ports. I'm using a laptop though so I just removed and reseated the hard drive. Since then I haven't been able to reproduce the issue, but it was intermittent to begin with so I'm not sure if it's truly gone yet. If it's okay I want to wait a day or so before marking this as solved. Does this seem like something that could just have been caused by a loose hard drive?

seth wrote:

Continuous bus errors and link resets - I don't think the disk is gonna damaged, but to be safe more than sorry you should afterwards check https://wiki.archlinux.org/title/Smart

I ran a long test with smartctl, it passed:

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

Backed up my files though just to be safe.

Offline

#5 2021-10-10 17:07:50

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: [SOLVED] File system randomly becomes read only

Does this seem like something that could just have been caused by a loose hard drive?

Yes.
Did you assemble it yourself and/or was the notebook subjected to tough movements (even while powered down, we're not worrying about the head having crashed on the discs here)?

iow: is there reason to suspect that it might have come loose?

Offline

#6 2021-10-11 17:15:33

drewk
Member
Registered: 2021-09-01
Posts: 7

Re: [SOLVED] File system randomly becomes read only

seth wrote:

iow: is there reason to suspect that it might have come loose?

I think there might be. It originally came with an HDD, which I replaced with an SSD. The HDD is a couple millimeters deeper than the SSD, so there's a bit of room inside the bay where it can bend up and down. Looks like I'll have to figure out some way to fill that space, maybe 3D print something.

Offline

#7 2021-10-11 17:41:30

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] File system randomly becomes read only

drewk wrote:

Looks like I'll have to figure out some way to fill that space, maybe 3D print something.

No need to go so hi-tech. A folded piece of paper should work fine.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#8 2021-10-11 19:15:23

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: [SOLVED] File system randomly becomes read only

Yup, learned that from my late grandfather as a kid.
Folded paper, tin-foil and headless matchsticks can and have fixed a lot of stuff ;-)

(Don't go w/ the tinfoil here, though)

Offline

Board footer

Powered by FluxBB