Rombobjörn

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsmart_spindown7
1 files changed, 5 insertions, 2 deletions
diff --git a/smart_spindown b/smart_spindown
index 9f7a3cb..20ba556 100755
--- a/smart_spindown
+++ b/smart_spindown
@@ -61,8 +61,11 @@ WAITTIME=150
# The maximum inactivity wait time (in seconds).
# This also limits the backoff factor: the backoff factor cannot increase
# above a value that makes the inactivity wait time larger than MAXWAIT.
-# Default is 120 seconds.
-MAXWAIT=1200
+# Something, probably in Linux, seems to read a few disk sectors every ten
+# minutes while the disk is spinning, which prevents this program from ever
+# spinning down the disk once the inactivity wait time grows longer than ten
+# minutes. To avoid this, MAXWAIT is set to nine minutes.
+MAXWAIT=540
# Time (in seconds) between polls to see if the disk is active again.
# Default is 10 seconds.