Re: new PC disk problem?
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?
kmself@ix.netcom.com wrote:
> ...did you run badblocks on it?
Peter S Galbraith wrote:
> 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
> [cut]
>
> 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?
kmself@ix.netcom.com wrote:
> Not sure as I've never had to deal with a disk with bad blocks on it.
I did that, and it seems to have worked (that is, I made a tar
backup afterwards without errors). I'll run badblocks on all
other partitions on that disk to check (Will take a _long_ time,
it's a 45GB disk).
> > 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.
Thanks. (That'll cost me some time!)
Peter
Reply to: