Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently I have an external hdd connected to my Mac Mini and (as a temporary measure) we are backing this up to Dropbox using a Symbolic Link. This works fine but the main problem is when the connection seems to drop between Mac OSX and the HDD. The HDD isn't in sleep mode as everyone else in our office is occasionally using it 8 hours a day, but it seems to drop throughout the day.

What I need to do is setup some sort of connection refresh to keep this connection alive. Any ideas anyone?

share|improve this question
Hmm, I will try this. Thanks for the suggestion. – ing0 Sep 1 '11 at 9:30
I put that as a more detailed answer. – slhck Sep 1 '11 at 9:38
up vote 2 down vote accepted
  1. You could set up a cron job that touches a file on the external disk every hour.

    touch /Volumes/external-disk/file

    Just crontab -e and add this cron job according to the cron syntax (or see another guide here). touch will only change the time stamp of the file and should not cause any overhead or load.

  2. You could use the OS X power management to prevent the disk from ever spinning down again:

    sudo pmset -a disksleep 0

    Find out more about pmset with man pmset or this short guide.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .