PDA

Bekijk de volledige versie : Where is the thread about HDD spindown??



Xander
29-01-2007, 20:27
I've spent much time writing a tutorial this night and I don't want to lose my work! I'm sure this thread was deleted by mistake. Please, bring it back!!!

DawMatt
29-01-2007, 22:54
Hi,

I also was wondering what had happened to the thread, after posting compatibility information aswell as preparing some additional feedback.

Possibly they considered the thread mis-filed, but I don't think that is an excuse for deleting it!

Thanks,
Matt

bbaccsi
30-01-2007, 07:49
yep, and i wanted to ask why its log file has the following outcome:

...
07:49:16: Disk first used after 1200 seconds
08:10:21: Cooled down...
08:10:51: Disk first used after 1200 seconds
08:31:56: Cooled down...
08:32:26: Disk first used after 1200 seconds
08:53:31: Cooled down...
...

syslog didn't write to disk that time, I guess only samba was running.
and swap of course...

Xander
30-01-2007, 09:43
yep, and i wanted to ask why its log file has the following outcome:

...
07:49:16: Disk first used after 1200 seconds
08:10:21: Cooled down...
08:10:51: Disk first used after 1200 seconds
08:31:56: Cooled down...
08:32:26: Disk first used after 1200 seconds
08:53:31: Cooled down...
...

syslog didn't write to disk that time, I guess only samba was running.
and swap of course...
That depends on many things... for example, mount options.

My log is not quite different:
...
19:04:49: Disk first used after 750 seconds
19:25:27: Cooled down...
20:19:10: Disk first used after 4380 seconds
20:39:15: Cooled down...
21:05:23: Disk first used after 2730 seconds
21:25:28: Cooled down...
23:20:55: Disk first used after 8070 seconds
...

Maybe some day I'll fix everything...

P.S. Found some mistakes in the script :)
If you have gawk package installed then just "awk" points by default to /opt/bin/awk and that is HDD.
All occurrences of "awk" should be changed to "/usr/bin/awk".
The same with "grep" too if you have grep package installed. Should be changed to "/bin/grep".
Maybe it'll be better to specify full path for every executable used in the script.
To change:


sed -i 's/awk/\/usr\/bin\/awk/g' scsi-stop.sh
sed -i 's/grep/\/bin\/grep/g' scsi-stop.sh


P.P.S. I've changed the script in the recovered tutorial.

Oleg
30-01-2007, 09:59
Recovered. Don't know why britnet deleted it.

Xander
30-01-2007, 10:45
Recovered. Don't know why britnet deleted it.
Thanks. :)

britnet
30-01-2007, 13:21
Sorry, i didn't want to do that.

Thanks Oleg für recovering.

Can i delete this thread, now? :-)

Oleg
30-01-2007, 13:53
Well, I beleive it's not needed. I've moved it to Q&A, so it would go out of view soon. :)

Xander
30-01-2007, 16:44
Can i delete this thread, now? :-)
You like deleting threads too much. ;)