OH I got it working now. Ok that was stupid! LOL. When I cd to /misc I didn't see anything, but as soon as I: cd /misc/data it worked.<br><br><br>Thanks,<br><br><div class="gmail_quote">On Sat, May 2, 2009 at 9:13 AM, scott mcbrien <span dir="ltr"><<a href="mailto:smcbrien@gmail.com">smcbrien@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><div></div><div class="h5">On Sat, May 2, 2009 at 8:42 AM, Brandon Colbert <span dir="ltr"><<a href="mailto:colbert.brandon@gmail.com" target="_blank">colbert.brandon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
All,<br><br>I have searched all over the net about setting up AutoFS. I am able to mount the share: manually or through /etc/fstab. Can someone give me a hand? <br><br>My config:<br>Server: NFS share. /home/data <a href="http://192.168.100.0/255.255.255.0%28ro%29" target="_blank">192.168.100.0/255.255.255.0(ro)</a><br>
<br>Client:<br>auto.master:<br>/misc /etc/auto.misc<br>/net -hosts<br>+auto.master<br><br>auto.misc:<br>data -fstype=nfs,ro server.net:/home/data</blockquote><div><br></div></div></div><div>Brandon,</div>
<div><br>
</div><div>Your auto.misc looks right, but I'd probably change it to:</div><div>data -ro,soft,intr server.net:/home/data</div><div><br></div><div>The soft and intr options make nfs a little nicer on the client, like it can interrupt a process if the nfs server is having issues.</div>
<div><br></div><div>But you didn't tell us the problem. I'm guessing that you're expecting /misc/data to appear after you restart autofs? That's not going to happen with you setup because you're running autofs as a mount resource on demand, so it won't be until you actually try to use the contents of /misc/data that you'll see the mount point created and data available to your system, then, if you're idle for a while and haven't used the data, the directory will be umounted and the mountpoint will go away until you try to access it again. Try running ls /misc/data to see if autofs is working, if you get stuff back, working, if you get "no such file or directory", not working.</div>
<div><br></div><div>If you want autofs to always show you the mounted resource, you want to create a "direct map" with your configuration.</div><div><br></div><div>-Scott</div></div><br>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
<br></blockquote></div><br>