Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 1995 10:33:19 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: scsi disk bad block
Message-ID:  <199506250833.KAA15536@uriah.heep.sax.de>
In-Reply-To: <11106.804047855@whisker.internet-eireann.ie> from "Jordan K. Hubbard" at Jun 25, 95 03:37:35 am

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506250833.KAA15536>