[smartmontools-support] problem with scterc on a mac

Christian Franke Christian.Franke at t-online.de
Sun Feb 2 16:26:54 CET 2020


Dennis Couzin via Smartmontools-support wrote:
> Thanks Christian for your clear reply.
> So the Mac, using Darwin, can't use smartmontools' stcerc command to set the erc times on a SATA drive.

The API supports the SMART_WRITE_LOG command, so it should work to set 
ERC. But you cannot check the result because get ERC does not work due 
to API restrictions.


> I can set up a Linux system to do that.
> But will the same Mac, based as it is on Darwin, then have incomplete communication with that SATA drive, defeating the drive's erc settings?

This may not work because ERC settings are usually not persistent across 
power cycles and device resets.


> Is error recovery control handled by the drive alone or does it require collaboration with the computer?

It is handled by the drive.

Regards,
Christian




More information about the Smartmontools-support mailing list