From owner-freebsd-questions Tue May 14 18:25:49 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA00839 for questions-outgoing; Tue, 14 May 1996 18:25:49 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA00830 for ; Tue, 14 May 1996 18:25:29 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id LAA24815; Wed, 15 May 1996 11:04:33 +0930 From: Michael Smith Message-Id: <199605150134.LAA24815@genesis.atrad.adelaide.edu.au> Subject: Re: How to reassign SCSI blocks? To: zeno@itchy.serv.net (Sean T. Lamont) Date: Wed, 15 May 1996 11:04:32 +0930 (CST) Cc: questions@FreeBSD.org In-Reply-To: <199605140642.XAA07512@itchy.serv.net> from "Sean T. Lamont" at May 13, 96 11:42:05 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Sean T. Lamont stands accused of saying: > > I looked through the stuff on www.freebsd.org and in the handbook & manpages, > but the answer to this question has not become clear. How does one > re-map a scsi block? I'm getting: > > MEDIUM ERROR: info 15c040 asc:aa,0 > > I know under nextstep, there's a utility called 'reasb' which can be > used for the purpose, and I'm looking for a similar beast under FreeBSD. Look at the 'scsi' manpage for an example that describes editing mode page 1 on a SCSI drive. This page should contain ARRE and ARWE; enabling these will request the drive perform automatic bad block forwarding on read and write respectively. You can also construct a reassignment command manually using 'scsi'. I don't know if anyone (Peter Dufault?) has a canned version of this lying around... > Sean T. Lamont, President / CEO, Abstract Software (ServNet) -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[