Difference between revisions of "Western Digital Green - Drive Fix - Linux/en"

Updating to match new version of source page
(Updating to match new version of source page)
 
(Updating to match new version of source page)
 
Line 16: Line 16:
=How to check/evaluate your WD Green Drive=
=How to check/evaluate your WD Green Drive=


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''' :
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:


$ sudo pacman -S smartmontools
{{UserCmd|command=sudo pacman -S smartmontools}}


or install via pamac or octopi.
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.):


Now check like this changing '''sda''' to whatever your Green drive is. (Use lsblk in terminal or gparted or i-nex or something to work out which drive it is.):
{{UserCmd|command=sudo smartctl -A /dev/sda | grep "^193"}}


$ sudo smartctl -A /dev/sda | grep "^193"
  193 Load_Cycle_Count        0x0032  253  253  
  193 Load_Cycle_Count        0x0032  253  253  
  000    Old_age  Always      -      1991353
  000    Old_age  Always      -      1991353
Line 33: Line 32:
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:


$ sudo smartctl -A /dev/sdb | grep "^193"
{{UserCmd|command=sudo smartctl -A /dev/sdb | grep "^193"}}


  193 Load_Cycle_Count        0x0032  200  200   
  193 Load_Cycle_Count        0x0032  200  200   
Line 43: Line 42:
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


But we arn't going to use that. Instead we are going to use a Linux unnofficial 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]
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]


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:


$ sudo pacman -S idle3-tools
{{UserCmd|command=sudo pacman -S idle3-tools}}


Now check what your drives timer is currently set as. (replace sda if needed with your own drive.):


Now check what your drives timer is currently set as. (Replace sda if needed with your own drive.):
{{UserCmd|command=sudo idle3ctl -g /dev/sda}}


$ sudo idle3ctl -g /dev/sda
It will likely say it's set to 80 [8sec]
 
==Modify the timer==
 
In-depth instructions and source of the tool can be found [http://idle3-tools.sourceforge.net| here].
 
The advisable approach is to simply set the timer to the linux default of 30 seconds (replace sda if needed with your own drive):


It will likely say it's set to 80 [8sec]
{{UserCmd|command=sudo idle3ctl -s 129 /dev/sda}}


Now really we want to just disable the timer altogether like it is on a black drive, and just let our systems power management handle the drive.
'''Disable the timer (not recommended)'''
If you want to just increase the time, then goto [http://idle3-tools.sourceforge.net] and read the instructions.


To disable the timer (Replace sda if needed with your own drive):
To just let the system power management handle the drive disable the timer (replace sda if needed with your own drive):


$ sudo idle3ctl -d /dev/sda
{{UserCmd|command=sudo idle3ctl -d /dev/sda}}


==Power off and verify==


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.


Now check again:
Now verify the status:
 
$ sudo idle3ctl -g /dev/sda


and it should say disabled.
{{UserCmd|command=sudo idle3ctl -g /dev/sda}}


==Optional step==  
==Optional step==  
Line 77: Line 81:
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:


$ sudo pacman -R idle3-tools smartmontools
{{UserCmd|command=sudo pacman -R idle3-tools smartmontools}}




8,826

edits