The drive is like this:
Model Family: Western Digital Caviar family
Device Model: WDC WD1600BB-00GUA0
Serial Number: WD-WCAL91357157
Firmware Version: 08.02D08
User Capacity: 160,041,885,696 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sun Aug 31 15:10:02 2008 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
The SMART is disabled for now because I figured it might be causing the problem. It wasn't.
I have the filesystem mounted like this:
/dev/hda1 on / type ext3 (rw,noatime,nodiratime,commit=1000000)
I have this in rc.local:
Code:
echo 1 > /proc/sys/vm/laptop_mode
echo "30 500 0 0 1000000 1000000 60 20 0" > /proc/sys/vm/bdflush
/usr/sbin/hdparm -S 241 /dev/hda
Here's the syslog.conf:
Code:
# Log anything 'info' or higher, but lower than 'warn'.
# Exclude authpriv, cron, mail, and news. These are logged elsewhere.
*.info;*.!warn;\
authpriv.none;cron.none;mail.none;news.none -/var/log/messages
# Log anything 'warn' or higher.
# Exclude authpriv, cron, mail, and news. These are logged elsewhere.
*.warn;\
authpriv.none;cron.none;mail.none;news.none -/var/log/messages
# Debugging information is logged here.
*.=debug -/var/log/debug
# Private authentication message logging:
authpriv.* -/var/log/messages
# Cron related logs:
cron.* -/var/log/cron
# Mail related logs:
mail.* -/var/log/maillog
# Emergency level messages go to all users:
*.emerg *
# This log is for news and uucp errors:
uucp,news.crit -/var/log/spooler
The system uses kernel version 2.4.33.3. The drive should spindown automatically after 30 minutes, but it doesn't. I can manually spin it down with "hdparm -y /dev/hda" and it stays spinned down fine.
The system runs bind, sshd, apache and mysql, among other things, but I don't think they are causing the problem (I tried stopping all of them but without success).
Anybody got any idea why the drive doesn't spindown automatically?