*BSD News Article 55262


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!swrinde!cs.utexas.edu!math.ohio-state.edu!jussieu.fr!ensta!itesec!sidhe.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Seeking SCSI low-level formatter for FreeBSD
Date: 23 Nov 1995 11:01:12 GMT
Organization: Herve Schauer Consultants
Lines: 30
Message-ID: <491k9o$kl9@sidhe.cedocar.fr>
References: <4906ja$h4m@csu-b.csuohio.edu>
Reply-To: roberto@hsc.fr.net (Ollivier Robert)
NNTP-Posting-Host: sidhe.cedocar.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <4906ja$h4m@csu-b.csuohio.edu>,
Joe Rosenfeld <cowboy@trans.csuohio.edu> wrote:
> Greetings:  I have a problem with a SCSI disk having bad sectors.
> I have FreeBSD on, in the first partition, on three slices, and
> was wondering if FreeBSD has a low-level SCSI disk formatter that
> also marks bad blocks.

Well, a SCSI disk starting to show bad blocks is either :
- a SCSI disk with automatic bad block remapping turned OFF,
- a SCSI disk you should change at one if ON... 

Do the following command  to see i automatic  bad block remapping is  ON or
OFF:

scsi -f /dev/rsdNc -m 1

If the two first  parameters (ARWE and I keep   forgetting the second)  are
both 0, then it is OFF. Turn them ON by issuing the following command, edit
the two fields and save. 

scsi -f /dev/rsdNc -m 1 -P 3

If both are set to 1, then automatic  remapping is already  ON and the disk
has no more available sectors  to remap bad blocks  into. Return it to your
vendor to get another one. 

[ Cc:'ed to Joe ]
-- 
Ollivier ROBERT  -=-=-  FreeBSD 2.x FAQ maintainer -=-=-  roberto@freebsd.org
-=-=-=-=-=- Support The Free UNIX Systems !  FreeBSD Linux NetBSD -=-=-=-=-=-