Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 1999 20:22:38 +0200
From:      J Wunsch <j@uriah.heep.sax.de>
To:        scsi@FreeBSD.ORG
Cc:        Kris Kirby <kris@airnet.net>
Subject:   Re: Reformatting a 520-byte-per-sector drive
Message-ID:  <19990915202237.13604@uriah.heep.sax.de>
In-Reply-To: <19990915194941.G30655@freebie.lemis.com>; from Greg Lehey on Wed, Sep 15, 1999 at 07:49:41PM %2B0930
References:  <37DF2E67.B9F54D28@airnet.net> <199909150535.XAA40299@panzer.kdm.org> <19990915194941.G30655@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Greg Lehey wrote:

> The block size change requires a format.  It changes the number of
> sectors, for example.

IIRC, it does require an _immediate_ format command right after the
blocksize change, with nothing like an intervening bus reset etc. (or
at least with only a very limited number of actions allowed between,
like status inquiries).

This defeats the idea to use the controller's BIOS in order to
format the drive after the mode page change.  Instead, use
"camcontrol cmd daX -t 7200 -c '4 0 0 0 0 0'" right after changing
the blocksize.

I'm pretty sure i've done this before successfully (pre-CAM, using the
old scsi(8) command).

-- 
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. ;-)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




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