Permanently disable SMART in udisksd/gnome-disks
Thomas Hungenberg
th+lists-debian at demonium.de
Mon Apr 3 19:12:10 UTC 2017
I'm running Ubuntu 16.04 LTS on a SSD along with a HDD for data storage.
If the HDD goes to sleep mode, the journal gets flooded with errors like
udisksd[2340]: Error updating ATA smart for /org/freedesktop/UDisks2/drives/...
This can be fixed by disabling SMART for the HDD using the switch in gnome-disks.
However, this setting only lasts until the next reboot after which SMART is
enabled for the HDD again.
I wonder how to permanently disable SMART for the HDD?
On the other hand, it would be nice to have SMART data available while the
HDD is not in sleep mode.
Would it be possible to make udisksd check if a drive is in sleep mode
before trying to poll the SMART data and this way prevent it from flooding
the journal with errors?
- Thomas
More information about the ubuntu-users
mailing list