LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-31-2008, 07:31 AM   #1
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
Drive won't spin down


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?

Last edited by alienDog; 08-31-2008 at 07:33 AM.
 
Old 09-01-2008, 01:26 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Shouldn't you use /etc/hdparm.conf instead?
 
Old 09-01-2008, 05:21 PM   #3
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 48
Probably, but that wouldn't make any difference...
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
to spin down or not to spin down, that is the question maenho Linux - Software 2 02-05-2005 08:41 AM
hd spin down Henning_1 Linux - Hardware 2 09-24-2004 09:00 AM
make my laptop's hard drive spin down??? tricky_linux Linux - Hardware 2 06-17-2004 02:02 AM
Random Hard Drive Spin Ups DocKarl Linux - Software 4 08-07-2003 06:27 PM
drive always being written to, wont spin down Brain Drop Linux - General 8 06-21-2003 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:15 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