[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hard Drive Spin Down



>
>
>
>---- Original Message ----
>From: ron.l.johnson@cox.net
>To: debian-user@lists.debian.org
>Subject: Re: Hard Drive Spin Down
>Date: Tue, 14 Oct 2008 12:25:58 -0500
>
>>On 10/14/08 12:12, Sam Leon wrote:
>>> I have added a large drive to my desktop for back up purposes.  I
>am 
>>> using rsnapshot to backup just a couple of times a week.  Since
>the 
>>> drive will be rarely accessed I added:
>>> 
>>> /dev/sdb {
>>> spindown_time = 180
>>> }
>>> 
>>> To hdparm.conf to spin down the disk after 15 minutes of
>inactivity to 
>>> save power (yea goin' green!)
>>> 
>>> Everything is working right except when I go to restart or shut
>down the 
>>> pc.  When I do that, right before init runs halt the hard drive
>spins up 
>>> and then the pc shuts off.  Does the hard drive have to spin up in
>order 
>>> to flush a buffer or something before shut down?  Any way to get
>around 
>>> this?  The sudden spin up and then shut off doesn't seem like it
>would 
>>> be good for the disk, makes alot of noise when it does it too.
>>> 
>>> Is this just "normal" or what?
>>
>>Yes.  The drive must spin up before being dismounted.
>>
>>I suggest that you only mount the drive when needed.  Besides the 
>>safety of preventing you from accidentally deleting needed files, it
>
>>boosts the likelihood that the kernel won't need to spin it up 
>>during shutdown.
>>
>>-- 
>>Ron Johnson, Jr.
>>Jefferson LA  USA
>>
>>Help a man when he is in trouble and he will remember you when
>>he is in trouble again.
>>
>>
Ron is correct (as usual); there are lots of housekeeping that must
be done
before the system shuts down, many of which require HDD access. 
Among them
are the graceful closing of files that may be open and the transfer
of data
from the memory caches, which are semiconductor, back to the HDD.
Larry
>>-- 
>>To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
>>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.d
>ebian.org
>>
>>
>>




Reply to: