HDD Cycle Count issue in Linux Mint 12
2 posters
Page 1 of 1
HDD Cycle Count issue in Linux Mint 12
Thanks to Linuxreview.ir for mentioning this problem and putting a solution for it. They've noticed that on Linux Mint 12, HDD cycle count increases rapidly, which isn't good for PC at all. There is a temporary solution and it is to run this command after system startup (notice that # shows the command should be issued as root):
To see that if you have the same problem, you should first install smartmontools package. You can do it this way:
Then issue this command to the Terminal:
And keep the number you see at the end of the line in mind. After five minutes, issue the same command. If the number has increased a lot, then your system has a problem as well.
To solve it, follow these instructions:
Issue this command to the Terminal:
And add this content to it (# should be entered here):
Hit Ctrl + X and then press Y to save it.
Then issue these commands on by one:
Quickly restart your system.
For checking the script and cycle number, use this command. The number that's given should not rise so quick. Do this every 3 seconds to check:
If it was still rising, issue this command after every restart *:
If you had any experience with it before, please let me know what it was and what you did to solve it in the comments below.
I hope that solves your problem.
* source: http://community.linuxreview.ir/thread-86-post-1007.htm
# hdparm -B 255 /dev/sda
To see that if you have the same problem, you should first install smartmontools package. You can do it this way:
# apt-get install smartmontools
Then issue this command to the Terminal:
# smartctl -a /dev/sda | grep Load_Cycle_Count
And keep the number you see at the end of the line in mind. After five minutes, issue the same command. If the number has increased a lot, then your system has a problem as well.
To solve it, follow these instructions:
Issue this command to the Terminal:
$ nano apm -d.sh
And add this content to it (# should be entered here):
#!/bin/bash
# redirect stdout and stderr to logfile
exec >>/var/log/APM-D.log 2>&1
# announce started
echo "$(date +'%b %d %X') $(uname -n) $(basename $0): starting"
# disable APM
/sbin/hdparm -B 255 /dev/sda
Hit Ctrl + X and then press Y to save it.
Then issue these commands on by one:
That's it. Check out var/log/APM-D.log file for any errors to make sure anything went well.$ sudo cp apm-d.sh /etc/init.d/
$ sudo ln -sf /etc/init.d/apm-d.sh /etc/rc2.d/S99apm-d.sh
$ sudo mv /etc/rc2.d/S99acpi-support /etc/rc2.d/S98acpi-support
$ sudo cp /etc/init.d/apm-d.sh /etc/apm/suspend.d/
$ sudo cp /etc/init.d/apm-d.sh /etc/apm/resume.d/
Quickly restart your system.
For checking the script and cycle number, use this command. The number that's given should not rise so quick. Do this every 3 seconds to check:
# smartctl -a /dev/sda | grep Load_Cycle_Count
If it was still rising, issue this command after every restart *:
# hdparm -B 255 /dev/sda
If you had any experience with it before, please let me know what it was and what you did to solve it in the comments below.
I hope that solves your problem.
* source: http://community.linuxreview.ir/thread-86-post-1007.htm
Re: HDD Cycle Count issue in Linux Mint 12
wow I didn't know about this....
thanx for sharing this info... i've got mint 12 installed on my seperate drive that i'll have to implement this....
cheers
kaddy
thanx for sharing this info... i've got mint 12 installed on my seperate drive that i'll have to implement this....
cheers
kaddy
Re: HDD Cycle Count issue in Linux Mint 12
Cheers friend.
How did it go for you? Did you have this issue?
How did it go for you? Did you have this issue?
Similar topics
» Linux Mint 10 KDE Release
» Linux Mint 15 preview released.
» Linux Mint and Epson printer
» KDE from Mint repositories
» No Fullscreen for SupertuxKart in Mint 12!?
» Linux Mint 15 preview released.
» Linux Mint and Epson printer
» KDE from Mint repositories
» No Fullscreen for SupertuxKart in Mint 12!?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|