Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reiserfs fsck never runs
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
thoughts
Apprentice
Apprentice


Joined: 15 Apr 2004
Posts: 153
Location: Pennsylvania

PostPosted: Fri Oct 08, 2004 7:33 am    Post subject: reiserfs fsck never runs Reply with quote

Hello,

I just converted a disk from ext3 to reiserfs, and I'm seeing this at boot:

Code:

 * Remounting root filesystem read-only (if necessary)...
 * Checking root filesystem...
...
Filesystem is NOT cleanly umounted.
Filesystem seems mounted read-only.  Skipping journal replay.
Checking internal tree..finished
 * Remounting root filesystem read/write...


Then it proceeds to reiserfsck the second partition on the disk (replays the journal, etc). Well that's great, but the root fs needs to be checked too!

So after logging in, I run fsck -a / (same as the init script does), and then it says it can't check the partition because it's mounted WITH write permissions!!?! So... it won't check it if it's ro, and it won't check it if it's r/w. Thanks, reiserfs.

At that point I can mount -o remount,ro / and try fsck again, and then s/ro/rw and fsck again... either way, it just tells me it can't because it's mounted ro or rw. What the crap!

What can I do?

-Anthony DiSante
http://nodivisions.com/
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Fri Oct 08, 2004 8:24 am    Post subject: Reply with quote

If neither ro nor rw works, you should try umounted. Simply boot on the live CD and check your partition from there.
Back to top
View user's profile Send private message
thoughts
Apprentice
Apprentice


Joined: 15 Apr 2004
Posts: 153
Location: Pennsylvania

PostPosted: Fri Oct 08, 2004 9:05 am    Post subject: Reply with quote

Yeah, but I'm concerned about the regular fsck-ing that's supposed to happen every so many mounts or days. I don't want to have to manually do that... and if reiserfsck won't do it no matter how it's mounted, I don't see how reiserfs can be used as a boot+root partition.

-Anthony DiSante
http://nodivisions.com/
Back to top
View user's profile Send private message
bergs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 141
Location: Bern, Switzerland

PostPosted: Thu Oct 21, 2004 8:06 am    Post subject: Reply with quote

Same problem here. Have you found a solution?
Back to top
View user's profile Send private message
guppy
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 127
Location: Denmark

PostPosted: Thu Oct 21, 2004 8:23 am    Post subject: Reply with quote

Ditto on that "problem"

but during some kernel testing I had to reboot using the switch and when next I booted my ordenary kernel it actually fixed the problem despite writing the usual crap - just got an extra line in yellow that told me it had fixed it...

but this isn't exclusive to reiserfs - my /boot is ext2 and for the last 30 or so boots it has said "will chek on next mount" ( or somthing to that effect ), but once again after my little accident it got fixed and now the message is gone. so this is properly an error in the rc scripts...
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Wed Nov 03, 2004 10:03 pm    Post subject: Reply with quote

When I boot I get an error about fsck, I don't know exactly what it is and I don't know where the log file is for the stuff after dmesg. But I have a feeling that it has to do with this error when I try to run fsck on any of my reiserfs partitions.
Code:
root # fsck /dev/hda1
fsck 1.35 (28-Feb-2004)
fsck: fsck.reiserfs: not found
fsck: Error 2 while executing fsck.reiserfs for /dev/hda1


Anyone know how to fix this?
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Thu Nov 04, 2004 1:01 am    Post subject: Reply with quote

The solve for my stupidity would be to emerge reiserfsprogs, just incase anyone was wondering
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
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