> > I'm not sure if TRIM/UNMAP is supported on that controller, even in > > HBA mode (and with IT firmware). I've also seen scterc fail to work > > on that controller as well, while working with an ordinary "stupid" > > controller on the same disk. > > > > I had heard that as well. I believe it may have been only older > firmware or maybe just people trying to TRIM against a RAID. I'm > running recent firmware and it appears to execute the command > correctly against a single disk. > > [root@a2simage:etc]$ mkfs.ext4 /dev/sda3 > mke2fs 1.41.12 (17-May-2010) > Discarding device blocks: ^C825792/54624256 > > > Mar 7 11:53:08 66 kernel: sd 0:0:0:0: [sda] Send: > Mar 7 11:53:08 66 kernel: 0xffff8805edd86c80 > Mar 7 11:53:08 66 kernel: sd 0:0:0:0: [sda] CDB: > Mar 7 11:53:08 66 kernel: Unmap/Read sub-channel: 42 00 00 00 00 00 00 > 00 18 00 > Mar 7 11:53:08 66 kernel: buffer = 0xffff88062fe4a280, bufflen = 24, > queuecommand 0xffffffffa01d27e0 Could it be as simple as the controller trying to send UNMAP to an (S)ATA device? TRIM and UNMAP are different commands for ATA and SCSI, respectively. Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 98013356 roy@xxxxxxxxxxxxx http://blogg.karlsbakk.net/ GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html