LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-04-2006, 12:45 PM   #1
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Rep: Reputation: 15
HDD Spins down for no reason - solution?


I have a dual boot x86 system, with two hard drives. The first, hda is 120 gb, then second is 300gb. Basically, I have kubuntu installed on hda, and SUSE on hdb. However there is a common swap file on hda.

When I boot to SUSE, the hda drive seems to spin down for no reason. Then, as I operate within SUSE, something will trigger and I will hear that drive spin up (of course there is a 5 sec delay or so while it does.). Its hard to figure, because Im hardly ever utilizing my main memory, so why I would be hitting the swap partition on hda is beyond me.

In any case, it seems that the YAST tools only allow you to modify the drive that SUSE is on (in this case hdb), but not other drives. So, I suspect somewhere the hda drive is being told to power down after some length of time.

Is there something I can do to check those parameters and reset that drive to always stay spinning like my second drive?

Thanks for your help in advance

Kork
 
Old 10-04-2006, 01:22 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
If this is being set via a hard disk built in feature you can disable it using the hdparm utility.
Code:
hdparm -S 0
Look up the man page for hdparm. You may just want to set the parameter to a longer value.

You can make a file with the hdparm -S 0 command and call it during system startup. If using hdparm works for you then putting it in the system startup as the last startup script to run should work. Give it a name like S99hdparm.

Last edited by stress_junkie; 10-04-2006 at 01:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get a car stuck, only one tire spins? Oxagast General 9 08-19-2006 11:47 AM
Solution for too big HDD bug (windows) Co3 Linux - General 2 01-15-2006 04:08 AM
RAID 1 on 2*40GB hdd, what is the best solution? Ivan Slackware 0 01-15-2004 06:38 AM
Apache 403 Forbidden Solution Need Reason blakehammon Linux - Software 11 07-25-2003 12:07 PM
HD spins to hell bigstrawdog Linux - Hardware 11 05-06-2003 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:03 PM.

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