I assume this is in 21.x, but not available in LTS (?)
As a workaround, you can turn off the smarts function in Gnome-disks [Disks] GUI, which stops the polling through udisk2, and disables smarts on the disk. You can then re enable SMARTs on the individual drives with:
smartctl -s enable /dev/sdX.
smartmontools or other smartd tools will then work, with a configurable polling frequency if you need SMARTs. This does not re enable Disks udisk2 based polling, so the disks now sleep.
This problem is still in 20.04.1, but appears to have been fixed in master udisk2, patching from 10 mins to 60 mins.
https:/ /github. com/storaged- project/ udisks/ issues/ 407#ref- commit- 326b182
I assume this is in 21.x, but not available in LTS (?)
As a workaround, you can turn off the smarts function in Gnome-disks [Disks] GUI, which stops the polling through udisk2, and disables smarts on the disk. You can then re enable SMARTs on the individual drives with:
smartctl -s enable /dev/sdX.
smartmontools or other smartd tools will then work, with a configurable polling frequency if you need SMARTs. This does not re enable Disks udisk2 based polling, so the disks now sleep.