[smartmontools-support] problem with scterc on a mac

Christian Franke Christian.Franke at t-online.de
Mon Jan 27 21:22:37 CET 2020


Dennis Couzin wrote:
> I want to adjust the error recovery time limit on a drive.
> I'm running mac OSX Sierra (10.12.6).  MacPorts installed smartctl:
> 	smartctl 7.0 2018-12-30 r4883 [Darwin 16.7.0 x86_64] (local build)
> In another system, Macbrew installed smartctl:
> 	smartctl 7.1 2019-12-30 r5022 [Darwin 16.7.0 x86_64] (local build)
>
> With both installs, smartctl says I can do it.
> 	cmartctl --identify disk6
> answers:
> 	206      3          1   SCT Error Recovery Control supported
>
> But when I try:
> 	smartctl -l scterc disk6
> the result is always:
> 	SMART WRITE LOG does not return COUNT and LBA_LOW register
> 	SCT (Get) Error Recovery Control command failed
>
> Same problem for other disks.
>
> So, does the command
> 	-l scterc
> not work in the Darwin version of smartctl?
> Why not?

Darwin does not provide full ATA pass-through functionality. The 
IOATASMARTInterface only implements legacy SMART functions.

In this specific case, the command SMART WRITE LOG works, but the result 
from ATA output registers is not returned by the API.

Regards,
Christian




More information about the Smartmontools-support mailing list