<div dir="ltr">maybe it&#39;s just me but spinning my disks down seems to kill them faster.<br><br><div class="gmail_quote">On Wed, Aug 20, 2008 at 6:37 PM, <a href="mailto:mythtv@blandford.net">mythtv@blandford.net</a> <span dir="ltr">&lt;<a href="mailto:mythtv@blandford.net">mythtv@blandford.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
This is a little off topic, but I am hopeful I will get some good ideas.<br>
<br>
I have a few mythtv frontends running minimyth as well as a fedora &nbsp;9<br>
backend+frontend combination.<br>
<br>
I use hdparm to spin down the mythtv disks when they are not in use.<br>
<br>
This is working really well for the most part. &nbsp;The power consumption of<br>
my server goes from 185W to 130W when the disks spin down.<br>
<br>
When I power on a frontend and watch a show, it takes 10-15 seconds for<br>
the disks in the backend to spin up. &nbsp;this causes the frontend to appear<br>
to freeze.<br>
<br>
What I would like to do is add some hooks to help control the disks.<br>
It might be a single daemon or just cobble several things together.<br>
<br>
Here were my thoughts:<br>
<br>
1) A frontend hook to notify the server to wake up the disks. &nbsp;The<br>
frontend could ping a certain port on the server, or touch a file on the<br>
server to notify it was awake. &nbsp;The disks will wake up in the time it<br>
takes the TV to warm up.<br>
<br>
2) Wake up 1 minute prior to recording any shows. &nbsp;I miss 10-15 seconds<br>
now. &nbsp;I don&#39;t want to tell mythtv to record an extra minute early<br>
because it causes show overlaps in the scheduler.<br>
<br>
3) Check the upcoming recordings and keep the disks spinning if another<br>
show is starting with X minutes. &nbsp;Don&#39;t spin down the disks if they are<br>
used again soon.<br>
<br>
4) Schedule the database optimize, myth_rename, updatedb, etc<br>
immediately after the last recorded show of the day so the disks won&#39;t<br>
wake up in the early morning to run those tasks.<br>
.<br>
<br>
Has anyone else done something like this or do you have suggestions on<br>
any of these?<br>
<br>
Michael<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br></div>