Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fsck always fails when scheduled
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
zebbedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2003
Posts: 123

PostPosted: Mon Aug 15, 2011 6:37 am    Post subject: fsck always fails when scheduled Reply with quote

Every x amount of boots my system says it needs to schedule an automatic fsck, however it ALWAYS fails with inode errors.

If i reboot using a livecd and repair it, fix all the errors, then double check and triple check it's then fine again, but guaranteed next time fsck runs automatically, it will fail.

What could be corrupting it? Is my hard disk on its way out?
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 810

PostPosted: Tue Aug 16, 2011 2:54 am    Post subject: Reply with quote

Could be, if your having constant errors that's certainty possible, not too big of a deal hard drives are cheap. Do you have any I/O errors in /var/log/messages?
_________________
“Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”

― Plato
Back to top
View user's profile Send private message
zebbedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2003
Posts: 123

PostPosted: Wed Aug 17, 2011 11:32 am    Post subject: Reply with quote

I have no errors in /var/log/messages.

Strangely, this time around, when fixing it from the livecd, it said there were no errors. Even though the scheduled version on the actual hard disk said there was.

*sigh*
Back to top
View user's profile Send private message
psheldon
n00b
n00b


Joined: 02 Apr 2006
Posts: 53
Location: South Africa

PostPosted: Thu Sep 22, 2011 3:28 pm    Post subject: Reply with quote

touch /forcefsck will force a fsck on next reboot.
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2026

PostPosted: Thu Sep 22, 2011 5:37 pm    Post subject: Reply with quote

Zebbedi,
Which filesystem? Ext, JFS, Reiser? And what parameters? I used JFS at one time, and it tended to throw errors in the Firefox cache files; I suspect it wasn't flushing properly. Alternatively, are you using the same level of fsck on the system as on the livecd?
_________________
Greybeard
Back to top
View user's profile Send private message
zebbedi
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2003
Posts: 123

PostPosted: Mon Sep 26, 2011 5:33 am    Post subject: Reply with quote

It was ext3 and i decided to start again, so i copied all my files off, changed it to ext4 and copied everything back and now it hasn't had a problem since. Ttook about 30 mins to do.

Only thing that did happen was there was a 4gb+ video from my go pro camera on there which failed to copy off. I ignored it and excluded copying it as i had a backup.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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