Disabling hard drive auto-sleep

Discussion in 'Mac Accessories' started by macstatic, Jun 4, 2010.

  1. macstatic macrumors 65816

    Joined:
    Oct 21, 2005
    Location:
    Norway
    #1
    Is there a way to disable hard drives from automatically going to sleep mode (spinning down). Energy saver (System preferences) already has "put hard disk(s) to sleep whenever possible) turned off, so this must be done from the drive itself.

    The drives in question are a 3.5" ATA drive from Western Digital (WD5000AAKB) and a 2.5" Seagate SATA drive (Disk utility doesn't tell me which drive model it is, so I have to physically open the enclosure to find out). They're both placed inside external Firewire 800/USB enclosures.
     
  2. CubeHacker macrumors 65816

    CubeHacker

    Joined:
    Apr 22, 2003
    #2
    I have never heard of drives spinning down by themselves unless the OS tells them to do so. Perhaps you need to restart before it takes effect?

    EDIT: I just realized that you mentioned they are in an external enclosure. I am really unsure as to how this affects the drives. Does your internal hard drive shut down as well when idle, or only the external ones? What happens if you were to hook up the external drives internally?
     
  3. macdot macrumors 6502

    Joined:
    Oct 22, 2005
    #3
    I actually have the opposite issue going on, so I'm going to tag along for this ride.
     
  4. macstatic thread starter macrumors 65816

    Joined:
    Oct 21, 2005
    Location:
    Norway
    #4
    I think my preference file was damaged, because by deleting it and turning disk sleep off (system preferences - Energy saver) the drives didn't seem to spin down. However, I really need to spend some time trying things out confirming that because I have 4 external (Firewire) drives, and while 2 are noisy and easy to hear if they've gone into sleep mode the other two are very quiet 2.5" drives.

    On the other hand someone in another thread confirmed that indeed some drives spin down automatically by themselves (Western digital).

    By the way, what's the deal with the disk sleep function in MacOSX? How long does it take before drives go to sleep ("Put hard disk(s) to sleep when possible"), what's the criteria Apple uses when they say ".. when possible", and can these parameters somehow be adjusted (with a third party application understandably as there is no way I can see to do it in the system preference).
    [​IMG]
     
  5. windowsdan macrumors newbie

    Joined:
    Dec 3, 2010
    #5
    Just type:

    sudo pmset -c spindown 0

    into the Terminal and it turns the hard drive spin down off

    :)
     
  6. MagnusVonMagnum macrumors 601

    MagnusVonMagnum

    Joined:
    Jun 18, 2007
    #6
    I realize this thread is old, but there is no correct answer given and that is that External Western Digital drives do NOT respect the Energy Preferences in OSX and spin down after 10 minutes of inactivity regardless of the setting (although the setting might make it happen even sooner). I have yet to find a good way around this. The standard answer seems to be to have a script or app check an invisible file on the hard drive every 5 minutes or thereabouts so that the drive never spins down. Frankly, I'd like something like the caffeine menu app to do it so that it doesn't spin down while I'm using the computer during the day, but would after I click it off at the end of the day or whenever.

    So far the only app I've found for this function is "Keep Drive Spinning". I plan to test it soon.
     
  7. Mr. Retrofire macrumors 601

    Mr. Retrofire

    Joined:
    Mar 2, 2010
    Location:
    www.emiliana.cl/en
    #7
    "Green" drives do this. If the firmware of the external enclosure supports certain (S)ATA commands, then the OS kernel can send a "sleep" command to the HDD/SSD in the external enclosure. I heard that some enclosures have a special firmware, which suppresses the "sleep" command.
     
  8. MagnusVonMagnum macrumors 601

    MagnusVonMagnum

    Joined:
    Jun 18, 2007
    #8
    "Keep Drive Spinning" appears to work fine with my WD Green Drive, but you have to remember to run it again and disable it for a specific drive if you want it to go so sleep. It'd be nice to have a menu bar type reminder with a red/green light or something. In other words, I forgot to disable it last night and so it was spinning needlessly all night long.
     
  9. MagnusVonMagnum macrumors 601

    MagnusVonMagnum

    Joined:
    Jun 18, 2007
    #9
    Well, I thought "Keep Drive Spinning" was working, but this morning I found my media drive sleeping and I had not altered the setting to keep it awake. So much for that...
     
  10. MagnusVonMagnum macrumors 601

    MagnusVonMagnum

    Joined:
    Jun 18, 2007
    #10
    10.8.5 broke

    I just finished watching a movie with XBMC off my media drive in another room in the house and it wasn't 3-4 minutes before I came upstairs and watched as my media drive went to sleep before my eyes. That drive normally takes 10 minutes to put itself to sleep. It is OSX that puts it to sleep in 3-4 minutes if the "put drives to sleep when possible" option is selected. The thing is that it's NOT selected here but has been acting strange every since the 10.8.5 update. I think Apple broke the setting somehow and it's enabled by default even when it says it's NOT enabled. So perhaps I have to lower the setting on Keep Drives Enabled to like 2 minutes now to keep it awake?
     
  11. badlydrawnboy macrumors 65816

    Joined:
    Oct 20, 2003
    #11
    I just came here to post a thread about this, and found this thread instead. I'm having the same issue with a Mac Pro 3,1 after installing the 10.8.5 update. I have three internal hard drives, and two of them are spinning down despite having the "Put hard drives to sleep when possible" checkbox unchecked.

    Has anyone tried the terminal command in 10.8.5?
     
  12. Mr. Retrofire macrumors 601

    Mr. Retrofire

    Joined:
    Mar 2, 2010
    Location:
    www.emiliana.cl/en
    #12
    Try a SMC reset first!

    http://support.apple.com/kb/ht3964

    OS X 10.8.5 contains new power management code, which is probably incompatible with old power management settings in the SMC.

    And...
     
  13. nickmorzov macrumors newbie

    nickmorzov

    Joined:
    Jan 26, 2017
    #14
    i like how everyone's having a convo about this and this champion above dropped a discrete knowledge bomb on everyone under the radar. THANK YOU for posting this!!
     

Share This Page