[mythtv-users] USB Hard Drive Lifespans and power usage question

Mitch Gore mitchell.gore at gmail.com
Mon Aug 4 20:25:59 UTC 2008


On Mon, Aug 4, 2008 at 3:20 PM, John Drescher <drescherjm at gmail.com> wrote:

> On Mon, Aug 4, 2008 at 3:58 PM, mythtv at blandford.net
> <mythtv at blandford.net> wrote:
> > Steve Peters - Priority Electronics wrote:
> >
> >> Also, I am aware I can use hdparm, but does that mean that unless I
> manually
> >> spin down the drives with hdparm, they will remain spinning at top
> speed?
> >> Seems to me that Windows knows how to do this automatically; I figured
> linux
> >> did as well. There must be a way.
> >>
> >
> > Use hdparm as was previously suggested.  If you read the man page, it
> > will tell you how to configure the drives to spin down after a set
> > period of time of inactivity.
> >
>
> Here is what I have in my local.start file
>
>
> hdparm -S 250 /dev/sda
> hdparm -S 250 /dev/sdb
> hdparm -S 250 /dev/sdc
> hdparm -S 250 /dev/sdd
>
> This sets my drives to have a 5 hour spin down time.
>
> John
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



I have mine set to 20 mins ie -S240

To check that status of the drive use the C option.

[root at mythtv ~]# /sbin/hdparm -C /dev/sdd

/dev/sdd:
 drive state is:  active/idle

AFAIK Ubuntu wont do this by default unless you have your computer running
in "Laptop" mode.

Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080804/ed757efc/attachment.htm 


More information about the mythtv-users mailing list