Reply
Kilobyte
taka_ozo
Posts: 26
Registered: ‎03-19-2010
0

Blackarmor NAS 110 firmware 1000.1081

[ Edited ]

First of all i would like to say that i'm very happy about my  NAS 110, at least i was until FW 1000.1081.

I was connected to my home network for almost an year now and without any major issues.

Now whit the new FW it won't enter standby and heat's up a lot because of that. 


A quick look at the problem was that HDD standby was not starting:

 

==> Assembling MD arrays ................................... [ OK ]
==> Updating disk information ............................. [ OK ]
==> Disabling HDD standby for /dev/sda .................... [ OK ]
==> Disabling HDD standby for /dev/sdb .................... [ OK ]
==> Disabling HDD standby for /dev/sdc .................... [ OK ]
==> Disabling HDD standby for /dev/sdd .................... [ OK ]
==> Disabling HDD standby for /dev/sde .................... [ OK ]
==> Disabling HDD standby for /dev/sdf .................... [ OK ]
==> Disabling HDD standby for /dev/sdg .................... [ OK ]
==> Disabling HDD standby for /dev/sdh .................... [ OK ]

....
==> Starting I/O Monitor for HDD standby ..................
==> Forcedly set passwd for username "licenser" .........
==> Checking whether system get abnormal shutdown ......... [ NO ]
==> Socket connection for raclientd .......................
==> Stopping nas_conf_db.xml tracker ...................... [FAIL]
==> Stopping raclient ..................................... [FAIL]
==> Starting raclientd .................................... [ OK ]
==> Starting config.xml tracker ........................... [ OK ]
==> Starting backup server service ........................

 

After i made some research and found the problem in an config file ( /etc/init.d/rcS):

 


 

# Turn on SMART in all hard drives
#a=`cat /proto/SxM_webui/admin/config.xml | grep hddstandby`
#b=${a#*hddstandby>}
#b=${b%</hddstandby*}
#for i in "a" "b" "c" "d"; do
#  /bin/echo -n "==> Enabling SMART for /dev/sd${i} ........................... "
#  /usr/sbin/smartctl --smart=on /dev/sd${i} >/dev/null 2>&1  
#  if [ "$?" == 0 ]; then
#    /bin/echo "[ OK ]"
#  else
#    /bin/echo "[FAIL]"
#  fi
#  
#  if [ "$b" == "ON" ]; then
#    /bin/echo -n "==> Enabling HDD standby for /dev/sd${i} ..................... "
#    # set 15 minutes for HDD standby timer
#    /usr/sbin/sendidle -t 180 /dev/sd${i} >/dev/null 2>&1
#    if [ "$?" == 0 ]; then
#      /bin/echo "[ OK ]"
#    else
#      /bin/echo "[FAIL]"
#    fi
#  else
#    /bin/echo -n "==> Disabling HDD standby for /dev/sd${i} .................... "
#    /usr/sbin/sendidle -t 0 /dev/sd${i} >/dev/null 2>&1
#    if [ "$?" == 0 ]; then
#      /bin/echo "[ OK ]"
#    else
#      /bin/echo "[FAIL]"
#    fi
#  fi
#done

# Turn off HDD standby
for i in "a" "b" "c" "d" "e" "f" "g" "h"; do
  /bin/echo -n "==> Disabling HDD standby for /dev/sd${i} .................... "
  /usr/sbin/sendidle -t 0 /dev/sd${i} >/dev/null 2>&1
  if [ "$?" == 0 ]; then
    /bin/echo "[ OK ]"
  else
    /bin/echo "[FAIL]"
  fi
done

/bin/echo "==> Starting I/O Monitor for HDD standby .................. "
#/usr/bin/php -q /usr/sbin/monitor_io.php 2>/dev/null 2>&1 &
/usr/bin/php -q /usr/sbin/monitor_iomonitor.php 2>/dev/null 2>&1 &

 

 

Can someone from development tell me why was that function disabled? Did it interfere whit another process? 

 

Hdd standby was a good thing helping the disk to cool down, extend lifetime and reduce general power consumption. Reason for me to buy this product in the first place.

 

Thank you in advance.

 

 


Gigabyte
CyberMaxX
Posts: 193
Registered: ‎04-06-2010
0

Re: Blackarmor NAS 110 firmware 1000.1081

taka_ozo -

 

Also noticed this - within your posted code snipit at the very top I see that the Section "# Turn on SMART in all hard drives"  that all the subsequent lines that follow are '#' commented out as well... So does that mean SMART functionality has also been disabled? If so What's up with that Seagate?

 

Cheers

Kilobyte
taka_ozo
Posts: 26
Registered: ‎03-19-2010
0

Re: Blackarmor NAS 110 firmware 1000.1081

also /usr/bin/smartctl is erased.....found a copy in /old/usr/bin/.....guess i can turn it on but im not sure why it was disabled by Seagate....nobody here to answer that.

My wild guess is that it interfere whit some other process...i have to mount the fw image to an ARM  EMU to find out more...but for now no time for that...maybe  next week.