<p>I would look at putting the config files in a subversion or git repo and pushing out with repo sync or rsync or using puppet or cfengine to handle this.</p>
<div class="gmail_quote">On Aug 4, 2011 1:49 PM, &quot;Wolf Halton&quot; &lt;<a href="mailto:wolf.halton@gmail.com">wolf.halton@gmail.com</a>&gt; wrote:<br type="attribution">&gt; Oh, ok.. Thanks,<br>&gt; I have not used automount before.  Would you feel safe mounting a critical<br>
&gt; directory with it - not necessarily a remote /home directory?<br>&gt; The nfs share I have up is holding the config files for a web app.  This was<br>&gt; our solution to having to update the config files on several servers in the<br>
&gt; event that they needed to be edited.  Without it, my test box has a copy of<br>&gt; the source on it, but it is plain that this failsafe didn&#39;t work all that<br>&gt; well.<br>&gt; <br>&gt; On Thu, Aug 4, 2011 at 12:57 PM, Lightner, Jeff &lt;<a href="mailto:JLightner@water.com">JLightner@water.com</a>&gt; wrote:<br>
&gt; <br>&gt;&gt;  Right – Avery’s email was saying you could use automount rather than<br>&gt;&gt; fstab.  With automount the filesystem doesn’t mount at boot time but does<br>&gt;&gt; mount the first time something tries to use it which should be long after<br>
&gt;&gt; boot.****<br>&gt;&gt;<br>&gt;&gt; ** **<br>&gt;&gt;<br>&gt;&gt; Automount also means the filesystem gets unmounted automatically when not<br>&gt;&gt; in use and remounted when used later.   One nice side to this is that if the<br>
&gt;&gt; exporting server goes down and it isn’t currently NFS mounted on your server<br>&gt;&gt; it doesn’t cause problems like hard NFS mounts do.   ****<br>&gt;&gt;<br>&gt;&gt; ** **<br>&gt;&gt;  ------------------------------<br>
&gt;&gt;<br>&gt;&gt; *From:* <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a>] *On Behalf Of *Wolf<br>&gt;&gt; Halton<br>&gt;&gt; *Sent:* Thursday, August 04, 2011 12:23 PM<br>
&gt;&gt; *To:* Atlanta Linux Enthusiasts<br>&gt;&gt;<br>&gt;&gt; *Subject:* Re: [ale] Fstab fails<br>&gt;&gt; ****<br>&gt;&gt;<br>&gt;&gt; ** **<br>&gt;&gt;<br>&gt;&gt; In my case, the system is coming up but just without the nfs directory<br>
&gt;&gt; mounted. ****<br>&gt;&gt;<br>&gt;&gt; On Aug 4, 2011 9:03 AM, &quot;Lightner, Jeff&quot; &lt;<a href="mailto:JLightner@water.com">JLightner@water.com</a>&gt; wrote:<br>&gt;&gt; &gt; Good idea.<br>&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; ________________________________<br>&gt;&gt; &gt; From: <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a>] On Behalf Of<br>
&gt;&gt; Avery Ceo<br>&gt;&gt; &gt; Sent: Wednesday, August 03, 2011 7:42 PM<br>&gt;&gt; &gt; To: Atlanta Linux Enthusiasts; <a href="mailto:transam@verysecurelinux.com">transam@verysecurelinux.com</a><br>&gt;&gt; &gt; Subject: Re: [ale] Fstab fails<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Have you considered the automounter? By waiting until the first attempt<br>&gt;&gt; to read a file before mounting the share, you might avoid your startup<br>&gt;&gt; issue, and you would get remounts after a lost connection for free if there<br>
&gt;&gt; is a network blip.<br>&gt;&gt; &gt; On Aug 3, 2011 6:47 PM, &quot;Bob Toxen&quot; &lt;<a href="mailto:transam@verysecurelinux.com">transam@verysecurelinux.com</a>&lt;mailto:<br>&gt;&gt; <a href="mailto:transam@verysecurelinux.com">transam@verysecurelinux.com</a>&gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; This still will hang in startup (though you&#39;ll probably be in<br>&gt;&gt; &gt;&gt; multiuser).<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Specify timeouts in case NFS cannot start, e.g., the server is down.<br>
&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Bob Toxen<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; On Wed, Aug 03, 2011 at 04:21:47PM -0400, Andrew Wade wrote:<br>&gt;&gt; &gt;&gt;&gt; With NFS, I set fstab<br>&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; server:/ifs/fs02 /ifs/fs02 nfs bg,noauto,rsize=8192,wsize=8192 0 0<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; *note the noauto, this tells it to not automount. If it tries to<br>&gt;&gt; automount<br>
&gt;&gt; &gt;&gt;&gt; and is unable, your server will stall in startup. So you put this entry<br>&gt;&gt; in<br>&gt;&gt; &gt;&gt;&gt; /etc/rc.local:<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; mount /ifs/fs02<br>&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Also check to make sure that nfs and portmap services are started upon<br>&gt;&gt; boot<br>&gt;&gt; &gt;&gt;&gt; time.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; That way, the server starts up and then mounts the nfs under rc.local<br>
&gt;&gt; (where<br>&gt;&gt; &gt;&gt;&gt; if the nfs share hangs, it would not affect the normal system startup).<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Andrew<br>
&gt;&gt; &gt;&gt;&gt; RHCE<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; On Tue, Aug 2, 2011 at 5:50 PM, planas &lt;<a href="mailto:jslozier@gmail.com">jslozier@gmail.com</a>&lt;mailto:<br>&gt;&gt; <a href="mailto:jslozier@gmail.com">jslozier@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; &gt; **<br>&gt;&gt; &gt;&gt;&gt; &gt; Wolf<br>&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt; Could configuration be faulty, I asked about setting an internal ntfs<br>
&gt;&gt; drive<br>&gt;&gt; &gt;&gt;&gt; &gt; awhile ago and I got this link from Ubuntu:<br>&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt; <a href="https://help.ubuntu.com/community/Fstab">https://help.ubuntu.com/community/Fstab</a><br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt; It has links to more network configuration.<br>&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt; On Tue, 2011-08-02 at 14:27 -0400, Wolf Halton wrote:<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt; Can you think of any reason why fstab would not be read on reboot.<br>&gt;&gt; Ubuntu<br>&gt;&gt; &gt;&gt;&gt; &gt; lucid have an nfs share that was not mounted automagically when I<br>
&gt;&gt; rebooted<br>&gt;&gt; &gt;&gt;&gt; &gt; the client machine. Broke a bunch of stuff.<br>&gt;&gt; &gt;&gt;&gt; &gt; Wolf<br>&gt;&gt; &gt;&gt;&gt; &gt; PS mount -a picked up and mounted the nfs directory.<br>&gt;&gt; &gt;&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt;&gt;&gt; &gt; Ale mailing list<br>&gt;&gt; &gt;&gt;&gt; &gt; Ale@ale.orghttp://<a href="http://mail.ale.org/mailman/listinfo/ale">mail.ale.org/mailman/listinfo/ale</a>&lt;<br>
&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>&gt;<br>&gt;&gt; &gt;&gt;&gt; &gt; See JOBS, ANNOUNCE and SCHOOLS lists athttp://<br>&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo">mail.ale.org/mailman/listinfo</a>&lt;<a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt; --<br>&gt;&gt; &gt;&gt;&gt; &gt; Jay Lozier<br>&gt;&gt; &gt;&gt;&gt; &gt; <a href="mailto:jslozier@gmail.com">jslozier@gmail.com</a>&lt;mailto:<a href="mailto:jslozier@gmail.com">jslozier@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt;&gt;&gt; &gt; Ale mailing list<br>&gt;&gt; &gt;&gt;&gt; &gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a>&lt;mailto:<a href="mailto:Ale@ale.org">Ale@ale.org</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt; <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>&gt;&gt; &gt;&gt;&gt; &gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>&gt;&gt; &gt;&gt;&gt; &gt; <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>&gt;&gt; &gt;&gt;&gt; Ale mailing list<br>&gt;&gt; &gt;&gt;&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a>&lt;mailto:<a href="mailto:Ale@ale.org">Ale@ale.org</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>&gt;&gt; &gt;&gt;&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>&gt;&gt; &gt;&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>
&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; _______________________________________________<br>&gt;&gt; &gt;&gt; Ale mailing list<br>&gt;&gt; &gt;&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a>&lt;mailto:<a href="mailto:Ale@ale.org">Ale@ale.org</a>&gt;<br>
&gt;&gt; &gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>&gt;&gt; &gt;&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>&gt;&gt; &gt;&gt; <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Proud partner. Susan G. Komen for the Cure.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Please consider our environment before printing this e-mail or<br>
&gt;&gt; attachments.<br>&gt;&gt; &gt; ----------------------------------<br>&gt;&gt; &gt; CONFIDENTIALITY NOTICE: This e-mail may contain privileged or<br>&gt;&gt; confidential information and is for the sole use of the intended<br>
&gt;&gt; recipient(s). If you are not the intended recipient, any disclosure,<br>&gt;&gt; copying, distribution, or use of the contents of this information is<br>&gt;&gt; prohibited and may be unlawful. If you have received this electronic<br>
&gt;&gt; transmission in error, please reply immediately to the sender that you have<br>&gt;&gt; received the message in error, and delete it. Thank you.<br>&gt;&gt; &gt; ----------------------------------<br>&gt;&gt; &gt;<br>
&gt;&gt; &gt; ****<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Ale mailing list<br>&gt;&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt;&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; This Apt Has Super Cow Powers - <a href="http://sourcefreedom.com">http://sourcefreedom.com</a><br>
</div>