Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Readonly filesystem, but fsck shows clean?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Sat Mar 07, 2020 4:56 pm    Post subject: Readonly filesystem, but fsck shows clean? Reply with quote

So, this morning, I'm working on an older system with SATA drives. Trying to do an update, I get an error stating that /dev/sda8 is readonly. That's my /var partition on the drive.

I removed it from fstab and rebooted. Ran fsck.reiserfs on it. Did the replaying journal, reiserfs journal, internal tree, semantic tree, etc... and reports 'No corruptions found'. I put /var back in fstab and rebooted, and my system was hung. Looking at the boot messages in console, I see it's saying that /var is not clean couldn't be mounted. Of course mysql wants to start, so it just sits there.

I put a Live CD in, rebooted, and ran fsck.reiserfs from there. Again, no corruption. I'm able to mount /dev/sda8 and write files to it.

Any ideas?

Thanks!
hanji
_________________
Server Admin Blog - Uno-Code.com
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Mar 07, 2020 6:35 pm    Post subject: Reply with quote

Do you have any non-default options in fstab? If you copy that line into the livecd's fstab and then try to mount it in there the same way, does the error reproduce?

Any other errors in dmesg when it happens?

Also: is the livecd newer than the installed OS? It may have written something that confuses the old kernel, I've had that happen with other FSes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum