DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-07-06 00:43:07

krimb1
Member
Registered: 2008-01-05
Posts: 65

dns323-spindown questions

Hello to all at this great forum!

I'm using fonz's dns323-spindown program from here: http://www.inreto.de/dns323/utils/

Short and sweet question: if I issue the command `dns323-spindown 10` will I be setting the timer for just the next spindown, or does it affect all subsequent spindowns as well?

Tried searching first but could not find anything. smile Thanks!

Last edited by krimb1 (2010-07-06 00:43:32)

Offline

 

#2 2010-07-06 04:43:58

krimb1
Member
Registered: 2008-01-05
Posts: 65

Re: dns323-spindown questions

Hmm, well from a quick trial and error it seems to affect all future spindowns, overriding the "power management" settings in the Web GUI. Is that correct?

Offline

 

#3 2010-07-06 09:44:18

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: dns323-spindown questions

Yes.

Offline

 

#4 2010-07-06 09:48:45

krimb1
Member
Registered: 2008-01-05
Posts: 65

Re: dns323-spindown questions

Great, thanks fonz! Is the command line version more reliable than the power management settings, in your opinion?

Also, I tried searching but would you mind clarifying the syntax for the output? I understand ACTIVE means the disks are spinning, but what are [03] and [01]?

Code:

root@dlink-EE65AE:~# dns323-spindown
[03] hd0 hd1
[01] ACTIVE

Last edited by krimb1 (2010-07-06 09:49:14)

Offline

 

#5 2010-07-06 10:21:11

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: dns323-spindown questions

It's the raw values received from the kernel. 03 means that both disks, hd0 and hd1 support power-management. 01 is the code for "at least one disk is active".

Offline

 

#6 2010-07-06 17:50:17

krimb1
Member
Registered: 2008-01-05
Posts: 65

Re: dns323-spindown questions

Thanks again fonz — would have never figured that out myself. wink

Still interested in what others think about using dns323-spindown vs the web-interface's power management control. In my experience I think the latter sometimes takes longer than the specified time to sleep the disks, so maybe it's not that reliable?

Offline

 

#7 2010-07-07 11:13:08

spinkilla
New member
Registered: 2010-06-13
Posts: 2

Re: dns323-spindown questions

In my case (dns-323 C1 fw 1.08) dns323-spindown double the time for spindown, i.e.: setting 5 -> spindown in 10 minutes;
setting 30 -> spindown in 1 hour.

Last edited by spinkilla (2010-07-07 20:21:09)

Offline

 

#8 2010-07-08 02:50:33

krimb1
Member
Registered: 2008-01-05
Posts: 65

Re: dns323-spindown questions

Hmm, very interesting! Do you find it to be more reliable for some reason than the web interface setting?

Offline

 

#9 2010-07-08 19:38:14

spinkilla
New member
Registered: 2010-06-13
Posts: 2

Re: dns323-spindown questions

Both are ok IMHO, but I prefer cmd tool because I run it via cron for day/night power managment settings. The web setting in this way is overrided by cron two times per day and it's working fine for me.  So if You need - like me - different setting depending on time of a day (from 4PM - 7AM I don't use dns323 too often, so 10minutes is optimal and at daytime I need the device to be online whithout often spinup's/spindown's so my setting is 1 hour) then use dns323-spindown and cron. Otherwise use web gui.

Offline

 

#10 2010-07-10 18:40:57

krimb1
Member
Registered: 2008-01-05
Posts: 65

Re: dns323-spindown questions

Ah, that's a great idea, I might do that too. Thanks!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB