[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new PC disk problem?



On Thu, Aug 03, 2000 at 09:35:03AM -0400, Peter S Galbraith wrote:
> 
> kmself@ix.netcom.com wrote:
> 
> > On Wed, Aug 02, 2000 at 10:27:59AM -0400, Peter S Galbraith wrote:
> > > I received a new Dell computer last week, and after a backup of
> > > my system tar reported problems with one file.  While trying to
> > > read that file, I get I/O errors:
> > > 
> > >  hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
> > >  hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=10360592,
> >    sector=4464737
> > >  end_request: I/O error, dev 03:02 (hda), sector 4464737
> > > 
> > > Bad disk?
> > > Should I contact Dell or test-torture it some more?
> > 
> > ...did you run badblocks on it?
> 
> Just did, thanks.  I got the number of blocks on the partition
> from fdisk like so:
> 
> # fdisk -l /dev/hda | grep hda2
> /dev/hda2           368       877   4096575   83  Linux
> # badblocks /dev/hda2 4096575
> 2232368
> 2232369

<...>

> If I understand correctly, I should reboot using a rescue boot
> disk (since this is on my root partition) and run:
> 
> # e2fsck -c /dev/hda2
> 
>        -c     This option causes e2fsck to run  the  badblocks(8)
>               program  to  find  any  blocks which are bad on the
>               filesystem, and then marks them as  bad  by  adding
>               them to the bad block inode.
> Right?

Not sure as I've never had to deal with a disk with bad blocks on it.

> It's bad that a brand new disk has bad blocks on it, isn't it?

Yes.  I'd return it for an exchange to the vendor.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpwwpL2jlUVJ.pgp
Description: PGP signature


Reply to: