LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2014, 11:36 PM   #1
Soapm
Member
 
Registered: Dec 2012
Posts: 182

Rep: Reputation: Disabled
Question idle3-tools for WD drives


It's probably just me, but the instructions for this tool leave me scratching my head. I am trying to max out the timers at 300 seconds on my WD drives, but can't figure out what -s value to use. The example from the site says;

Code:
Set the idle3 timer to 10s

# idle3ctl -s 100 /dev/sda
My logic, looking at this example says if 100 = 10 seconds then 3000 would be 300 seconds. Obviously that's not right since the max value is 255. So what gives??? Is there a conversion chart or formula that let's you correctly set the -s value???

Again, I want to max mine out at 5 minutes but can't find strait forward instructions anywhere... Thanks...

RANT... If the default value is 8s, why give an example of 10s, which only increases the value by 2s??? Not sure how useful that is??? Shouldn't the example be something usable along with the "skinny" on how the value was derived??? And it looks like things change at -s 129, shouldn't there be some examples on how to use the tool for values above the change (129)?

It really seems to be me that's confused but I also noticed most people claim to use the -d option and just disable the feature...

Last edited by Soapm; 10-24-2014 at 11:40 PM. Reason: Make post legible
 
Old 10-25-2014, 10:49 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Please give a link to the instructions you are using so that others can read them. Someone may find something you overlooked.
 
Old 10-25-2014, 11:48 PM   #3
Soapm
Member
 
Registered: Dec 2012
Posts: 182

Original Poster
Rep: Reputation: Disabled
Good idea, sorry I didn't think of it...

http://idle3-tools.sourceforge.net/

Googling around I found a guy that said use 138. I have no idea how they figured that out but using this command does show 300 seconds.

Code:
idle3ctl -g105 /dev/sdf
Range is 1 - 255
100 = 10s
138 = 300s

???????
 
Old 10-26-2014, 07:14 AM   #4
grubby
LQ Newbie
 
Registered: Oct 2014
Distribution: Centos 6.5
Posts: 16

Rep: Reputation: Disabled
I cannot answer what system is behind the raw values -> second, but this thread seems to have some handy advise:

http://community.wd.com/t5/My-Book-L.../151544/page/2

Quote:
For finding out custom timer values use this tip:

Enter some random value with
./idle3ctl -s 115 /dev/sda

and then use

./idle3ctl -g103 /dev/sda

It will show your set value in seconds.

That way by changing -s value and checking with -g103 you can find what is right value for what you want.
Maybe that will help you find the right value.
 
Old 10-26-2014, 08:08 PM   #5
Soapm
Member
 
Registered: Dec 2012
Posts: 182

Original Poster
Rep: Reputation: Disabled
I find it interesting this guy settled on 141 which is 6.5 minutes but the max timer I believe is 5 minutes. It does confirm I'm not the only one confused with this tool or setting lol...

There was also discussion linked in that thread that smartctl polling the drive un-parks the heads. I guess there's no way to win with this feature except maybe disable???
 
Old 06-30-2016, 09:25 AM   #6
user0574718
LQ Newbie
 
Registered: Jun 2016
Posts: 1

Rep: Reputation: Disabled
These came from factory set to 138:

root@box:/home/ub# idle3ctl -g /dev/sdc
Idle3 timer set to 138 (0x8a)
root@box:/home/ub# idle3ctl -g100 /dev/sdc
Idle3 timer set to 13.8s (0x8a)
root@box:/home/ub# idle3ctl -g103 /dev/sdc
Idle3 timer set to 300.0s (0x8a)
root@box:/home/ub# idle3ctl -g105 /dev/sdc
Idle3 timer set to 300.0s (0x8a)


In case of NEW WD Red drives, at least, nothing needs to be done, I think
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to run pygame scripts in idle3 Nabeel Programming 1 01-23-2015 08:01 AM
Tools for checking flash drives for problems? Cinnamint Linux - Software 2 12-01-2012 03:31 PM
how to install the OE tools.............angstrom distribution tools in my ubuntu vinodhkumarvk Linux - Software 1 09-02-2010 12:48 PM
module-init-tools, initramfs-tools broken virgilhowardson Debian 1 03-08-2009 01:30 AM
cdda ripping tools: what tools are good these days? jgombos Linux - Software 3 01-04-2005 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration