public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <iod00d@hp.com>
To: linux-scsi@vger.kernel.org
Subject: convert 520 byte sector disk to 512 byte sector?
Date: Mon, 9 Jun 2003 10:46:47 -0700	[thread overview]
Message-ID: <20030609174647.GB29808@cup.hp.com> (raw)

Hi,

I've got several ST336753FC and ST336704FC disks which came out
of a VA7100 RAID enclosure. The VA7100 is able to reformat those
disks from 512 to 520 bytes per sector. I'd like to convert them
back to 512 byte/sector for use as "regular" disks.
Anyone know the trick to do that?

I once wrote a program to use scsi-pass thru (aka scsi generic)
under HPUX to do exactly that for regular parallel SCSI disks.
I dug that up, dusted it off and ported it to linux.
Source code is on http://gsyprf11.external.hp.com/blk512/

I haven't tried blk512-linux with parallel SCSI under linux,
but I know it's not working with the above FC disks when run
on an ia64-linux box.  The format mode page "current" values
aren't changing using the "trick" that worked for the parallel
SCSI disks. And the "writeable" indicates none of the formt mode
page parameters are allowed to be changed (clearly a lie).

The default format mode page clearly shows the drive was 512 byte/sector.
I'd just like to get them back to that for the some performance testing.

thanks,
grant

             reply	other threads:[~2003-06-09 17:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-09 17:46 Grant Grundler [this message]
2003-06-09 19:29 ` convert 520 byte sector disk to 512 byte sector? Patrick Mansfield
2003-06-09 22:39   ` Grant Grundler
2003-06-10  1:53     ` Douglas Gilbert
2003-06-10 17:24       ` Grant Grundler
2003-06-10 20:54       ` Grant Grundler
2003-06-18 20:19       ` Grant Grundler
2003-06-10  0:36   ` Grant Grundler
  -- strict thread matches above, loose matches on Subject: below --
2003-06-10 18:32 Cress, Andrew R
2003-06-18 20:52 ` Grant Grundler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030609174647.GB29808@cup.hp.com \
    --to=iod00d@hp.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox