ZFS on Linux zpool disk spin-up daemon

geppi

n00b
Joined
Aug 25, 2012
Messages
14
The Linux runtime power management (RPM) provides everything necessary to put unused disks to sleep and wake them up when required.
If properly configured this can save energy in SOHO environments where disks often idle in the night and during non office hours.

However, a major drawback when used with ZFS pool disks is the large latency until a sleeping zpool becomes available.
The zpool disks are not resumed in parallel which can lead to latencies of tens of seconds to minutes for larger pools.

For everybody interested to give RPM a try in combination with ZFS, zolspinup is a systemd service that can configure the RPM parameters on startup and spin-up the zpool disks in parallel.

The service executable can also be used to list the current RPM parameters and status of zpool disks when called with the name rpmstat.
 
systemd?

/holds cross in front, looks for a stake

Too late. I don't much care for systemd but unless someone comes up with better, it's here to stay. The old SysV init is almost dead, and good riddance to it.
 
Too late. I don't much care for systemd but unless someone comes up with better, it's here to stay. The old SysV init is almost dead, and good riddance to it.

The BSDs run fine with their rc system.
 
Sorry chaps, when I opened this thread my intention was not to start a poll about the likes and dislikes of systemd.

The functionality of zolspinup does indeed not depend on systemd.
I'm just using systemd, available nowadays on a large number of distros, as a convenient vehicle to daemonize the process.
However, it is absolutely possible to daemonize it without systemd.

As experts on the other startup systems you know for sure what modifications will be required.
 
Just let the drives run, the power usage when not in high usage is so minimal vs the wear and tear of spinning up and down.....
 
Back
Top