corrupt reiserfs
Hi,
I had a pwerfailure, and after this my SuSE 9 server boots up with an error " fsck failed" I have remounted the file system as writable and then typed fsck.reiserfs rebuild tree This returns an error stating "failed to open the file system" This has happened previously and I had to reload the server. Please help all ye wise linux people ? |
"I have remounted the file system as writable and then typed
fsck.reiserfs rebuild tree" You have to run fsck against an unmounted file system. If necessary boot into a rescue CD and run rsck from there. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
If I don't mount the filesystem I get the same error "Unable to open the filesystem."
There must be a easy solution to this. Like in ms when it runs a scandisk and repairs errors on reboot. |
Rescue cd ?
Should I boot from the cd and try to repair the installation ? |
"There must be a easy solution to this. Like in ms when it runs a scandisk and repairs errors on reboot."
The equivalent Linux program is fsck. See: man fsck http://www.die.net/doc/linux/man/man8/fsck.8.html "Should I boot from the cd and try to repair the installation ?" Yes. Instead of: fsck.reiserfs rebuild tree try the following command (assuming that your reiserfs partition is /dev/hda3): fsck.reiserfs /dev/hda3 ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
I will give it a shot, thanks.
|
If you look at the messages you get from Suse when you boot
it tells you everything you need to do. as above posting, and then remount -o rw /dev/hd[blah] / or similar. billy |
All up and running again.
I didn't type the (--) in front of : fsck.reiserfs (--)rebuild-tree /dev/hda4 Thanks. |
All times are GMT -5. The time now is 10:10 AM. |