Help - Search - Members - Calendar
Full Version: Problems with bad superblock on /dev/hda1
Linuxhelp > Support > Technical Support
thebuzz
Hi there

I have a backup harddrive in my linux server that suddenly stopped responding, I tried unmounting it, but had to be done with the umount -l (lee) version to make it wait until all filelocks was finished - stopped apache and it was umounted correctly.

Then I went to fsck /dev/hda > no go:
CODE
[root@tfcclion root]# fsck /dev/hda
fsck 1.27 (8-Mar-2002)
e2fsck 1.27 (8-Mar-2002)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/hda
Could this be a zero-length partition?


Next well tried several version of fsck, e2fsck .. so forth, read all places, tried specifying superblock and everything, maybe I did it wrong, but I tried...

e2fsck -b 8193 /dev/hda1
CODE
[root@tfcclion root]# e2fsck -b 8193 /dev/hda1
e2fsck 1.27 (8-Mar-2002)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/hda1
Could this be a zero-length partition?


Then lets try dmesg unsure.gif
CODE
sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 18032
end_request: I/O error, dev 03:01 (hda), sector 18032
end_request: I/O error, dev 03:01 (hda), sector 18032
end_request: I/O error, dev 03:01 (hda), sector 18032
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 35407584
end_request: I/O error, dev 03:01 (hda), sector 35407584
end_request: I/O error, dev 03:01 (hda), sector 35407584
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213039, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 33048288
end_request: I/O error, dev 03:01 (hda), sector 33048288
end_request: I/O error, dev 03:01 (hda), sector 33030504
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2065582, block=4128813
end_request: I/O error, dev 03:01 (hda), sector 33048288
end_request: I/O error, dev 03:01 (hda), sector 33030504
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2065582, block=4128813
end_request: I/O error, dev 03:01 (hda), sector 4160
end_request: I/O error, dev 03:01 (hda), sector 4160
end_request: I/O error, dev 03:01 (hda), sector 64
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2, block=8
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:01 (hda), sector 8
LVM version 1.0.3(19/02/2002) module loaded
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 262192
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): read_block_bitmap: Cannot read block bitmap - block_group = 1, block_bitmap = 32774
end_request: I/O error, dev 03:01 (hda), sector 35389800
end_request: I/O error, dev 03:01 (hda), sector 0
EXT2-fs error (device ide0(3,1)): ext2_write_inode: unable to read inode block - inode=2213040, block=4423725
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 16384
end_request: I/O error, dev 03:01 (hda), sector 16392
end_request: I/O error, dev 03:01 (hda), sector 32768
end_request: I/O error, dev 03:01 (hda), sector 32776
end_request: I/O error, dev 03:01 (hda), sector 65544
end_request: I/O error, dev 03:01 (hda), sector 65552
end_request: I/O error, dev 03:01 (hda), sector 131088
end_request: I/O error, dev 03:01 (hda), sector 131096
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 16384
end_request: I/O error, dev 03:01 (hda), sector 16392
end_request: I/O error, dev 03:01 (hda), sector 32768
end_request: I/O error, dev 03:01 (hda), sector 32776
end_request: I/O error, dev 03:01 (hda), sector 65544
end_request: I/O error, dev 03:01 (hda), sector 65552
end_request: I/O error, dev 03:01 (hda), sector 131088
end_request: I/O error, dev 03:01 (hda), sector 131096
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 8
end_request: I/O error, dev 03:01 (hda), sector 16
end_request: I/O error, dev 03:01 (hda), sector 24
end_request: I/O error, dev 03:01 (hda), sector 32
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 156296192
end_request: I/O error, dev 03:01 (hda), sector 156296200
end_request: I/O error, dev 03:01 (hda), sector 2
EXT2-fs: unable to read superblock
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 2
end_request: I/O error, dev 03:01 (hda), sector 4
end_request: I/O error, dev 03:01 (hda), sector 6
end_request: I/O error, dev 03:01 (hda), sector 0
end_request: I/O error, dev 03:01 (hda), sector 2
end_request: I/O error, dev 03:01 (hda), sector 4
end_request: I/O error, dev 03:01 (hda), sector 6
end_request: I/O error, dev 03:00 (hda), sector 0
end_request: I/O error, dev 03:00 (hda), sector 2
end_request: I/O error, dev 03:00 (hda), sector 4
end_request: I/O error, dev 03:00 (hda), sector 6
end_request: I/O error, dev 03:01 (hda), sector 16384
end_request: I/O error, dev 03:01 (hda), sector 16386
end_request: I/O error, dev 03:01 (hda), sector 16388
end_request: I/O error, dev 03:01 (hda), sector 16390
end_request: I/O error, dev 03:01 (hda), sector 16392
end_request: I/O error, dev 03:01 (hda), sector 16394
end_request: I/O error, dev 03:01 (hda), sector 16396
end_request: I/O error, dev 03:01 (hda), sector 16398
end_request: I/O error, dev 03:01 (hda), sector 32768
end_request: I/O error, dev 03:01 (hda), sector 32770
end_request: I/O error, dev 03:01 (hda), sector 32772
end_request: I/O error, dev 03:01 (hda), sector 32774
end_request: I/O error, dev 03:01 (hda), sector 32776
end_request: I/O error, dev 03:01 (hda), sector 32778
end_request: I/O error, dev 03:01 (hda), sector 32780
end_request: I/O error, dev 03:01 (hda), sector 32782
end_request: I/O error, dev 03:01 (hda), sector 65544
end_request: I/O error, dev 03:01 (hda), sector 65546
end_request: I/O error, dev 03:01 (hda), sector 65548
end_request: I/O error, dev 03:01 (hda), sector 65550
end_request: I/O error, dev 03:01 (hda), sector 65552
end_request: I/O error, dev 03:01 (hda), sector 65554
end_request: I/O error, dev 03:01 (hda), sector 65556
end_request: I/O error, dev 03:01 (hda), sector 65558
end_request: I/O error, dev 03:01 (hda), sector 131088
end_request: I/O error, dev 03:01 (hda), sector 131090
end_request: I/O error, dev 03:01 (hda), sector 131092
end_request: I/O error, dev 03:01 (hda), sector 131094
end_request: I/O error, dev 03:01 (hda), sector 131096
end_request: I/O error, dev 03:01 (hda), sector 131098
end_request: I/O error, dev 03:01 (hda), sector 131100
end_request: I/O error, dev 03:01 (hda), sector 131102


Oh I dont understand that - other than an I/O error? Is HD dead? Its just like 1 year old and not too much used, only backs up once a week or so...

CODE
[root@tfcclion root]# fdisk -l

Disk /dev/sda: 255 heads, 63 sectors, 1115 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    104391   83  Linux
/dev/sda2            14       395   3068415   83  Linux
/dev/sda3           396       714   2562367+  83  Linux
/dev/sda4           715      1115   3221032+   5  Extended
/dev/sda5           715       841   1020096   83  Linux
/dev/sda6           842      1036   1566306   82  Linux swap
/dev/sda7          1037      1114    626503+  83  Linux

Disk /dev/sdb: 255 heads, 63 sectors, 1115 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1       982   7887883+  83  Linux

Disk /dev/sdc: 255 heads, 63 sectors, 1115 cylinders
Units = cylinders of 16065 * 512 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/sdc1   *         1      1115   8956206   83  Linux


CODE
[root@tfcclion root]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda7               616636    307240    278072  53% /
/dev/sda1               101089     21331     74539  23% /boot
/dev/sda2              3020172   2009848    856904  71% /home
none                    385944         0    385944   0% /dev/shm
/dev/sda3              2522076   1957000    436960  82% /usr
/dev/sda5              1004024    527244    425776  56% /var
/dev/sdb1              7763856   3994516   3374948  55% /home2
/dev/sdc1              8815372   6432012   1935552  77% /home3


IDE Devices hda: ST380013A (Capacity: 74.53 GB)

is detected by bios easy..

So - anyone can give me some assistance? Its somewhat a problem because I have something on the /backup that I dont have other places.... Bit dumb yea sad.gif

Thanks in advance!

Tom Christensen
Hemant
Why is it not listed in fdisk outputs?

You ran, fdisk, when the hard disk was unmounted......or what?
thebuzz
QUOTE (Hemant @ Dec 14 2005, 08:31 AM)
Why is it not listed in fdisk outputs?

You ran, fdisk, when the hard disk was unmounted......or what?

Correct smile.gif It was oddly enuff mounted at bootup, but after umount -l /dev/had it cant be remounted again

Tried only
mount -a

tho
thebuzz
*bump*
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.