by hlandau · 6y ago · 0 comments
SAS HBAs are backwards compatible with SATA drives because they're specifically designed to be. So I guess they're capable of passing either SCSI or, when SATA drives are used, ATA commands.
Where it gets amusing is when you use SAS expanders, since then the link from the HBA to the expander is SAS, but the link from the expander to the drive is SATA. Thus SAS has a special protocol called Serial ATA Tunneling Protocol (STP), which allows ATA to be tunneled over SAS.
What's really comical is that this means if you attached a SATA optical drive to a SAS expander, it follows that you'd be talking SCSI tunneled inside ATA/ATAPI tunneled inside STP over SAS.
There are SATA drives that understand SCSI over ATAPI albeit in a limited way just to be clear.
Very interesting! I just looked it up - it's the ATA PASS-THROUGH command in the SCSI-ATA Translation (SAT) specification. Someone just told me this is apparently a common way to read SMART data from hard drives in USB enclosures.
>There are SATA drives that understand SCSI over ATAPI albeit in a limited way just to be clear.
I assume you mean hard drives. This is extremely interesting. Can you provide more information? Examples of drives, any links?