Re: sector going bad on hard disk
- To: debian-sparc@lists.debian.org
- Subject: Re: sector going bad on hard disk
- From: "Brenda J. Butler" <bjb@achilles.net>
- Date: Mon, 8 May 2000 14:06:16 -0400
- Message-id: <20000508140616.A430@seal>
- Mail-followup-to: debian-sparc@lists.debian.org
- In-reply-to: <20000507093816.A6090@seal>; from Brenda J. Butler on Sun, May 07, 2000 at 09:38:17AM -0400
- References: <20000507093816.A6090@seal>
On Sun, May 07, 2000 at 09:38:17AM -0400, Brenda J. Butler wrote:
>
> For a few days, access to a certain file (/home/bjb/Mail/family)
> was slow at a certain point in the file. Now, access to that file
> gives the following error:
>
> scsi0: MEDIUM ERROR on channel 0, id1, lun0, CDB: Request Sense 00 00 00 10 00
> Current error sd08:01: sense key Medium Error
> Additional sense indicates Unrecovered read error
> scsidisk I/O error: dev 08:01, sector 109150
>
>
> I wonder what I can do to "mark that sector as bad" and not use it.
>
> I tried fsck /home, but fsck returns no errors.
>
>
> My system is a Sparc Station 20, with a pair of 2 Gig hard disks.
> The /home filesystem shares a whole hard disk with a swap partition.
> The disks are SEAGATE model ST32430W SUN 2.1G disks, Rev 0666,
> Type: Direct-Access ANSI SCSI revision: 02 according to dmesg.
>
> esp0: target 1[period 100ns offset 15 10.00MHz FAST SCSI-II]
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 4197405 (2049MB) [2.0 GB]
> esp0: target 3[period 100ns offset 15 10.00MHz FAST SCSI-II]
> SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4197405 (2049MB) [2.0 GB]
>
> Also, the partition check does not report anything unusual.
I suppose I have to go back to the repartitioning software
and re-format that filesystem.
> Oh, and what's the best way to back up that filesystem, all except
> for the one file that gives errors?
tar --exclude file -cvf my.stuff.tar .
I should have looked at the man page for tar before asking that one.
Oops.
--
bjb@achilles.net
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Reply to: