public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <iod00d@hp.com>
To: Douglas Gilbert <dougg@torque.net>
Cc: Patrick Mansfield <patmans@us.ibm.com>, linux-scsi@vger.kernel.org
Subject: Re: convert 520 byte sector disk to 512 byte sector?
Date: Tue, 10 Jun 2003 13:54:10 -0700	[thread overview]
Message-ID: <20030610205410.GI6384@cup.hp.com> (raw)
In-Reply-To: <3EE53A34.7070503@torque.net>

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.

	http://seatool.seagate.com/

It in fact did for at least one of the mechs (ST318304FC).
I'll iterate through the others.

But "st" can not query the status of the format it kicks off...
and thus it will never terminate properly on an ia64-linux machine:

...
read_capacity (SG_IO) error: Bad address
        FORMAT on drive /dev/sg24 is 0 % complete . . .
...

I ^C 'd the program after 2 hours and all was well.
I suspect the format doesn't take the long though
(40 minutes for 9G 10K rpm was previous experience).

I'll run "strace -o st.out st -B 512 ..." on the next round and see
what magic the program is doing. That might give me enough clues to
get my own code working.

thanks,
grant

  parent reply	other threads:[~2003-06-10 20:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-09 17:46 convert 520 byte sector disk to 512 byte sector? 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 [this message]
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=20030610205410.GI6384@cup.hp.com \
    --to=iod00d@hp.com \
    --cc=dougg@torque.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=patmans@us.ibm.com \
    /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