I've installed a new homelab server with Proxmox 8.0.4 that has a few SSDs and 4 HDDs(zfs raidz). As the HDDs are primarily used for backups and data that's sporadically accessed I want the HDDs to spindown after 10mins of idle. The settings I'm using in hdparm.conf are not applied when I restart Proxmox.
From command line I tested the following commands with hdparms and they work well:
The disks spindown after 10mins as I want.
Then in order to have the above settings set at startup in case Proxmox is restarted, I've added the following configuration to
Any suggestion on how I can get the hdparm.conf settings applied at startup? Thanks
I posted this same question a few days ago with no luck so far on Stackoverflow.
From command line I tested the following commands with hdparms and they work well:
hdparm -S 120 /dev/sda
hdparm -S 120 /dev/sdb
hdparm -S 120 /dev/sdc
hdparm -S 120 /dev/sdd
The disks spindown after 10mins as I want.
Then in order to have the above settings set at startup in case Proxmox is restarted, I've added the following configuration to
/etc/hdparm.conf
:Although it doesn't work and every time I restart it I need to manually configure the spindown time. I've tried also a different sintax with /dev/sda {}, that doesn't work either./dev/disk/by-id/ata-WDC_WD40EFPX-68C6CN0_WD-WX22D6387HLY {
spindown_time = 120
}
/dev/disk/by-id/ata-WDC_WD40EFPX-68C6CN0_WD-WX42D63J6YE9 {
spindown_time = 120
}
/dev/disk/by-id/ata-WDC_WD40EFPX-68C6CN0_WD-WXC2D532N5ES {
spindown_time = 120
}
/dev/disk/by-id/ata-WDC_WD40EFPX-68C6CN0_WD-WX42D636RZRA {
spindown_time = 120
}
Any suggestion on how I can get the hdparm.conf settings applied at startup? Thanks
I posted this same question a few days ago with no luck so far on Stackoverflow.