LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-16-2003, 01:57 PM   #1
carbone
LQ Newbie
 
Registered: Aug 2003
Location: paris, france
Posts: 2

Rep: Reputation: 0
superblock corruption


while trying to build some software (OpenJade) to be able to run gnome 2.0 ... I had the message about an impossible mkdir command (I was logged as superuser !) and after that the partition which was holding the /usr tree was impossible to be mounted.

The superblock get corrupted with an inode count of 0 (nul) ???
I try desesperatly to run e2fsck with the argument -b 32769 to get a copy of the superblock, it didn't work !!! I tried the arguments -b 65537 , -b 98305 . all of these returned an error about a bad magic number ...

the command dumpe2fs returns some information as a blocksize of 4096, a blockgroup of 32768, a blockcount of 2097152 ...

Is there any way to recover a correct superblock ?
 
Old 08-17-2003, 05:01 AM   #2
ecb
LQ Newbie
 
Registered: Jul 2003
Location: Belgium - Europe
Distribution: RH 8, 9 and AS 2.1
Posts: 10

Rep: Reputation: 0
I had that kind of problems after a live partition resive on a server.
I actually used an option (s or b) of mkfs. Do go through the manpages though to make sure that's what you need...

Best of luck,
 
Old 08-18-2003, 11:18 AM   #3
carbone
LQ Newbie
 
Registered: Aug 2003
Location: paris, france
Posts: 2

Original Poster
Rep: Reputation: 0
hi everybody,
hello ecb,
in fact I was able to run e2fsck on the corrupted partition, BUT instead of specifying an offset of 32769, which made e2fsck to answer about a bad magic number, I used the offset 32768.
At this location I found a "valid" superblock. e2fsck worked quite a long time but recovered part of my configuration.
I still had to reinstall a small part of the system software, and was able to recover quite a lot of my lost files.

anyway I am about to burn several backup CD's in case
long live to linux
c:.
 
  


Reply



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
http corruption? JoeUser11 Linux - Newbie 2 01-04-2005 09:34 PM
Openoffice Corruption littauer99 Linux - Software 0 11-16-2004 09:41 AM
Recovering from superblock corruption? Wellamo Linux - General 0 07-05-2004 05:00 PM
corruption issue, please HELP iceman42 Linux - Software 2 09-18-2003 09:36 PM
Squid corruption silva Linux - Newbie 2 07-18-2003 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:34 PM.

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
Open Source Consulting | Domain Registration