8,560
edits
(Created page with "=İşte hikaye=") Tags: Mobile web edit Mobile edit |
(Updating to match new version of source page) Tags: Mobile web edit Mobile edit |
||
Line 3: | Line 3: | ||
=İşte hikaye= | =İşte hikaye= | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
I have recently discovered (a bit too late) that Western Digital Green hard drives have a serious issue when used in Linux as a main drive or a NAS drive. | I have recently discovered (a bit too late) that Western Digital Green hard drives have a serious issue when used in Linux as a main drive or a NAS drive. | ||
The problem can also occur in certain situations in windows too. | The problem can also occur in certain situations in windows too. | ||
The problem is due to a feature called '''intellipark'''. Which parks the heads on the drive after 8secs of drive inactivity. | The problem is due to a feature called '''intellipark'''. Which parks the heads on the drive after 8secs of drive inactivity. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Many Linux installations write to the file system a few times a minute in the background (eg. writing logs). As a result, there may be 100 or more load cycles per hour, and the load cycle rating may be exceeded in less than a year. This problem also makes the drives very unresponsive and makes your system feel slow as the heads need to be unparked when you try and load something. | Many Linux installations write to the file system a few times a minute in the background (eg. writing logs). As a result, there may be 100 or more load cycles per hour, and the load cycle rating may be exceeded in less than a year. This problem also makes the drives very unresponsive and makes your system feel slow as the heads need to be unparked when you try and load something. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
My friend has killed two 1TB Green drives on his XBMC media box in 4years. The 500GB drive in my partners machine is in deep trouble as the '''load_cycle''' count is at '''1991353''' after a '''power_on_hours''' of '''29549hrs'''. Compare that to my WD Black 1TB which has a '''load_cycle''' count of '''721''' after '''13579hrs'''. | My friend has killed two 1TB Green drives on his XBMC media box in 4years. The 500GB drive in my partners machine is in deep trouble as the '''load_cycle''' count is at '''1991353''' after a '''power_on_hours''' of '''29549hrs'''. Compare that to my WD Black 1TB which has a '''load_cycle''' count of '''721''' after '''13579hrs'''. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Now Western Digitals specsheet says that the drives are good for 300,000 Load/unload cycles, so this is a pretty big deal. | Now Western Digitals specsheet says that the drives are good for 300,000 Load/unload cycles, so this is a pretty big deal. | ||
[http://www.wdc.com/wdproducts/library/SpecSheet/ENG/2879-771438.pdf] | [http://www.wdc.com/wdproducts/library/SpecSheet/ENG/2879-771438.pdf] | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
=How to check/evaluate your WD Green Drive= | =How to check/evaluate your WD Green Drive= | ||
</div> | |||
If you have a Western Digital Green drive, please check your '''SMART''' information before it's too late. To do this you will need to install the package called '''smartmontools''' : | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
If you have a Western Digital Green drive, please check your '''SMART''' information before it's too late. To do this you will need to install the package called '''smartmontools''' with pamac, octopi, or pacman: | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{UserCmd|command=sudo pacman -S smartmontools}} | |||
</div> | |||
or | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Now check like this changing '''sda''' to whatever your Green drive is. <br> | |||
(Use lsblk in terminal or gparted or i-nex or something to work out which drive it is.): | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{UserCmd|command=sudo smartctl -A /dev/sda | grep "^193"}} | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
193 Load_Cycle_Count 0x0032 253 253 | |||
000 Old_age Always - 1991353 | 000 Old_age Always - 1991353 | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
If the Load cycle count exceeds a few thousand, you're affected by the idle3 timer problem. | If the Load cycle count exceeds a few thousand, you're affected by the idle3 timer problem. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Here is how the output should look when this isn't a problem: | Here is how the output should look when this isn't a problem: | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{UserCmd|command=sudo smartctl -A /dev/sdb | grep "^193"}} | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
193 Load_Cycle_Count 0x0032 200 200 | 193 Load_Cycle_Count 0x0032 200 200 | ||
000 Old_age Always - 721 | 000 Old_age Always - 721 | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
=This is how we solve the problem= | =This is how we solve the problem= | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Ok so you have the problem and want to fix it. Western digital have made a DOS utility to fix it if you ask them for it. Or can find it. Its called wdidle3.exe | Ok so you have the problem and want to fix it. Western digital have made a DOS utility to fix it if you ask them for it. Or can find it. Its called wdidle3.exe | ||
</div> | |||
But we | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
But we aren't going to use that. Instead we are going to use a Linux unofficial alternative called '''idle3-tools'''. It is already packaged in Manjaro so no need to compile it. but here is the source [http://idle3-tools.sourceforge.net] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Install '''idle3-tools''' with pamac or octopi or like this in the terminal: | Install '''idle3-tools''' with pamac or octopi or like this in the terminal: | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{UserCmd|command=sudo pacman -S idle3-tools}} | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Now check what your drives timer is currently set as. (replace sda if needed with your own drive.): | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{UserCmd|command=sudo idle3ctl -g /dev/sda}} | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
It will likely say it's set to 80 [8sec] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Modify the timer== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
In-depth instructions and source of the tool can be found [http://idle3-tools.sourceforge.net| here]. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
The advisable approach is to simply set the timer to the linux default of 30 seconds (replace sda if needed with your own drive): | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{UserCmd|command=sudo idle3ctl -s 129 /dev/sda}} | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
'''Disable the timer (not recommended)''' | |||
</div> | |||
To disable the timer ( | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
To just let the system power management handle the drive disable the timer (replace sda if needed with your own drive): | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{UserCmd|command=sudo idle3ctl -d /dev/sda}} | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Power off and verify== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Next step is to shutdown and power off your computer. Rebooting isn't enough! | Next step is to shutdown and power off your computer. Rebooting isn't enough! | ||
You need to power off, so the drive will turn on with the new settings. | You need to power off, so the drive will turn on with the new settings. | ||
</div> | |||
Now | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Now verify the status: | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{UserCmd|command=sudo idle3ctl -g /dev/sda}} | |||
</div> | |||
==Optional step== | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
==Optional step== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Remove idle3-tools and smartmontools with octopi or pamac or in a terminal: | Remove idle3-tools and smartmontools with octopi or pamac or in a terminal: | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{UserCmd|command=sudo pacman -R idle3-tools smartmontools}} | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
That's it! All done. You can now enjoy the reliability and speed from the WD Green drive that you expected to have when you bought it. | That's it! All done. You can now enjoy the reliability and speed from the WD Green drive that you expected to have when you bought it. | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
=Support= | =Support= | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Following is a link to this page's forum counterpart where you can post any related feedback: [https://classicforum.manjaro.org/index.php?topic=17890.0] | Following is a link to this page's forum counterpart where you can post any related feedback: [https://classicforum.manjaro.org/index.php?topic=17890.0] | ||
</div> | |||
[[Category:Contents Page{{#translation:}}]] | [[Category:Contents Page{{#translation:}}]] |