From owner-freebsd-scsi Mon Nov 16 00:19:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06501 for freebsd-scsi-outgoing; Mon, 16 Nov 1998 00:19:00 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA06494 for ; Mon, 16 Nov 1998 00:18:58 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id BAA26903; Mon, 16 Nov 1998 01:18:22 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199811160818.BAA26903@panzer.plutotech.com> Subject: Re: 520byte sector size In-Reply-To: <19981116081950.08123@uriah.heep.sax.de> from J Wunsch at "Nov 16, 98 08:19:50 am" To: joerg_wunsch@uriah.heep.sax.de Date: Mon, 16 Nov 1998 01:18:22 -0700 (MST) Cc: freebsd-scsi@FreeBSD.ORG, ticso@cicely.de X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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