Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th July 2009, 04:18 PM
Razorblade's Avatar
Razorblade Offline
Registered User
 
Join Date: Mar 2005
Location: Lake Constance, Germany
Age: 33
Posts: 115
Running hdparm w/o waking up hard disk

I send my hdd to sleep with /sbin/hdparm -S 241 /dev/sd[ab] every day at 8:30 pm. If there's no activity for 30 minutes the drive will enter standby.
At 06:00 am I want to change the 30 minutes to 4 hours.
But when I enter /sbin/hdparm -S 248 /dev/sd[ab] in the morning both drives spin up.

Is is possible to run /sbin/hdparm -S xxx /dev/sd[ab] without waking up a hard disk? Or to detect whether the hard disks are already in standby?
__________________
  • Razor-Box: AMD Phenom II 945, 4096MB DDR3, MSI (AMD 870), AMD 4850 PCI-E, Fedora_13_x64
  • Server-Box: AMD Sempron 140, 2048MB DDR2, ASROCK (NVIDIA chipset), onboard graphics, CentOS 5.5 x64
  • Myth-Box: AMD X2 4850e, 4GB DDR2, ASUS M3N78-VM, MythDora 10 x64
Reply With Quote
  #2  
Old 15th July 2009, 04:35 PM
Gödel's Avatar
Gödel Offline
Registered User
 
Join Date: Jul 2009
Location: London,England
Posts: 1,095
perhaps use hdparm -C to check the state:

Quote:
-C Check the current IDE power mode status, which will always be one of unknown (drive does not support this command), active/idle (normal operation), standby (low power mode, drive has spun down), or sleeping (lowest power mode, drive is completely shut down). The -S, -y, -Y, and -Z flags can be used to manipulate the IDE power modes.
Reply With Quote
  #3  
Old 16th July 2009, 05:43 AM
Razorblade's Avatar
Razorblade Offline
Registered User
 
Join Date: Mar 2005
Location: Lake Constance, Germany
Age: 33
Posts: 115
Hi Gödel,

thanks I have already read that.
So scripting is the only possible way?
__________________
  • Razor-Box: AMD Phenom II 945, 4096MB DDR3, MSI (AMD 870), AMD 4850 PCI-E, Fedora_13_x64
  • Server-Box: AMD Sempron 140, 2048MB DDR2, ASROCK (NVIDIA chipset), onboard graphics, CentOS 5.5 x64
  • Myth-Box: AMD X2 4850e, 4GB DDR2, ASUS M3N78-VM, MythDora 10 x64
Reply With Quote
  #4  
Old 1st September 2009, 10:57 PM
infernosoft Offline
Registered User
 
Join Date: Jan 2008
Age: 22
Posts: 367
linuxfedorafirefox
bump! i want to know how can i permanently put my drive to sleep/standby too!
Reply With Quote
Reply

Tags
disk, hard, hdparm, running, w or o, waking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard/Disk disappeared after running Fedora live 8 nnullius Hardware & Laptops 3 23rd March 2008 11:02 AM
Hard disk keep running?? jawadah Using Fedora 4 26th December 2006 06:28 PM
Thinkpad Hard Disk Keeps Waking Up After I Turn Off Screen. dealmaker Hardware & Laptops 0 10th November 2005 08:11 AM


Current GMT-time: 05:51 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat