swestrup: (Default)
swestrup ([personal profile] swestrup) wrote2005-11-18 03:59 am

Progress!

It seems like I DID have filesystem corruption after all. I thought that when 'fsck.reiserfs /mnt/system' returned immediately it meant that everything was fine. Nope. It means that fsck.reiserfs doesn't work on mounted filesystems. When I gave the same command on /dev/md5, it found all sorts of problems and I was forced to rebuild the file tree.

That has now finished and fsck.reiserfs claims it didn't find anything it couldn't fix, and that the filesystem is now clean. Yay!

I'm starting to get pretty damn tired now, so I'll leave it there. Besides, right now I don't think there'll be any trouble finishing the job in the morning, so my stress levels are low, and I should be able to sleep.

Were I to continue, and something ELSE were to crop up, I would not be willing to leave it alone and just go to bed, and who knows what damage I could inflict while too tired to work well, but too anxious to sleep...

So, at this point, sleep is the better part of valour.

[identity profile] sps.livejournal.com 2005-11-18 06:28 pm (UTC)(link)
...And I was worried when you said that you had started by mounting everything. Really, when the fs is corrupt, you do NOT want to mount it!

[identity profile] pphaneuf.livejournal.com 2005-11-18 06:39 pm (UTC)(link)
The trick part is also that with reiser, you might not necessarily want to run reiserfsck either.

[identity profile] sps.livejournal.com 2005-11-19 04:29 pm (UTC)(link)
Well, maybe Pierre knows differently, but I would always have said that a read-only fsck was the best way of finding out whether I had found an intact filesystem. A mount is supposed to *do* stuff, and it relies on fsck to have put things in order, first.