Re: Hard Drive Spin Down



Ron Johnson wrote:
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.


Hmm, sounded like a good idea but with the drive unmounted and spun down, it still spins up right before a shut down or a reboot. :(

Sam


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [PATCH] libata: implement ata_wait_after_reset()
    ... need to figure out how to do background spinup with the new implementation. ... The change was made primarily to make libata spin down disks properly on ... So to me it seems that failed, because the undefined reset time is just ... Explained is why we wait on the disk, but that's only the sd_resume part. ...
    (Linux-Kernel)
  • Re: Summary: Re: Spin down HDD after disk sync or before power off
    ... >>> I would just spin down the disk in case of a halt. ... >> machine, I'm going to reboot to multi-user, not power off. ... in that particular case the disk which is about ...
    (freebsd-hackers)
  • Re: Moon Disks
    ... spin part of it, then change the holder, then spin the rest? ... It's pressed up against the disk, ... Lathes ... In spinning wrinkling usually results from trying to move the material to much in a pass and it wrinkles rather shrinks. ...
    (rec.crafts.metalworking)
  • Re: [PATCH] libata: implement ata_wait_after_reset()
    ... so that's probably why you can feel the delay. ... The change was made primarily to make libata spin down disks properly on ... So to me it seems that failed, because the undefined reset time is just ... Explained is why we wait on the disk, but that's only the sd_resume part. ...
    (Linux-Kernel)
  • Re: [PATCH 3/5] libata: Implement disk shock protection support
    ... The real right answer though is to buy one of the laptop drives (such ... Hmm, when the laptop is idle, "right thing" is to spin the disk down, ... accelerometer and decides when to stop I/O, ...
    (Linux-Kernel)