Subject: Re: Probably a FAQ, but couldn't find it. -- is there the equivalent of atactl reassign blkno on IDE disks?
To: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 07/11/2001 21:38:34
On Mon, Jul 09, 2001 at 05:49:21PM -0700, Brian Buhrow wrote:
> Hello folks. This is probably a FAQ, but I couldn't find it in the
> mailing lists. I have an IDE disk which is showing bad blocks i.e:
>
> Jul 3 22:57:44 woody /netbsd: wd4a: uncorrectable data error reading fsbn 142987762 of 142987762-142987824 (wd4 bn 142987762; cn 141852 tn 15 sn 1), retrying
> Jul 3 22:57:50 woody /netbsd: wd4a: uncorrectable data error reading fsbn 142987762 of 142987762-142987824 (wd4 bn 142987762; cn 141852 tn 15 sn 1), retrying
> Jul 3 22:57:56 woody /netbsd: wd4a: uncorrectable data error reading fsbn 142987762 of 142987762-142987824 (wd4 bn 142987762; cn 141852 tn 15 sn 1), retrying
> Jul 3 22:58:03 woody /netbsd: wd4a: uncorrectable data error reading fsbn 142987762 of 142987762-142987824 (wd4 bn 142987762; cn 141852 tn 15 sn 1), retrying
> Jul 3 22:58:09 woody /netbsd: wd4a: uncorrectable data error reading fsbn 142987783 of 142987762-142987824 (wd4 bn 142987783; cn 141852 tn 15 sn 22), retrying
> Jul 3 22:58:15 woody /netbsd: wd4a: uncorrectable data error reading fsbn 142987783 of 142987762-142987824 (wd4 bn 142987783; cn 141852 tn 15 sn 22)
>
> Since all of these block numbers are the same, I figured I could reassign
> the block from the disk's spare sectors. However, I know of no command to
> do this with IDE disks. Is there an equivalent of scsictl reassign <block
> nnumber> for IDE disks?
As far as I know there's no way to reassign a bad block on IDE disk (no IDE
command for that). The drive should do it by itself, if it can't maybe
there's no spare blocks left.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--