*BSD News Article 70668


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!newsfeed.internetmci.com!netnews.nwnet.net!news.u.washington.edu!root
From: kargl@troutmask.apl.washington.edu
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How do I mark bad blocks on my disk?
Date: 10 Jun 1996 19:36:12 GMT
Organization: Applied Physics Laboratory
Lines: 29
Message-ID: <4phtfc$ghj@nntp5.u.washington.edu>
References: <31bc6265.0@jupiter.os.com>
NNTP-Posting-Host: troutmask.apl.washington.edu

     Craig Shrimpton wrote in article <31bc6265.0@jupiter.os.com> :
>
>Greetings,
>
>I have a scsi disk that has some bad blocks.  The disk "hoses" on FreeBSD but 
>works fine on NT server.  I assume this is due to NTs marking of bad blocks.  
>How do I do this in FreeBSD?
>
>Thanks,
>
>Craig
>
>

 scsi -f /dev/rsd1c -e -m 1

You should see the following as the first two lines:

AWRE (Auto Write Reallocation Enbld):  1
ARRE (Auto Read Reallocation Enbld):  1


If the 1's are actually 0's, then change them to 1's.

Steve

Permission is hereby granted to forward this message in its entirety to
whomever you like unless I explicitly state that the content is confidential.