LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2004, 06:17 AM   #1
jacquedp
LQ Newbie
 
Registered: Mar 2004
Posts: 24

Rep: Reputation: 15
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 ?
 
Old 04-03-2004, 12:17 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,773

Rep: Reputation: 289Reputation: 289Reputation: 289
"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
 
Old 04-04-2004, 12:29 AM   #3
jacquedp
LQ Newbie
 
Registered: Mar 2004
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
Old 04-04-2004, 12:31 AM   #4
jacquedp
LQ Newbie
 
Registered: Mar 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Rescue cd ?

Should I boot from the cd and try to repair the installation ?
 
Old 04-04-2004, 01:36 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,773

Rep: Reputation: 289Reputation: 289Reputation: 289
"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
 
Old 04-05-2004, 02:03 AM   #6
jacquedp
LQ Newbie
 
Registered: Mar 2004
Posts: 24

Original Poster
Rep: Reputation: 15
I will give it a shot, thanks.
 
Old 04-05-2004, 06:40 AM   #7
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,420

Rep: Reputation: 198Reputation: 198
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
 
Old 04-07-2004, 03:27 AM   #8
jacquedp
LQ Newbie
 
Registered: Mar 2004
Posts: 24

Original Poster
Rep: Reputation: 15
All up and running again.

I didn't type the (--) in front of :


fsck.reiserfs (--)rebuild-tree /dev/hda4

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An odd reiserfs booting problem in a special situation may be about SUSE10's reiserfs ayal Linux - Newbie 7 11-15-2005 08:36 AM
Can you convert Reiserfs 3 to Reiserfs 4 JSylvia007 Linux - Distributions 1 08-19-2004 04:01 PM
reiserfs corrupt! zdenkod Linux - Hardware 2 06-04-2004 08:23 AM
Add ReiserFS package destroys non-ReiserFS partitions smirk Mandriva 0 03-24-2004 08:20 PM
Corrupt Superblock aliensub Linux - General 0 05-09-2002 12:52 PM


All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration