From owner-freebsd-hackers Sun Jun 25 01:54:31 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA14534 for hackers-outgoing; Sun, 25 Jun 1995 01:54:31 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id BAA14482 for ; Sun, 25 Jun 1995 01:54:21 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA04911; Sun, 25 Jun 1995 10:54:19 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA28201 for freebsd-hackers@freebsd.org; Sun, 25 Jun 1995 10:54:18 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id KAA15536 for freebsd-hackers@freebsd.org; Sun, 25 Jun 1995 10:33:20 +0200 From: J Wunsch Message-Id: <199506250833.KAA15536@uriah.heep.sax.de> Subject: Re: scsi disk bad block To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Sun, 25 Jun 1995 10:33:19 +0200 (MET DST) Reply-To: freebsd-hackers@freebsd.org (FreeBSD hackers) In-Reply-To: <11106.804047855@whisker.internet-eireann.ie> from "Jordan K. Hubbard" at Jun 25, 95 03:37:35 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 585 Sender: hackers-owner@freebsd.org Precedence: bulk As Jordan K. Hubbard wrote: > > I've found that doing a "verify" using the controller diags generally > does this in a fairly non-destructive manner. This should also be possible using scsi(8), but i guess we'll have to wait for Peter in order to learn the magic sequence to send to the drive. My first attempt to do scsi -f /dev/rsd1.ctl -c "2f 0 0 0 0 0 xx xx 0" (xx xx being the number of blocks to verify) failed with an IO error. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)