Is it possible to configure HDD spin down in IncusOS?

Hi, I am wondering if it is possible to configure specific hard drives for spindown? I would like to attach a pool of hard drives that get rarely accessed (about once a day).

Edit: may passing the storage controller to a container or VM be an option?

PCI passthrough of a controller on its own IOMMU group to a VM should work just fine with the pci device type.

Feel free to file a feature request for drive spin down at Sign in to GitHub · GitHub. It will likely need a fair bit of refactoring work as we currently don’t have a way to store per-drive properties in the storage API. Everything you see in the storage API is detected live from the system.

A per-drive spin down delay would need us to start persisting some amount of configuration in our state file which isn’t really a problem but will need quite a bit of refactoring here.