Disk spindown not working - disk is accessed by pool-udisksd

  • Hi,

    I tried troubleshooting this issue from posts I found on this forum and others too, and with the help of ChatGPT, but nothing helped.

    I have a 4TB WD drive that I use for data which I don't access a lot. I also have a 1TB WD drive that is constantly running for Plex, torrents, etc. As I don't use the 4TB one, I always had it configured to spin down after 20 minutes. On my previous server (RPi4, OMV 6, USB HDD enclosures) it worked, but I have another server now (J4125B, OMV 7, SATA connections), and it doesn't work.

    After some investigation with btrace I can see that nothing accesses the drive when I don't use it, except pool-udisksd and udisksd.

    I tried to apply the OMV settings again (see attached picture), but didn't work. With hdparm -C it is always active/idle. I tried editing /etc/udisks2/udisks2.conf, my config is this now:

    And you can see, I also tried to set the polling rate to a day. (I restarted udisks after modifications)

    I tried editing /etc/smartd.conf, but there is a message that it is OMV generated and changes will be lost.

    I need SMART monitoring, for my SSD system drive and 1TB HDD I don't care if they are checked every 5 minutes or so by udisks, but my 4TB drive should be checked less frequently, maybe once a day.

    I really hope someone can help me with this.
    Thanks in advance for the answers,
    Matt

  • I compared the installed packages dpkg --get-selections | grep -v deinstall output with the output of apt-cache depends udisks2 and apt-cache rdepends udisks2, here is the output:

    Code
    dbus
    fwupd
    gnome-disk-utility
    gvfs-daemons      
    parted
    udev

    I have a lot of gnome stuff installed, and I don't know why. I will investigate that, and also which packages need the other stuff.

  • Also, the result of sudo apt-get remove --simulate udisks2:

    So I'm a little confused: how can it be that dbus and udev depends on udisks2 but removing it apparently doesn't break those?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!