Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 01:18:22 -0700 (MST)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-scsi@FreeBSD.ORG, ticso@cicely.de
Subject:   Re: 520byte sector size
Message-ID:  <199811160818.BAA26903@panzer.plutotech.com>
In-Reply-To: <19981116081950.08123@uriah.heep.sax.de> from J Wunsch at "Nov 16, 98 08:19:50 am"

next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch wrote...
> As Kenneth D. Merry wrote:
> 
> > > does anybody know the command to change the sector size?
> 
> > Well, I've never done it before, but you might try changing the
> > "Data Bytes per Physical Sector" field in mode page 3 (the "Format
> > device" page).
> 
> This once also worked for a Seagate drive for me.  The other option
> i've seen (ISTR it was an IBM drive) was to change the `block size'
> parameter in the buffer header of a MODE SELECT command, and then
> reformat the drive.  I don't know whether there's an easy opportunity
> to do this using camcontrol, short of manually assembling a complete
> MODE SELECT command using -c.

There isn't an easy option to edit the mode page header, or block
descriptor from camcontrol.  The only way to do it would be the "long" way.
(You could also write a C program to do it.)

Ken
-- 
Kenneth Merry
ken@plutotech.com

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?199811160818.BAA26903>