LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-07-2007, 10:23 AM   #1
gumpish
LQ Newbie
 
Registered: Mar 2004
Distribution: Ubuntu 6.06.1
Posts: 8

Rep: Reputation: 0
Can Linux spin-down SATA HDDs?


Hello all.

I recently moved into a bigger place and I am beginning to plan my local network. I've been thinking that the core of my network would be a nice tower machine (Linux obviously) with multiple 500 GB SATA drives for massive storage, to serve as a MythTV backend and a file server / backup server.

However, since this machine would need to be running more or less constantly, and since I'd like to save energy as much as possible, I was wondering if there is a mechanism by which non-system drives (drives that don't contain the OS) can be spun-down until they are needed, and if such a function can only be invoked manually or if Linux can automatically spin down the drive if it hasn't been accessed for a certain amount of time.

(Any other suggestions for conserving energy in such a setup are also appreciated.)
 
Old 01-07-2007, 02:35 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
I don't do this myself, but the hdparm utility offers several options. See the man pages for hdparm for more info, but a couple of the relevant arguments are

-S (Set the standby (spindown) timeout for the drive. This value is used by the drive to determine how long to wait (with no disk activity) before turning off the spindle motor to save power.)

-B (Set Advanced Power Management feature, if the drive supports it. A low value means aggressive power management and a high value means better performance.)

-M (Get/set Automatic Acoustic Management (AAM) setting. Most modern harddisk drives have the ability to speed down the head movements to reduce their noise output.)
 
Old 01-07-2007, 02:39 PM   #3
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
try


man hdparm have a read you can use the command

hdparm -Tt /dev/sda to see if it worked
 
  


Reply

Tags
sata



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
Fedora is not detecting my Sata HDDs MRMadhav Fedora - Installation 4 09-16-2006 01:23 PM
How to setup linux to enable by HDDs as SATA vicky_me Linux - Hardware 3 09-11-2006 04:54 AM
Accessing other HDDs/Booting from other HDDs Namatacka Ubuntu 2 05-07-2006 11:21 AM
Fedora Core 4 and my SATA HDDs TehDarkWarrior Linux - Hardware 7 12-03-2005 05:17 AM
Debian Woody r1 Installer won't detect SATA RAID HDDs on SiI 3122A bluPSU Linux - Hardware 11 01-20-2004 03:36 PM

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

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