Upgraded to Leopard this weekend

One of the main reasons I really like using OS X is the ability to natively NFS mount. At Network Appliance, nearly all shared resources are available via NFS; all of the shared document repositories are available by both NFS and CIFS. NFS is of course far superior, since you can create a single logical directory tree that consolidates the entire body of servers on your network using symlinks and automounts.

I had an automounter setup that I created for my box that involved a script to join the NetApp NIS domain, grab all of the automount data, and generate automount map files for the Tiger automounter. I would then run the automounter from the command line. This worked, but had the highly annoying property of once a mount point timed out (which happens over VPN more than I'd like), the host was marked as unreachable until you killed and restarted the automount process.

I had a brief moment of concern the first time I tried to use the automount command in Leopard; the options I used are no longer supported. After a quick bit of web research, I added the maps to /etc/auto_master, and now OS-X is managing these for me automatically (no more having to remember to run the mount script after I reboot). Best of all, it recovers gracefully after a mount point timeout!

Since this worked so well, I added automount maps for my home network as well; if I'm lucky these will work as well as the ones I did for work, and I'll now have persistent locations in my local filesystem for both work and home resources. This will be great!



Comments:

Post a Comment:
Comments are closed for this entry.