From: James Bottomley <James.Bottomley@suse.de>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: linux-scsi@vger.kernel.org
Subject: Re: UltraStar fails detection with "Unsupported sector size 524"
Date: Sun, 12 Sep 2010 13:18:24 -0500 [thread overview]
Message-ID: <1284315504.2980.2.camel@mulgrave.site> (raw)
In-Reply-To: <19597.3653.893156.794645@pilspetsen.it.uu.se>
On Sun, 2010-09-12 at 19:30 +0200, Mikael Pettersson wrote:
> I got a bunch of 72G IBM UltraStars that were taken from some
> kind of IBM storage server. The Linux kernel however doesn't
> like them, complaining about a non-512 byte sector size:
>
> scsi 0:0:1:0: Direct-Access IBM IC35L073UCDY10-0 S27N PQ: 0 ANSI: 3
> scsi target0:0:1: tagged command queuing enabled, command queue depth 16.
> scsi target0:0:1: Beginning Domain Validation
> scsi target0:0:1: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 8)
> scsi target0:0:1: Domain Validation skipping write tests
> scsi target0:0:1: Ending Domain Validation
> sd 0:0:1:0: [sdb] Unsupported sector size 524.
>
> (that's from the 2.6.35 kernel's SYM53C8XX_2)
>
> According to the datasheets these drives have soft-configurable
> sector sizes from 512 up to 528 bytes, but they don't say how
> that configuration is done.
>
> Any ideas on how to reconfigure these drives for 512-byte sectors?
sg_format --format --size=512 /dev/<disk>
James
next prev parent reply other threads:[~2010-09-12 18:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-12 17:30 UltraStar fails detection with "Unsupported sector size 524" Mikael Pettersson
2010-09-12 17:33 ` Michael Stroucken
2010-09-12 17:58 ` Mikael Pettersson
2010-09-12 18:08 ` Michael Stroucken
2010-09-12 18:18 ` James Bottomley [this message]
2010-09-12 21:28 ` Mikael Pettersson
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=1284315504.2980.2.camel@mulgrave.site \
--to=james.bottomley@suse.de \
--cc=linux-scsi@vger.kernel.org \
--cc=mikpe@it.uu.se \
/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