View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Nov 29, 2006 10:13 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
I have 2 hard drives in my Knoppmyth box. One drive (/dev/hda) has the /boot and /swap partitions. The second drive (/dev/hdb) is a Seagate 500GB IDE drive which has the /myth partition. It would be nice to let the /myth drive go into standby during the hours that Mythtv isn't recording shows. It will generate less heat, use less electricity and cause less wear on the drive.

As an initial test, I followed this wiki page
http://knoppmythwiki.org/index.php?page=Power+Management
and set my /myth drive to sleep after 10 minutes of being idle, by editing the /etc/hdparm.conf file:
Code:
/dev/hdb {
   quiet
   spindown_time = 120   
   mult_sect_io = 16
   write_cache = on
   dma = on
}

I left the computer alone for 15 minutes. Then I used Putty to SSH into the machine and check the status of the hdb drive using:
Code:
/etc/hdparm -C /dev/hdb

It was in standby - it worked!

Then I decided I'd like to have the drive sleep after 60 minutes of being idle. So I went back through the procedure and put a value of 242 into the /etc/hdparm.conf file. I restarted the hdparm script and waited an hour for the /myth drive to go to sleep. It never did. I checked every 30 minutes or so. I took special care to only read the status of the drive with SSH.

What is going on? Why will the drive sleep if I set the time for 10 minutes but not when I set the idle time for 60 minutes?

=== added 12-18-06 ===

:idea: Perhaps the cron job that creates the "/myth/pretty" directory is waking up the /myth drive? I think it runs 2 times per hour. That must be it.

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu