Re: convert 520 byte sector disk to 512 byte sector?

Grant Grundler
2003-06-10T20:40:31Z

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