Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 4 of 4
  1. #1
    heycam is offline Registered User
    Join Date
    Jan 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Checking if hard disk is powered off?

    Hi everyone.

    I have my Mac Mini set to power off hard disks after some time of inactivity. I think my external USB hard disk is not being powered off. Is there some way I can check this? Is there an equivalent of the hdparm utility in Linux?

    Thanks,

    Cameron

  2. #2
    DeltaMac is offline Tech
    Join Date
    Jun 2001
    Location
    Dover, DE
    Posts
    7,705
    Thanks
    3
    Thanked 629 Times in 619 Posts
    The setting is to put the drive to sleep, if possible - not cutting the power to the drive.

    Querying the drive would usually power it on, I think, if it is sleeping.

    Why would you want to know if the drive is actually off? You can always eject the drive, and turn off the power.

    Shutting the mini off will probably power down the external drive completely, if the drive supports that action.
    Serendipity is a lucky guess !

  3. #3
    heycam is offline Registered User
    Join Date
    Jan 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by DeltaMac View Post
    The setting is to put the drive to sleep, if possible - not cutting the power to the drive.
    Oh, ok. I assumed it would power it down completely.

    Querying the drive would usually power it on, I think, if it is sleeping.
    Maybe. But using hdparm in Linux I can query to see if the drive is in one of three states: "active/idle (normal operation), standby (low power mode, drive has spun down), or sleeping (lowest power mode, drive is completely shut down)". I assume that means that it needs only to query the IDE controller and not the drive itself.

    Why would you want to know if the drive is actually off? You can always eject the drive, and turn off the power.
    I want to know if the power settings are having the effect I want. What I'm doing is using an external hard drive as a backup for my laptop, but the backup will only run every X days. During the rest of the time, I want the hard disk off so that it doesn't waste power. (Related to my other question.) And I want this to happen without me having to unplug and replug the USB cable myself.

    Shutting the mini off will probably power down the external drive completely, if the drive supports that action.
    It probably would. But I want the mini running the rest of the time, even when the backups aren't happening.

    Thanks,

    Cameron

  4. #4
    DeltaMac is offline Tech
    Join Date
    Jun 2001
    Location
    Dover, DE
    Posts
    7,705
    Thanks
    3
    Thanked 629 Times in 619 Posts
    And I want this to happen without me having to unplug and replug the USB cable myself.
    I don't think you would need to actually unplug the drive. If it's only used every few days, just dismount the drive, and turn the drive power off. It should mount if you turn the drive power back on. That would prevent the system from occasionally querying the drive, and mounting again when you don't intend for that to happen. That could happen if you rely on some software command to turn the drive power off. This would probably happen if you wake up the mini from sleep.
    Serendipity is a lucky guess !

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •