public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: convert 520 byte sector disk to 512 byte sector?
@ 2003-06-10 18:32 Cress, Andrew R
  2003-06-18 20:52 ` Grant Grundler
  0 siblings, 1 reply; 10+ messages in thread
From: Cress, Andrew R @ 2003-06-10 18:32 UTC (permalink / raw)
  To: 'Grant Grundler', Douglas Gilbert; +Cc: Patrick Mansfield, linux-scsi

Grant,

You can set the block descriptor as part of the mode page file using sgmode
from
  http://scsirastools.sourceforge.net
You must do a SCSI format of the disk after changing the block size, of
course.

Andy

-----Original Message-----
From: Grant Grundler [mailto:iod00d@hp.com] 
Sent: Tuesday, June 10, 2003 1:24 PM
To: Douglas Gilbert
Cc: Patrick Mansfield; linux-scsi@vger.kernel.org
Subject: Re: convert 520 byte sector disk to 512 byte sector?


On Tue, Jun 10, 2003 at 11:53:56AM +1000, Douglas Gilbert wrote:
> www.seagate.com have a tool called "seatool" that may
> do the trick for you.

Doug,
thanks - but last time I checked, it's an x86 binary only driver.
I guess I could try it anyway and see if the IOCTLs have
32-bit compat support in ia64 kernel.

thanks,
grant
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread
* convert 520 byte sector disk to 512 byte sector?
@ 2003-06-09 17:46 Grant Grundler
  2003-06-09 19:29 ` Patrick Mansfield
  0 siblings, 1 reply; 10+ messages in thread
From: Grant Grundler @ 2003-06-09 17:46 UTC (permalink / raw)
  To: linux-scsi

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-06-18 20:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-10 18:32 convert 520 byte sector disk to 512 byte sector? Cress, Andrew R
2003-06-18 20:52 ` Grant Grundler
  -- strict thread matches above, loose matches on Subject: below --
2003-06-09 17:46 Grant Grundler
2003-06-09 19:29 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox