LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-06-2012, 11:46 AM   #1
farnsy
LQ Newbie
 
Registered: Nov 2008
Location: Pennsylvania
Distribution: Fedora 19
Posts: 24

Rep: Reputation: 2
ubuntu minimal disable sleep/hibernate


I have a home fileserver running Ubuntu minimal 12.04. It has 6 spinning hard drives of data and the system is installed on a USB flash drive. The idea is to have the drives always spun down unless they are being used but have the system always up. (I also use it for other things that do not involve the disks).

I use hdparm to spin down the drives after an hour of inactivity. This works well (i.e., they spend almost all their time spun down and only spin up when individually needed...they are not in RAID). I also use cpufreq to scale down processor speed when not in use.

However, if I leave the system for a day and then connect to it through windows sharing, ssh, or apache I have a long delay and then all 6 hard drives spin up. I suspect that what is happening is that the machine is entering a suspend or hibernate state and when it wakes up it spins up all the drives. This happens frequently and is resulting in my drives spinning up and down a lot--even those drives that are almost never used (one of them is for backups only, for example).

I would like to disable suspend and hibernate without disabling hdparm or cpufreq. It has to be done in a file or from the command line because the box doesn't have X windows or even a screen. There seem to be a ton of different acpi configuration files around but I'm not sure which one governs this behavior.

Any ideas?

Last edited by farnsy; 10-06-2012 at 11:51 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to use 'Sleep' and 'Hibernate' AGazzaz Linux - Desktop 8 10-05-2011 03:12 PM
Disable suspend/sleep/hibernate/whatever-you-call-it arizonagroovejet Linux - General 4 02-06-2009 04:33 AM
how to disable sleep/hibernate mode in runlevel 3 mode libin88 Linux - General 1 11-23-2008 04:54 AM
sleep and hibernate not working on ThinkPad T60 with Ubuntu 7.10 (Gutsy Gibbon) CharlieBucket Linux - Laptop and Netbook 4 10-10-2007 08:18 AM
Getting my laptop to Hibernate or Sleep Scott7 Debian 2 10-15-2005 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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