Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 1995 16:57:57 -0800 (PST)
From:      Julian Elischer <julian@ref.tfs.com>
To:        hasty@rah.star-gate.com (Amancio Hasty Jr.)
Cc:        hackers@FreeBSD.org
Subject:   Re: Help! I got a bad block....
Message-ID:  <199511220057.QAA07511@ref.tfs.com>
In-Reply-To: <199511212145.NAA00231@rah.star-gate.com> from "Amancio Hasty Jr." at Nov 21, 95 01:45:55 pm

next in thread | previous in thread | raw e-mail | index | archive | help
there is a program to do this in -current..
hmm lemme see hmmm I guess it's wrong..

what you need to do is:
1/ try wrote nulls to the block
if that succeeds all's well.. fsck the drive
2/ use the scsi 'mode page editor' to set the remapping options ON
(man 8 scsi) 
3/ try write nulls to the block..
theoretically this hsould succeed, and the block should be
automatically remapped..


> 
> 
> My system disk is dying and I need to remove an inode -- all I got is
> the disk block number which fsck reports .
> 
> BTW: Why can't fsck remove or mark bad scsi blocks?
> 
> Tnks,
> 	Amancio
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511220057.QAA07511>