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. ** Bug watch added: github.com/storaged-project/udisks/issues #407 https://github.com/storaged-project/udisks/issues/407 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899361 Title: udisk prevent disk from standby, standby timer is broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/1899361/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
