News for hackers. Stuff that matters.
Re:WD Passport 4TB drives don't support WRITE SAME command by bayindirh on Thursday March 26, 2020 @03:35PM (#22697071)
When you talk to disks via smartctl, the tool reports the specification versions they support. There's a ATA Version and SATA Version field for SATA disks. I was unable to get details on a SAS disk, but it was identified as a SAS drive successfully.

These standards probably define mandatory and optional commands to certify disks as compatible with these specs IMHO.

If the command is optional, then it's OK, but if it's not, then there's some bug fix what WD shall make.

Re:WD Passport 4TB drives don't support WRITE SAME command by rowanG077 on Thursday March 26, 2020 @09:05PM (#22699612)
For SAS drives I would recommend sg3_utils [1]. You can basically query what the drive supports via `sg_opcodes`.

smartctl isn't really designed to handle SCSI protocol I think. It can do basic things but for anything deep you better use sg3_utils.

[1] http://sg.danny.cz/sg/sg3_utils.html

Re:WD Passport 4TB drives don't support WRITE SAME command by bayindirh on Sunday March 29, 2020 @07:50AM (#22718217)
Thanks for the reply and the utility. I'll take a look into it. Since I'm familiar with smartctl due to my server management roles, it came to my mind so I've shared. I never thought it should be able to handle beyond what it needs to do get SMART and other diagnostic data.

Thanks again. :)