public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* UltraStar fails detection with "Unsupported sector size 524"
@ 2010-09-12 17:30 Mikael Pettersson
  2010-09-12 17:33 ` Michael Stroucken
  2010-09-12 18:18 ` James Bottomley
  0 siblings, 2 replies; 6+ messages in thread
From: Mikael Pettersson @ 2010-09-12 17:30 UTC (permalink / raw)
  To: linux-scsi

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?

/Mikael

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

* Re: UltraStar fails detection with "Unsupported sector size 524"
  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:18 ` James Bottomley
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Stroucken @ 2010-09-12 17:33 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: linux-scsi

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:
>
> 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?
>   

Low level format?

Greetings,
Michael.

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

* Re: UltraStar fails detection with "Unsupported sector size 524"
  2010-09-12 17:33 ` Michael Stroucken
@ 2010-09-12 17:58   ` Mikael Pettersson
  2010-09-12 18:08     ` Michael Stroucken
  0 siblings, 1 reply; 6+ messages in thread
From: Mikael Pettersson @ 2010-09-12 17:58 UTC (permalink / raw)
  To: Michael Stroucken; +Cc: Mikael Pettersson, linux-scsi

Michael Stroucken writes:
 > 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:
 > >
 > > 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?
 > >   
 > 
 > Low level format?

How would I do that in Linux?  I assume it requires some
SCSI-specific tool, or perhaps even a vendor-specific one.

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

* Re: UltraStar fails detection with "Unsupported sector size 524"
  2010-09-12 17:58   ` Mikael Pettersson
@ 2010-09-12 18:08     ` Michael Stroucken
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Stroucken @ 2010-09-12 18:08 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: linux-scsi

Mikael Pettersson wrote:
> Michael Stroucken writes:
>  > 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:
>  > >
>  > > 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?
>  > >   
>  > 
>  > Low level format?
>
> How would I do that in Linux?  I assume it requires some
> SCSI-specific tool, or perhaps even a vendor-specific one.
>
>   
I've only done this in BSD before, but it looks like something like 
http://sg.danny.cz/sg/sg3_utils.html could be useful.

I don't know about the software configurability here, but normally you 
would first need to update the firmware to something that understands 
512b sectors, then low level format.

Greetings,
Michael.

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

* Re: UltraStar fails detection with "Unsupported sector size 524"
  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 18:18 ` James Bottomley
  2010-09-12 21:28   ` Mikael Pettersson
  1 sibling, 1 reply; 6+ messages in thread
From: James Bottomley @ 2010-09-12 18:18 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: linux-scsi

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



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

* Re: UltraStar fails detection with "Unsupported sector size 524"
  2010-09-12 18:18 ` James Bottomley
@ 2010-09-12 21:28   ` Mikael Pettersson
  0 siblings, 0 replies; 6+ messages in thread
From: Mikael Pettersson @ 2010-09-12 21:28 UTC (permalink / raw)
  To: James Bottomley; +Cc: Mikael Pettersson, linux-scsi

James Bottomley writes:
 > 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>

I tested that on one of the disks and solved the detection problem.

Thanks.

/Mikael

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

end of thread, other threads:[~2010-09-12 21:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-09-12 21:28   ` Mikael Pettersson

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