From owner-freebsd-scsi Mon Oct 14 10:24:44 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA12313 for freebsd-scsi-outgoing; Mon, 14 Oct 1996 10:24:44 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA12171 for ; Mon, 14 Oct 1996 10:23:15 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA09632; Mon, 14 Oct 1996 19:21:11 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id TAA16999; Mon, 14 Oct 1996 19:21:11 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.6/8.6.9) id SAA06506; Mon, 14 Oct 1996 18:53:57 +0200 (MET DST) From: J Wunsch Message-Id: <199610141653.SAA06506@uriah.heep.sax.de> Subject: Re: Buslogic controller, Sync mode & a SCSI disk error To: freebsd-scsi@FreeBSD.org (FreeBSD SCSI list) Date: Mon, 14 Oct 1996 18:53:57 +0200 (MET DST) Cc: jgreco@brasil.moneng.mei.com (Joe Greco) In-Reply-To: <199610141321.IAA23698@brasil.moneng.mei.com> from Joe Greco at "Oct 14, 96 08:21:40 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Joe Greco wrote: > > What's wrong with scsiformat(8)? > 2) Because generally I am more interested in a utility to do verification > and bad block remapping. The FORMAT UNIT command does this, inside the drive. At least, that's my experience. One of my old (now retired due to lack of space) Seacrate drives experienced excess bad sectors once, so i backed up, reformatted, and restored the filesystems. It never got any reported bad block again, and it went on for more than a year afterwards until i had to replace it by a larger one recently. > Any ideas on a verification/bad block remapper utility? Would it be > hard to do? On-the-fly verification (non-desctructive, as Rod suggested) is much harder to do. There's no SCSI command for it, you gotta visit each block on the drive, and remap it manually. The existing scsiformat(8) was just Peter D's replacement for the old defunct 4.4BSD scsiformat code, with no more functionality added (and the ugly user interface inherited ;). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)