Currently, I use the following command to set the fan speed of the server after it starts up:
```
ipmitool -I lanplus -H 192.168.31.217 -U root -P calvin raw 0x30 0x30 0x01 0x00
ipmitool -I lanplus -H 192.168.31.217 -U root -P calvin raw 0x30 0x30 0x02 0xff 0x0a
```
The problem is whenever the server restarts, the fan speed will change back to its old state.
That’s really a problem, for example, if I go out and the power goes out and then comes back on. There will be a huge noise made by the server before I get home.
I personally, use a bash script, which runs as a daemon, that dynamically sets the fan speed based on temps.
So, under idle, the servers run nearly silent. Under load, the fans can spin up.
When the script/daemon stops, it restores the default fan curve.
Where do you put the script? I just want to fix the fan speed to 10% when the server power on.
How I do it.
A bash script that runs on my Truenas Server that manages the fan speeds of my MD1200 and my server. Watches for temperatures and ramps accordingly.