DroboFS Automounting on OS X
I recently purchased a DroboFS and one of the only hiccups I have had with it is getting it’s shares automounted properly under OS X 10.6.4. Surfing the net there is all kinds of lame-ass solutions such as adding the shares to the Login Items profiles, which works if your user gets automatically logged in on system boot, but then you get a Finder window that pops up. Rather annoying when other solutions are possible. Normally in past environments I would just add the share to the /etc/fstab file and you’d be cooking with fire, but I wasn’t having any luck with this DroboFS.
After some digging around I have manged to get the DroboFS shares mounted when OS X boots up. I have tested it with both smbfs and and afp and they work as expected, you just need to substitute them into the /etc/auto_smb file. With that said, here’s what you need to do.
Edit the /etc/auto_smb file and add a line with the following format:
<share_path> -fstype=smbfs ://<username>:<password>@<server_ip>/<share_name>
Create the local share path and give full access:
mkdir <share_path> chmod 777 <share_path>
Enable auto_smb in the /etc/auto_master file
# # Automounter master map # +auto_master # Use directory service /net -hosts -nobrowse,hidefromfinder,nosuid /home auto_home -nobrowse,hidefromfinder /Network/Servers -fstab /- -static /- auto_smb
And you’re done! Reboot the machine and it will auto mount the share on boot. If you have any questions just post a comment below and I’ll try my best to help.