You are not logged in.

#1 2007-03-10 05:10:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Superblock or partition table problem [Solvedish]

I swapped out my case today for a new one, and put all of my hardware in to it. I got the SATA cables backwards originally, so I ended up with a kernel panic on boot. Swapped the cables, restarted, and now it goes into maintenance mode. /dev/sda is fine (my primary disc), it's /dev/sdb that's troubled. I ran e2fsck to see if I could repair it:

[root@localhost skottish]# e2fsck -v /dev/sdb
e2fsck 1.39 (29-May-2006)
The filesystem size (according to the superblock) is 24476634 blocks
The physical size of the device is 24476369 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? no

/dev/sdb contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

   18347 inodes used (0%)
    2115 non-contiguous inodes (11.5%)
         # of inodes with ind/dind/tind blocks: 12857/71/0
 3061349 blocks used (12%)
       0 bad blocks
       0 large files

   17801 regular files
     532 directories
       0 character device files
       0 block device files
       0 fifos
       0 links
       5 symbolic links (5 fast symbolic links)
       0 sockets
--------
   18338 files

It's throwing no errors that I can see. Of course, the -p option will not function:

[root@localhost skottish]# e2fsck -p /dev/sdb
/dev/sdb: The filesystem size (according to the superblock) is 24476634 blocks
The physical size of the device is 24476369 blocks
Either the superblock or the partition table is likely to be corrupt!


/dev/sdb: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)

I can mount the drive explicitly after I boot, but I cannot get it to work from fstab. Would someone please explain to me what I'm missing?

Last edited by skottish (2007-03-10 21:34:55)

Offline

#2 2007-03-10 05:39:51

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Superblock or partition table problem [Solvedish]

You might try running e2fsck from a Live CD of knoppix or something similar.

There may also be a bad cable problem.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2007-03-10 21:35:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Superblock or partition table problem [Solvedish]

Reformatting and rebuilding is faster than waiting...

Offline

#4 2007-03-18 06:35:38

Simastrick
Member
Registered: 2006-08-17
Posts: 49

Re: Superblock or partition table problem [Solvedish]

I'm having the same problem. The thread title says "Solved-ish"-- what did you do?

Offline

Board footer

Powered by FluxBB