I have an iMac that is running Mavericks with OS X Server. I have the Time Machine service set up on that machine, referring to a directory on an external drive that is connected via Firewire. Other Macs in the house use this as the Time Machine backup location.
All works fine as long as someone is logged into the server. However, if the server is rebooted, and nobody logs in, then all client machines' Time Machine backups fail with an "unable to connect to disk" error. As soon as anyone logs into the server, everything starts working again.
So, apparently the external drive is not mounted until somebody logs in. What is the easiest way to fix this?
I have found various pages around the net showing how to use
automount and the
/etc/auto_master configuration file to mount remote NFS and SMB shares automatically. Is this the way to do it, and if so, what do I put in
/etc/auto_master for an external local drive?
Or do I need to create an
/etc/fstab file and put something in it? (I find conflicting information about whether that is still used or has been deprecated.)
Or do I need to do something with
FWIW, here is the output of
mount -v when the external drive "My Book" is mounted:
/dev/disk1s3 on /Volumes/My Book (hfs, local, journaled)
Update: After experimenting more, it seems that sometimes everything works as expected (that is, external disk gets mounted and clients can backup), and sometimes it doesn't. Maybe there is a race condition between when services start and when external-drive mounting completes?