I have a Thermaltake BlacX Duet SATA dock. It's a great dock, but unknown to me when I bought it is the fact that these docks spin down their drives when inactive for a time.

I have been dealing with two drives constantly disconnecting. This is a problem when I am using at least one drive for Time Machine backups and none of my Macs can connect over the network or internet (yes, I do TM backups over the internet - I have my AFP port open through my router). But I finally figured out that the drives spinning down was the problem.
I had been using KeepDriveSpinning, which is an Applescript that "touches" a hidden file according to the number of seconds you set to keep the drive spinning.
KDS uses LaunchDaemons to do this. I decided to try and modify the daemons to see if I could make it work. Bad idea as I kept getting crashes and an unresponsive system.
However…since I knew touch was being used I took a look at the command today and I came up with what I think is a simple solution.
I have mentioned Lingon in the past. Lingon is a very cool app because it allows you to easily create LaunchDaemons to do just about ANYTHING. And one of those anythings is allowing you to execute terminal commands or applescripts based on criteria you set.
So, I made a small text file and I saved it invisibly on both of these two drives (by putting a period before the filename). I then created two launchdaemons using Lingon to execute a touch command every 30 seconds.
I do not know why KeepDriveSpinning is not working, but so far my two launchdaemons that I made myself are.
I'm going to keep testing, but so far it looks pretty good.
I love Lingon!

I have been dealing with two drives constantly disconnecting. This is a problem when I am using at least one drive for Time Machine backups and none of my Macs can connect over the network or internet (yes, I do TM backups over the internet - I have my AFP port open through my router). But I finally figured out that the drives spinning down was the problem.
I had been using KeepDriveSpinning, which is an Applescript that "touches" a hidden file according to the number of seconds you set to keep the drive spinning.
KDS uses LaunchDaemons to do this. I decided to try and modify the daemons to see if I could make it work. Bad idea as I kept getting crashes and an unresponsive system.
However…since I knew touch was being used I took a look at the command today and I came up with what I think is a simple solution.
I have mentioned Lingon in the past. Lingon is a very cool app because it allows you to easily create LaunchDaemons to do just about ANYTHING. And one of those anythings is allowing you to execute terminal commands or applescripts based on criteria you set.
So, I made a small text file and I saved it invisibly on both of these two drives (by putting a period before the filename). I then created two launchdaemons using Lingon to execute a touch command every 30 seconds.
I do not know why KeepDriveSpinning is not working, but so far my two launchdaemons that I made myself are.
I'm going to keep testing, but so far it looks pretty good.
I love Lingon!
Last edited: