LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-18-2008, 07:27 PM   #1
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Rep: Reputation: 17
Added hard drive to system, get superblock error at bootup.


I have a 1TB drive which I had connected via an external USB enclosure. It was formatted with ext3. I copied a bunch of data to it successfully, however I decided to connect it internally via SATA connection for faster transfers. I connected the drive internally to a SATA port and then I added following line to /etc/fstab:

/dev/sdb1 /media/1tbdrive ext3 defaults 1 2


I can access the drive fine if I type mount -a using this entry. I see the contents I copied over when it was connected via USB. However, when I reboot the system, I get a bad superblock message during bootup:

Checking filesystems:
fsck.ext3: /dev/sdb1:
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>

No such file or directory while trying to open /dev/sdb1
/boot: clean, 43/26104 files,15785/104388 blocks.
[FAILED]

Any ideas on why I get that error message? I had to remove the entry for /dev/sdb1 from /etc/fstab so I could boot into the system. Again, I can manually mount it successfully once I'm in linux. It's just having the drive mounted during bootup which is the problem.


Below is some information on the drive, let me know if any more info is needed. Thanks!

root@new-host-5 ~]# fsck.ext3 -pv /dev/sdb1
/dev/sdb1: clean, 80841790/122109952 files, 225918280/244190000 blocks

[root@new-host-5 ~]# fdisk -l /dev/sdb

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 121601 976760001 83 Linux

[root@new-host-5 ~]# mke2fs -n /dev/sdb1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
122109952 inodes, 244190000 blocks
12209500 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=247463936
7453 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848
 
Old 11-18-2008, 07:37 PM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Perhaps there are issues with the version of fsck (can't handle huge disk)?
 
Old 11-18-2008, 08:05 PM   #3
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Original Poster
Rep: Reputation: 17
Hmm, I don't think so as I formatted the disk on this system. I can also access it fine if I manually mount it.
 
  


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
kernel panic when added new hard drive kaviazzz SUSE / openSUSE 4 03-04-2007 07:02 PM
File System Check Bootup error: Superblock could not be read. dungeonmasterShu Mandriva 2 11-21-2006 01:45 AM
Added a second Hard Drive chriszurawski Linux - Hardware 2 04-11-2006 02:29 PM
Hard drive failure? No Superblock, Mandrake kwalker Linux - Hardware 10 02-19-2005 05:01 PM
Upgrade Hard Drive Invalid SuperBlock sephiro499 Linux - Hardware 1 10-17-2004 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration