Advertisements

Controlling fan speed and hard drive APM settings on Synology DiskStation

There is a file in /usr/syno/etc/scemd.xml which controls the fan speeds and trigger temperatures corresponding to the setting at Control Panel > Power, as well as drive APM settings (for hard drive head parking issues. More information for this issue can be found by reading this post). Feel free to edit the file to your needs, but remember that settings may not be preserved during DSM updates.

On my DS211j running DSM 4.1-2668 the file contains the following:

<?xml version="1.0" encoding="UTF-8"?>
<scemd>
 <fan_config period="20" threshold="6" type="DUAL_MODE_HIGH" hibernation_speed="STOP">
 <disk_temperature fan_speed="ULTRA_LOW" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="VERY_LOW" action="NONE">52</disk_temperature>
 <disk_temperature fan_speed="LOW" action="NONE">54</disk_temperature>
 <disk_temperature fan_speed="ULTRA_HIGH" action="NONE">58</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
 </fan_config>
 <fan_config period="20" threshold="6" type="DUAL_MODE_LOW" hibernation_speed="STOP">
 <disk_temperature fan_speed="STOP" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="ULTRA_LOW" action="NONE">40</disk_temperature>
 <disk_temperature fan_speed="VERY_LOW" action="NONE">52</disk_temperature>
 <disk_temperature fan_speed="LOW" action="NONE">54</disk_temperature>
 <disk_temperature fan_speed="ULTRA_HIGH" action="NONE">58</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
 </fan_config>

<fan_config hw_version="Synology-DX5" period="20" threshold="6" type="DUAL_MODE_HIGH_EBOX" hibernation_speed="UNKNOWN">
 <disk_temperature fan_speed="FULL" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="FULL" action="NONE">45</disk_temperature>
 <disk_temperature fan_speed="FULL" action="NONE">55</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
</fan_config>

<fan_config hw_version="Synology-DX5" period="20" threshold="6" type="DUAL_MODE_LOW_EBOX" hibernation_speed="UNKNOWN">
 <disk_temperature fan_speed="FULL" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="FULL" action="NONE">45</disk_temperature>
 <disk_temperature fan_speed="FULL" action="NONE">55</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
</fan_config>

<fan_config hw_version="Synology-DX510" period="20" threshold="6" type="DUAL_MODE_HIGH_EBOX" hibernation_speed="LOW">
 <disk_temperature fan_speed="MIDDLE" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="HIGH" action="NONE">48</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
</fan_config>

<fan_config hw_version="Synology-DX510" period="20" threshold="6" type="DUAL_MODE_LOW_EBOX" hibernation_speed="LOW">
 <disk_temperature fan_speed="MIDDLE" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="HIGH" action="NONE">48</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
</fan_config>
<disk_control>
 <disk model="ST9120821A">APM_255</disk>
 <disk model="HTS722020K9SA00">APM_255</disk>
 <disk model="ST980811AS">APM_255</disk>
 <disk model="MHV2060BH">APM_255</disk>
 <disk model="MK6034GSX">APM_254</disk>
 <disk model="ST9100824AS">APM_255</disk>
 <disk model="HM250JI">APM_255</disk>
 <disk model="MK1637GSX">APM_254</disk>
 <disk model="ST9100824AS">APM_255</disk>
 <disk model="ST9120822AS">APM_254</disk>
 <disk model="ST9160821AS">APM_254</disk>
 <disk model="WD2500BEVS-75UST0">APM_254</disk>
 <disk model="HM250JI">APM_254</disk>
 <disk model="WD2500BEVS">APM_254</disk>
 <disk model="WD1600BEVT">APM_255</disk>
 <disk model="HTS543232L9A300">APM_255</disk>
 <disk model="WD1600BEVE">APM_255</disk>
 <disk model="MK2546GSX">APM_254</disk>
 <disk model="MHV2080BHPL">APM_255</disk>
 <disk model="WD1200BEVE">APM_255</disk>
 <disk model="HTS543225L9A300">APM_255</disk>
 <disk model="WD3200BEVT">APM_254</disk>
 <disk model="MK8025GAS">APM_254</disk>
 <disk model="ST9200420AS">APM_254</disk>
 <disk model="WD3200BEVT">APM_254</disk>
 <disk model="HTS543216L9SA00">APM_254</disk>
 <disk model="MK4058GSX">APM_254</disk>
 <disk model="WD6400BEVT">APM_254</disk>
 <disk model="ST32000542AS">APM_255</disk>
 <disk model="ST95005620AS">APM_255</disk>
</disk_control>

</scemd>
Advertisements

, , , , ,

  1. #1 by yukita on March 8, 2013 - 8:01 pm

    the latest DSM 4.2 set /scemd.xml as read only
    do you have any idea how you set it to be writable?
    i tried the chmd but unsuccessful.

    • #2 by Mike on March 11, 2013 - 10:08 am

      Is the root file system mounted read-only?

      Hint: type ‘mount’ with no parameters.

  2. #3 by Lolo78 on March 27, 2013 - 5:17 am

    Any news ?
    I’m interersed by solution if get one

  3. #4 by Olda on August 11, 2013 - 2:01 pm

    Lolo78: Login as root, password is similar to Administrator account. Then you can edit file /usr/syno/etc/scemd.xml and save it.
    For edit use VI command and for save type :wq . It will work.

  4. #5 by Calvin on November 17, 2013 - 4:04 am

    I edited as instructed and added a drive that wasn’t listed, a seagate ST2000DM001 set it to 255 and then 254, neither seemed to slow down the fast increasing load cycle count any help?

    • #6 by admin on November 17, 2013 - 9:16 pm

      Can you post the output of

      smartctl -a (device)