Alright, so I installed gentoo 2007.0 on a new pc I built, and everything seemed to be working good for a week. Rebooted several times, then one time I did, I got the error, bad superblock on my /tmp part sda8. I couldn't find anyway around it, and I wanted to resize all my partitions anyways so I decided to wipe out the partition table and all partitions then redo it all (with fdisk from the minimal cd).
Finally got everything built again, had rebooted twice, everything seemed fine. I do it a third time, and now it's saying every logical partition on my extended partiton's superblock is bad. (My primary / first three boot and work fine)
Code:
localhost grub # mount /dev/sda6 -t ext3 /home
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
(same error for sda6-9 (sda5 is swap, which swapon will not mount))
Code:
localhost grub # dmesg | tail
sd 6:0:0:3: [sdg] Attached SCSI removable disk
sd 6:0:0:3: Attached scsi generic sg7 type 0
usb-storage: device scan complete
Unable to find swap-space signature
Unable to find swap-space signature
VFS: Can't find ext3 filesystem on dev sda6.
EXT2-fs warning (device sda1): ext2_fill_super: mounting ext3 filesystem as ext2
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda6.
VFS: Can't find ext3 filesystem on dev sda6.
Code:
localhost grub # fsck.ext3 /dev/sda6
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to open /dev/sda6
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
(same for sda6-9)
I tried running with the -b 8193, but produced the exact same error. Not sure if that's where my alternative superblocks are stored or not. Figured my blocksize was 4096 I tried -b 32768 with the exact same output as above.
Code:
localhost grub # fdisk -l /dev/sda
Disk /dev/sda: 150.0 GB, 150039945216 bytes
255 heads, 63 sectors/track, 18241 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 7 56196 83 Linux
/dev/sda2 8 1664 13309852+ 83 Linux
/dev/sda3 1665 2441 6241252+ 83 Linux
/dev/sda4 2442 18241 126913500 5 Extended
/dev/sda5 2442 2564 987966 83 Linux
/dev/sda6 2565 3781 9775521 83 Linux
/dev/sda7 3782 4998 9775521 83 Linux
/dev/sda8 4999 5607 4891761 83 Linux
/dev/sda9 5608 18241 101482573+ 83 Linux
Oh and I tried all of this on a knoppix live cd as well, with the same results.
I'm not really sure where to go from here, any advice would be greatly appreciated! Is this indicating a Hard Drive with bad blocks? or a software issue? Thanks!
Alright so I checked for bad blocks using badblocks -n on all the partitions. It didn't find any. The only things I did in between the last two reboots was, emerge -uD --newuse world, revdep-rebuild, (had to remerge emul-linux-x86-xlibs) and ran dispatch-conf.
This is on an amd64, 2.6.22-gentoo-r8, the hdd is a raptor 150, m2n32sli motherboard.