<p dir="ltr">I use fstab for data dirs and automounter for home dirs. Many more users than data dirs so it saves some memory in each machine to only track active users.</p>
<p dir="ltr">If automounter isn&#39;t working but manual mount is, it&#39;s not firewall but a mapping bug or a dns issue. I have to run my own dns and have even the dhcp machine set to use my dns. Part of that is for freeipa and other is for automount. I used the server IP for a while but have a reconfig approaching where names will make my life easier.</p>
<div class="gmail_quote">On May 31, 2016 5:34 PM, &quot;Todor Fassl&quot; &lt;<a href="mailto:fassl.tod@gmail.com">fassl.tod@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there any drawback to mounting the NFS share for home directories in the fstab versus using the automounter?<br>
<br>
For example, I could put a line in /etc/fstab like this:<br>
nfshome:/export /home nfs4 defaults 0 0<br>
<br>
Or I could have the automounter mount /home/username when the user logs in. I&#39;m currently doing it via the automounter -- in fact, I always have. I&#39;ve never actually configured a machine to mount at boot time an nfs share to use for home directories.<br>
<br>
PS: The reason I am thinking of not using the automounter is that we ran out of office space in my building and we put a single user in another building. I can&#39;t get the automounter to work. Mounting home directories works if I type in a mount command:<br>
<br>
mount -t nfs nfshome:/export/username /home/username<br>
<br>
But the automounter does not work. Neither does showmount. If I type &quot;shomount -e nfshome&quot;, it times out after about 30 seconds. I suspect a firewall issue wrt the portmapper (port 111). I put a packet sniffer on the nfs file server and it usually gets a UDP packet on port 111 from a workstation doing a showmount. But that packet does not arrive when the showmount is done from the workstation with the problem.<br>
<br>
-- <br>
Todd<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>