Hard drives spindown issues: Difference between revisions

From QNAPedia
Jump to navigation Jump to search
Created page with "= Aspects of harddisk spindown problems<br> = #Harddisk(s) do spin down after the configured timeout, but show unwanted regular wake ups, without being accessed from clients..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Aspects of harddisk spindown problems<br>  =
= Aspects of harddisk spindown problems =


#Harddisk(s) do spin down after the configured timeout, but show unwanted regular wake ups, without being accessed from clients<br>
#Harddisk(s) do spin down after the configured timeout, but show unwanted regular wake ups, without being accessed from clients
#Harddisk(s) wont spin down at all<br>
#Harddisk(s) wont spin down at all


<br>


= Find processes causing regular wake ups of hard drives<br>  =


Manually check QNAP&nbsp;configuration:
= Find processes causing regular wake ups of hard drives =


*Several QNAP&nbsp;services (Twonky, Music Station, etc.) can enable regular cleaning jobs that wake up hard disks from spindown. Check the configuration of these services, if they are activated
Manually check QNAP&nbsp;configuration:
*Automatically synchronizing QNAPs NAS&nbsp;time with an internet timeserver can wake hard drives
*Having the QNAP&nbsp;NAS&nbsp;obtain IP&nbsp;address(es) automatically using DHCP&nbsp;can wake hard drives several times a day. Using fixed IP&nbsp;addresses can prevent unwanted spin ups<br> (careful when changing the network configuration, improper network reconfiguration can prevent further access to the NAS)


<br>  
*Several QNAP&nbsp;services (Twonky, Music Station, etc.) can enable regular cleaning jobs that wake up hard disks from spindown. Check the configuration of these services, if they are activated
*Automatically synchronizing QNAPs NAS&nbsp;time with an internet timeserver can wake hard drives
*Having the QNAP&nbsp;NAS&nbsp;obtain IP&nbsp;address(es) automatically using DHCP&nbsp;can wake hard drives several times a day. Using fixed IP&nbsp;addresses can prevent unwanted spin ups<br/>(careful when changing the network configuration, improper network reconfiguration can prevent further access to the NAS)


= Find processes preventing hard drives from spindown<br>  =


#Download the diagnostic program from one of the following links:
#:*ftp://csdread:csdread@ftp.qnap.com/NAS/spindown/blkdevMonitor.sh
#:*http://eu1.qnap.com/Storage/tsd/spindown/blkdevMonitor.zip
#Copy the program to the Public folder of the NAS
#Login to the NAS by ssh port 22 with admin username/password. If you don’t know which ssh client should be used, you can try putty on the following link:
#:*http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
#After login, copy the blkdevMonitor.sh script to root folder by the following command:
#:<pre>cp /share/Public/blkdevMonitor.sh /root</pre>
#Change the file to be executable by the following command:
#:<pre>chmod 766 /root/blkdevMonitor.sh</pre>
#Run the program by the following command:
#:<pre>/root/blkdevMonitor.sh</pre>
#Wait for a few minutes(depend on your spindown time settings) to see if any process is accessing the HDD (WRITE block or READ block) or not. Send us the result for us to check which process wake the HDD.


Instructions in PDF and a sample of result can be found on one of the links:
= Find processes preventing hard drives from spindown =


*ftp://csdread:csdread@ftp.qnap.com/NAS/spindown/How%20to%20know%20which%20process%20prevents%20the%20NAS%20HDD%20from%20spindown.pdf
#Download the diagnostic program from the following links:
*http://us1.qnap.com/Storage/tsd/spindown/spindown_detection_instruction.zip


<br>  
<span style="line-height: 1.6;">[https://drive.google.com/file/d/0B8u8qWRYVhv0S1ozWFRjazFEX1E/view?usp=sharing https://drive.google.com/file/d/0B8u8qWRYVhv0S1ozWFRjazFEX1E/view?usp=sharing]</span>


[[Category:HDD_Spin_Down_(HDD_Standby)]]
:
 
 
<ol start="2">
<li>Copy the program to the Public folder of the NAS</li>
<li>Login to the NAS by ssh port 22 with admin username/password. If you don’t know which ssh client should be used, you can try putty on the following link:
:</li>
</ol>
 
*[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html]
<ol start="4">
<li>After login, copy the blkdevMonitor.sh script to root folder by the following command:
:<pre>cp /share/Public/blkdevMonitor_20151225.sh /root</pre>
</li>
</ol>
<ol start="5">
<li>Change the file to be executable by the following command:
:<pre>chmod 766 /root/blkdevMonitor_20151225.sh</pre>
</li>
</ol>
<ol start="6">
<li>Run the program by the following command:
:<pre>/root/blkdevMonitor_20151225.sh</pre>
</li>
</ol>
<ol start="7">
<li>Wait for a few minutes(depend on your spindown time settings) to see if any process is accessing the HDD (WRITE block or READ block) or not. Send us the result for us to check which process wake the HDD.</li>
</ol>
[[Category:HDD Spin Down (HDD Standby)]]

Latest revision as of 11:04, 18 February 2016

Aspects of harddisk spindown problems

  1. Harddisk(s) do spin down after the configured timeout, but show unwanted regular wake ups, without being accessed from clients
  2. Harddisk(s) wont spin down at all


Find processes causing regular wake ups of hard drives

Manually check QNAP configuration:

  • Several QNAP services (Twonky, Music Station, etc.) can enable regular cleaning jobs that wake up hard disks from spindown. Check the configuration of these services, if they are activated
  • Automatically synchronizing QNAPs NAS time with an internet timeserver can wake hard drives
  • Having the QNAP NAS obtain IP address(es) automatically using DHCP can wake hard drives several times a day. Using fixed IP addresses can prevent unwanted spin ups
    (careful when changing the network configuration, improper network reconfiguration can prevent further access to the NAS)


Find processes preventing hard drives from spindown

  1. Download the diagnostic program from the following links:

https://drive.google.com/file/d/0B8u8qWRYVhv0S1ozWFRjazFEX1E/view?usp=sharing


  1. Copy the program to the Public folder of the NAS
  2. Login to the NAS by ssh port 22 with admin username/password. If you don’t know which ssh client should be used, you can try putty on the following link:
  1. After login, copy the blkdevMonitor.sh script to root folder by the following command:
    cp /share/Public/blkdevMonitor_20151225.sh /root
  1. Change the file to be executable by the following command:
    chmod 766 /root/blkdevMonitor_20151225.sh
  1. Run the program by the following command:
    /root/blkdevMonitor_20151225.sh
  1. Wait for a few minutes(depend on your spindown time settings) to see if any process is accessing the HDD (WRITE block or READ block) or not. Send us the result for us to check which process wake the HDD.