Hi,
I have QorlQ P2040 card.I want to read the temperature of my SSD. To do this, I must enable smart features of SATA.But I don't know how to do it.
Also I want to learn whether P2040 card supports smart features of SATA.
Thanks.
I can’t use spesific tool. I should make it with coding by using C language. If anyone helps me , it will great for me.
Hi,
you need to enable smart and then read smart status via ATA command.
CMD_SMART + ENABLE : 0xB0 + 0xD8
CMD_SMART + STATUS : 0xB0 + 0xDA
best regards
Vojtech Filip
Yes, The smartmontools package contains two utility programs (smartctl
and smartd
) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA/SATA, SCSI/SAS/TTRockStars and NVMe disks.
The SMART data can be obtained using "smartmontools" package.
Detailed information is provided on its homesite: