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 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html