…it’s something which is extremely annoying and a real workflow stopper! i really hope that there is a fix for this with future drobo updates. please, is there any known script for OSX (10.6.2) which does this prevent the drobo from spinning down?
I use a prog called NoSleepHD (http://nosleephd.codeplex.com/) for W7, don’t think there is a OS X version, but it does the job perfectly. All it does is simply write to a .txt file on the select device every x minutes (you specify the x).
As others have said all you need is a job to write to a file once every 10 minutes or so for it to stay awake.
OS X has the unix utility cron built-in which runs scheduled tasks. From a terminal run the command below to set one up: echo “00,10,20,30,40,50 * * * * /usr/bin/touch /Volumes/Drobo/nosleep >/dev/null 2>&1” | crontab -
This will replace any jobs you have manually configured in your crontab - but if you have manually configured jobs then you won’t have any trouble adding this one manually
You can verify it is configured by listing out your cron jobs with
Or remove all your cron jobs with
The job simply runs every 10 minutes and updates the timestamp on the file /Volumes/Drobo/nosleep. The filename does not mater so you can alter as required.
Unfortunately this does not work for me; I’m running W7 64 bit. Must be a 32 bit only app (or something strange like it); it crashes every time I run it and I’ve tried in multiple different compatibility modes.
Doesn’t Win7 have an XP compatibility mode? I understands in runs XP as a virtual machine. Just run the Nosleep… program there.
Or, if you have sufficient skills, you can download the “insomnia” app that I wrote for Droboshare to keep its drives from spinning down. Its a bash script that you can port or get running with a little work.
only the higher versions of win 7 have this switcher - it was designed to encourage businesses to upgrade (so they can continue to use their legacy apps)
standard home versions cant do this (XP Mode)
However all version of windows 7 have compatibility mode (where windows 7 pretends to be another OS to trick software into running - it also provides elevated privaledges etc etc that they may need) but that is not the same as XP mode which, as you say, is running a full blown XP install in a VM
Also… XP Mode requires hardware virtualization support.
Without hardware virtualization support, you’re stuck running “regular” Virtual PC which does not support USB devices. A bummer for me, as I really could use that, but all of my machines are too old/low to support HW virtualization. I have a disc printer that only has 32-bit drivers so for now there’s an old laptop that gets RDP-ed to in order to drive it.
The following Perl script can be run on either a Mac or Windows machine (on Windows make sure you have ActivePerl or an equivalent installed). The script writes a simple timestamp to a log file (drobo.txt) on your Drobo to prevent the drives from spinning down.
Use this in conjunction with a crontab on a Mac or set up task scheduler on your PC. The following crontab is set to run every ten minutes (change it to the time frequency you prefer):
Make sure you do a chmod 755 on the Perl script below to make it executable:
this program is run by a crontab
each time the crontab runs, a timestamp is written to a log file on Drobo
the log file is written to drobo every 10 minutes to make sure Drobo
doesn’t go to sleep (spin down drives)
my @months = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
my @weekDays = qw(Sun Mon Tue Wed Thu Fri Sat Sun);
my ($second, $minute, $hour, $dayOfMonth, $month, $yearOffset, $dayOfWeek, $dayOfYear, $daylightSavings) = localtime();
my $year = 1900 + $yearOffset;
my $timeStamp = “$weekDays[$dayOfWeek] $months[$month] $dayOfMonth, $year, $hour:$minute”;
open (DROBOFILE, ‘>>/Volumes/Drobo/drobo.txt’);
print DROBOFILE $timeStamp . “\n”;
As mentioned previously, you can accomplish the same thing with a unix shell script on a Mac or a batch file on your PC. Simply use one of these methods to automate the process so that you write to your Drobo at regular intervals.