[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-scsi
Subject:    Re: Reformatting a 520-byte-per-sector drive
From:       J Wunsch <j () uriah ! heep ! sax ! de>
Date:       1999-09-15 18:22:38
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic