AndrewX192 has created a Python script to allow adjusting the fan speed of a Lenovo SA120.

Step 1: Download the python script to your FreeNAS

  • Log in to FreeNAS and open a shell


Hit “paste” and copy below:


curl > ./

To verify that this downloaded, run the command and look for the file.

ls -alF


Good! It is there.

Step 2: Testing!

On the next line, go ahead and execute the following command:

python 1


This will bring any attached Lenovo SA120 DAS down to the lowest fan speed (not recommended for production).

Great, there is an output for fan speed 1.


Step 3: Automate

If you want your speeds to fluctuate throughout the day, you can schedule these commands to run as cron jobs and alternate the speed for each cron job.

Otherwise, have fun setting the speed of your Lenovo SA120 DAS from FreeNAS!


Dww0311 · May 31, 2017 at 10:03 am

If you just plug in both power supplies, the thing will automatically regulate fan speed according to ambient temp (mine is nearly silent) with none of this software tweaking required.

    Tyler Woods · May 31, 2017 at 10:05 am

    Thank you for commenting! Not all of us have two power supplies in our SA120, though


FreeNAS Corral: Control Fan Speed for your Lenovo SA120 JBOD Enclosure – Tyler N. Woods · March 17, 2017 at 2:10 pm

[…] this year, I wrote an article on how to control the fan speed of your Lenovo SA120 JBOD from within […]

Leave a Reply

Related Posts

Bare Metal

How to crossflash PERC H310 to IT mode LSI 9211-8i firmware (HBA for FreeNAS, UnRAID)

Flash PERC H310 to IT mode for use with FreeNAS, UnRAID, etc. The PERC H310 is a pretty standard and widely available PCI express RAID controller. A few of my servers have come with them, Read more…


Monitor Synology NAS DSM 6.1 with SNMP polling

SNMP Monitoring your Synology device You can gain valuable information from your Synology device with SNMP and a system such as OpenNMS or LibreNMS. I use NMS to monitor my switches, servers, and other critical Read more…

Amazon AWS

netdata: A remarkable server monitoring utility.

I wanted to write a short introduction to a tool that I’ve been using a lot on my newest servers and development projects. This tool seriously provides the most amazing way of monitoring and comprehending Read more…

%d bloggers like this: