OT: [HW] Bad blocks on my hard drive]

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Sep 6 20:10:54 UTC 2006


On Wed, Aug 30, 2006 at 01:10:38PM -0400, Meng Cheah wrote:
> I recently bought a Maxtor 250G hard drive.
> I've been using it for a few months with no problems.
> 
> I needed to use the remaining 150G as hda4,
> I partitioned it and ran "sudo mkfs.ext3 -cjv /dev/hda4".
> 
> It showed:
> mke2fs 1.37 (21-Mar-2005)
> Filesystem label=
> OS type: Linux
> Block size=4096 (log=2)
> Fragment size=4096 (log=2)
> 18317312 inodes, 36624183 blocks
> 1831209 blocks (5.00%) reserved for the super user
> First data block=0
> 1118 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
> 
> Running command: badblocks -b 4096 -s /dev/hda4 36624183
> Checking for bad blocks (read-only test): done                        183

The position of the '183' is very odd and not at all like the other
parts of the output.  I have no idea what that is.

> Writing inode tables: done
> Creating journal (8192 blocks): done
> Writing superblocks and filesystem accounting information: done
> 
> This filesystem will be automatically checked every 39 mounts or
> 180 days, whichever comes first.  Use tune2fs -c or -i to override.
> 
> Does this mean there are 183 bad blocks out of 36624183?

Not sure.  You can check if 'tune2fs -l /dev/hda4' has any more detail
on things.  None of my disks have any bad blocks.

> Is this acceptable?

If it actually has bad blocks, then no it isn't.  A modern disk should
not show bad blocks.  It should remap them automatically.  Of course to
remap them you have to actually write to the sector in question.

--
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wini/Mailing_lists





More information about the Legacy mailing list