All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Matthias Urlichs <matthias@urlichs.de>, linux-scsi@vger.kernel.org
Subject: Re: Low-level reformat with different sector size: ?
Date: Fri, 29 Jun 2007 22:04:13 -0400	[thread overview]
Message-ID: <4685BA1D.60805@torque.net> (raw)
In-Reply-To: <1183132245.3518.28.camel@localhost.localdomain>

James Bottomley wrote:
> On Fri, 2007-06-29 at 15:34 +0000, Matthias Urlichs wrote:
>> Yesterday I managed to buy a couple of SCA disks with a sector size of ...
>> *drumroll* ... 524.
>>
>> What's the easiest way to re-format these to use 512 bytes?
>> Preferably without screwing up anything else on these things?
> 
> We use this program go reformat 520 sector size disks back to 512:
> 
> http://parisc-linux.org/~jejb/blk512-linux.c
> 
> It should work for your device as well.  Beware it requires a complete
> low level format to achieve this, which can take a very long time.

I might mention at this point that sg_format is derived
from blk512-linux.c . Both should be able to format recent
SCSI disks (e.g. manufactured in this millennium). sformat
is an older program. All of them invoke the SCSI FORMAT
command. If the SCSI FORMAT command is examined in SCSI-2,
SBC, SBC-2 and SBC-3 then it can be seen as quite complex.
Over the 15 year period spanned by those standards (SBC-3 is
still a draft) it has become more complex and changed
somewhat.

The first terabyte SCSI disk was announced this week. I
wonder how long it takes to format.

Doug Gilbert

  reply	other threads:[~2007-06-30  2:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-29 15:34 Low-level reformat with different sector size: ? Matthias Urlichs
2007-06-29 15:50 ` James Bottomley
2007-06-30  2:04   ` Douglas Gilbert [this message]
2007-06-30  1:47 ` Douglas Gilbert
2007-06-30  1:50 ` Douglas Gilbert
2007-06-30 15:30   ` Matthias Urlichs

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=4685BA1D.60805@torque.net \
    --to=dougg@torque.net \
    --cc=James.Bottomley@SteelEye.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthias@urlichs.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.