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

15th July 2009, 04:18 PM
|
 |
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
|

15th July 2009, 04:35 PM
|
 |
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.
|
|

16th July 2009, 05:43 AM
|
 |
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
|

1st September 2009, 10:57 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Age: 22
Posts: 367

|
|
|
bump! i want to know how can i permanently put my drive to sleep/standby too!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 05:51 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|