Norm Hanson
2002-Dec-01 21:48 UTC
another idiot and ext3 - The inode is from a bad block in the inode table
i too am an idiot.. and request help
here's the sccop
i originally formatted the drive with 3 partitions and installed rh8
/boot
/
swap
everything worked.
my plan was to have this drive only be a data drive so i inatlled rh8 on
another drive and mounted this one on /share
so /share looked like
/share
/bin
/sbin
/mp3
/usr
/etc
/dev
and so on
so i deleted all the dirs that i did not need on /share (bin, dev, sbin,
...)
still fine.
then i think rh8 ran fsck on it and it failed. (the console said something
like interrupt failed)
since than i cannot mount it.
the disk has about 10G of mp3s on it so i'd like to get it working.
fsck reveals this...
[root@pro180 root]# fsck.ext2 -vf /dev/hdf2
e2fsck 1.27 (8-Mar-2002)
Pass 1: Checking inodes, blocks, and sizes
Error while scanning inodes (0): The inode is from a bad block in the inode
table
105597 inodes used (2%)
0 non-contiguous inodes (0.0%)
# of inodes with ind/dind/tind blocks: 0/0/0
2538385 blocks used (26%)
0 bad blocks
0 large files
0 regular files
0 directories
0 character device files
0 block device files
0 fifos
1 link
0 symbolic links (0 fast symbolic links)
0 sockets
--------
1 file
tune2fs reveals this...
[root@pro180 root]# tune2fs -l /dev/hdf2
tune2fs 1.27 (8-Mar-2002)
Filesystem volume name: /
Last mounted on: <not available>
Filesystem UUID: 7084cbb4-053c-4763-b340-a2232265cd36
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: filetype sparse_super
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 4800512
Block count: 9600845
Reserved block count: 480042
Free blocks: 7062460
Free inodes: 4694915
First block: 0
Block size: 4096
Fragment size: 4096
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 16384
Inode blocks per group: 512
Last mount time: Sun Nov 10 23:10:09 2002
Last write time: Sun Dec 1 15:40:31 2002
Mount count: 0
Maximum mount count: -1
Last checked: Sun Dec 1 15:40:31 2002
Check interval: 0 (<none>)
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
[root@pro180 root]#
any help would be much appreciated
Norm Hanson
2002-Dec-02 02:27 UTC
Re: another idiot and ext3 - The inode is from a bad block in the inode table
some more info...
the drive is connected to a maxtor ata 100 pci card
here is the /var/log/ from went things went wrong...
Nov 26 04:02:25 pro180 kernel: hdf: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Nov 26 04:02:36 pro180 kernel: hdf: dma_intr: error=0x00 { }
Nov 26 04:02:36 pro180 kernel: hdf: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Nov 26 04:02:36 pro180 kernel: hdf: dma_intr: error=0x80 { BadSector },
LBAsect=77019210, sector=3600
Nov 26 04:02:36 pro180 kernel: end_request: I/O error, dev 21:43 (hdf), sector
3600
Nov 26 04:02:36 pro180 kernel: EXT3-fs error (device ide2(33,67)): ext3_readdir:
directory #2 contains a hole at offset 0
Nov 26 04:02:36 pro180 kernel: hdf: status error: status=0x11 { SeekComplete
Error }
Nov 26 04:02:36 pro180 kernel: hdf: status error: error=0x00 { }
Nov 26 04:02:36 pro180 kernel: hdf: drive not ready for command
Nov 26 04:02:36 pro180 kernel: hdf: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Nov 26 04:02:36 pro180 kernel: hdf: dma_intr: error=0x80 { BadSector },
LBAsect=77015610, sector=0
Nov 26 04:02:36 pro180 kernel: end_request: I/O error, dev 21:43 (hdf), sector 0
Nov 26 04:02:36 pro180 kernel: hdf: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Nov 26 04:02:57 pro180 kernel: hdf: dma_intr: error=0x80 { BadSector },
LBAsect=5451773, sector=5242928
Nov 26 04:03:07 pro180 kernel: end_request: I/O error, dev 21:42 (hdf), sector
5242928
Nov 26 04:04:08 pro180 kernel: EXT3-fs error (device ide2(33,66)):
ext3_get_inode_loc: unable to read inode block - inode=327681, block=655366
Nov 26 04:04:08 pro180 kernel: hdf: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Nov 26 04:04:18 pro180 kernel: hdf: dma_intr: error=0x80 { BadSector },
LBAsect=208845, sector=0
Nov 26 04:04:18 pro180 kernel: end_request: I/O error, dev 21:42 (hdf), sector 0
Nov 26 04:04:29 pro180 kernel: hdf: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Nov 26 04:04:29 pro180 kernel: hdf: dma_intr: error=0x00 { }
Nov 26 04:04:39 pro180 kernel: hdf: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Nov 26 04:04:49 pro180 kernel: hdf: dma_intr: error=0x00 { }
Nov 26 04:08:50 pro180 kernel: hdf: recal_intr: status=0x10 { SeekComplete }
Nov 26 04:08:51 pro180 kernel: hdf: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Nov 26 04:08:51 pro180 kernel: hdf: dma_intr: error=0x00 { }
Nov 26 04:08:51 pro180 kernel: hde: DMA disabled
Nov 26 04:08:51 pro180 kernel: hdf: DMA disabled