You are not logged in.
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
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
Reformatting and rebuilding is faster than waiting...
Offline
I'm having the same problem. The thread title says "Solved-ish"-- what did you do?
Offline