PDA

View Full Version : automatic nfs mounting in /Network on laptop


paanta
02-21-2005, 09:23 AM
First off, I'm not 100% familiar with nfs yet, so I may be doing something stupid here. I have a freebsd 5.3 box at 192.168.1.100 with two nfs exports on my LAN at home, with the following lines in my /etc/exports:
/Dat -mapall=pat -network 192.168.1.0 -mask 255.255.255.0
/Dat2 -mapall=pat -network 192.168.1.0 -mask 255.255.255.0

My 10.3.8 G4 iBook has entries in its NetInfo Manager that look like:
Name: 192.168.1.100:/Dat (or Dat2)
dir: /Network/Dat (or Dat2)
opts: -P
type: nfs

All is well and good when I first boot up, but if I leave the network for very long, or if the computer sleeps for an extended period of time, the shares get lost and don't come back. Finder tells me the original item can't be find and if I try to cd /Network/Dat it tells me "Host is down"

Is there some way to get finder to remount these shares, short of rebooting? I keep my iTunes library on the FreeBSD box and I'd love to find a nice solution to this. I've tried manually mounting in finder nfs://192.168.1.100/Dat, which works, but iTunes doesn't like it to be mounted in /Volumes/192.168.1.100 for some reason.

weltonch777
02-22-2005, 02:10 PM
Perhaps NetInfo is mounting the shares before your automount daemon starts? Try mounting the shares by hand after your computer is fully started, and see if the problem goes away. If it does I know a workaround which should work for you.