LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   hardrive turning off (http://www.linuxquestions.org/questions/linux-hardware-18/hardrive-turning-off-46024/)

sillybean 02-18-2003 03:29 PM

hardrive turning off
 
i run several servers on my new linux box. my problem is after so long it goes into i guess a type of sleep mode and the hard drive turns off killing the servers

anyhelp would be greatly appreciated

BONEstockR6 02-18-2003 03:42 PM

hmmm
 
i knew a guy named sillybean once; .. and i shot him

sounds like you need to adjust your apm settings

sillybean 02-18-2003 03:43 PM

umm tell me how, im sort of new at this

MasterC 02-18-2003 03:45 PM

I'd actually check for hdparm info. Maybe it's set to shut off. To run hdparm on this drive:
/sbin/hdparm /dev/hdx
Where /dev/hdx is the hardrive. :)

Then check the man page for more info on options, mainly look for apm (advanced power management) and things of that nature. I think the -v or -i flag is used to show information on the drive. :)

Cool

BONEstockR6 02-18-2003 03:45 PM

well first. . i would wonder what OS your running, might have a gui method. = easier to adjust

then i would ask someone else' because i dont know

sillybean 02-18-2003 03:48 PM

well im running windows 95b

and i dont know what this linux thing is but it sounds pretty complicated and the penguin is cute. :Pengy:

......jk

thanks masterc

red hat 7.3

gui's are for losers bonestock console only for me...

BONEstockR6 02-18-2003 03:49 PM

I love this board! i'm not a regular, but when ever I have a question I usually can do a search or ask, and get a reply in about 5 minutes! . . . YOU GUYS ROCK!

sillybean 02-18-2003 03:50 PM

i agree

Electro 02-18-2003 03:56 PM

Go into your BIOS and set your drives to never shut off. Next look up information on apm services in LINUX.


Quote:

well first. . i would wonder what OS your running, might have a gui method. = easier to adjust

then i would ask someone else' because i dont know
What if the servers don't have X Window installed. Its nice know where the config files are when X Window can not start up or the installer did not setup X Window.

I'll look up information on APM.:study:

rnturn 02-18-2003 08:48 PM

Quote:

Originally posted by Electro
Go into your BIOS and set your drives to never shut off.
Or... if you don't want to disable this power saving feature when you're running windows, you could always have root run a cron job every couple of minutes to touch a file on each disk. That'll prevent the system from believing them to be idle and spinning them down. (Cheap and ver-r-ry dirty :-) )


All times are GMT -5. The time now is 05:10 AM.