Code Monkey home page Code Monkey logo

wdsaver's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

wdsaver's Issues

wdsaver installed doesn't work (testing yes) and readme

Hello!
I apologise in advance for my poor English and for long (maybe too long) 
message.
I've installed wdsaver 1.0 on ubuntu 10.04 on a netbook. It has a toshiba hard 
disk, not a western digital ones, but I want to reduce his heads parking.

I've noticed an error (I think it's an error) on the readme file.
In lines 15 and 18 there is written wdparm, but the commands lines works for me 
with wdsaver instead of wdparm.

However, I've noticed a thing that I don't understand: wdsaver works fine with 
"wdparm -t 40 -v" or "wdparm -t 40 -v -l", but not with "wdparm -t 40 -v -b".

I've tested the head parking with a long command line:
sudo smartctl -a /dev/sda | grep Load_Cycle_Count && sleep 300 && sudo smartctl 
-a /dev/sda | grep Load_Cycle_Count && sleep 300 && sudo smartctl -a /dev/sda | 
grep Load_Cycle_Count && sleep 300 && sudo smartctl -a /dev/sda | grep 
Load_Cycle_Count
it checkes the head parking every 5 minutes, for 4 times. I've checked the 
value Load_Cycle_Count with this command line in many and different situation:

1) notebook working (web, editing files, listen music) without wdsaver - 
doesn't change
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197721
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197721
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197721
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197721


2) notebook not working (leave alone :P ) without wdsaver - changes
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197728
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197729
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197730
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197731


3) notebook not working with wdsaver test - doesn't change
If I test wdsaver from shell with:
sudo ./wdparm -t 40 -v
and
sudo ./wdsaver -t 40 -v -l
it works fine, Load_Cycle_Count doesn't change:
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197745
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197745
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197745
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197745


4) notebook not working with wdsaver installed - changes
Ok, I follow again the readme file to install wdsaver:
sudo cp -i ./wdsaver /usr/bin
sudo chmod 700 /usr/bin/wdsaver
sudo leafpad /etc/rc.local
I've added in the rc.local file this line (before exit0):
/usr/bin/wdsaver -t 40 -l -b
and rebooted the notebook.
wdsaver is listed with the other processes.
it's seems to be all right, doesn't?
Instead, the heads of hard disk go parking:
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197765
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197766
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197767
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       
-       197768

Well, I could have the same results with wdsaver test and installed, but it's 
not so.
With wdsaver test it's all ok. I install wdsaver and it's seems to be no 
wdsaver running.
What do I mistake?

Thanks.

Original issue reported on code.google.com by [email protected] on 5 May 2011 at 9:49

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.