<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Nfs fstab mount fails, succeeds manually; mount point deleted on reboot]]></title><description><![CDATA[<p dir="auto">2.0-BETA4 (i386)<br />
built on Mon Oct 25 15:00:24 EDT 2010<br />
FreeBSD 8.1-RELEASE-p1<br />
Platform nanobsd (2g)</p>
<p dir="auto">This works:</p>
<pre><code>/etc/rc.conf_mount_rw
mkdir /var/squid
mount -t nfs 192.168.255.253 /var/squid

</code></pre>
<p dir="auto">However, when I reboot, /var/squid no longer exists. I do not have the squid package installed, so will the directory survive a reboot once I install the package? I don't understand why it's disappearing. Is there a better place to create my mount point, seeing that I can move the squid cache directory?</p>
<p dir="auto">Next problem, I put the following into /etc/fstab:</p>
<pre><code>
192.168.255.253:/mnt/squid /var/squid nfs defaults 1 1

</code></pre>
<p dir="auto">but this is ineffective both at boot (maybe because the parent directory is deleted), and when trying to manually mount it thus:</p>
<pre><code>mount /var/squid
fstab: /etc/fstab:4: Inappropriate file type or format
fstab: /etc/fstab:4: Inappropriate file type or format
mount: /var/squid: unknown special file or file system

</code></pre>
<p dir="auto">And likewise:</p>
<pre><code>mount -a

fstab: /etc/fstab:4: Inappropriate file type or format

</code></pre>
<p dir="auto">Help?</p>
]]></description><link>https://forum.netgate.com/topic/27631/nfs-fstab-mount-fails-succeeds-manually-mount-point-deleted-on-reboot</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 18:31:27 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/27631.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 Oct 2010 07:22:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nfs fstab mount fails, succeeds manually; mount point deleted on reboot on Fri, 05 Nov 2010 11:57:24 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot Jimp.<br />
It's very interesting, and it will be very usefull.</p>
<p dir="auto">I'm going to try playing with it…  ;)</p>
]]></description><link>https://forum.netgate.com/post/251725</link><guid isPermaLink="true">https://forum.netgate.com/post/251725</guid><dc:creator><![CDATA[lol]]></dc:creator><pubDate>Fri, 05 Nov 2010 11:57:24 GMT</pubDate></item><item><title><![CDATA[Reply to Nfs fstab mount fails, succeeds manually; mount point deleted on reboot on Fri, 05 Nov 2010 11:37:46 GMT]]></title><description><![CDATA[<p dir="auto">On NanoBSD there are three slices:</p>
<p dir="auto">pfsense0 - The first OS slice<br />
pfsense1 - The second OS slice<br />
conf - The configuration slice</p>
<p dir="auto">When you do firmware updates, it upgrades whichever OS slice is not in use and then switches to it. The conf slice is used all the time, so it's constant. If you want something to stay between firmware updates, it should be under /conf/ - just be aware there is not much space there to work with. That doesn't matter for a mountpoint though, they don't take any space really (it's just an empty directory).</p>
]]></description><link>https://forum.netgate.com/post/251723</link><guid isPermaLink="true">https://forum.netgate.com/post/251723</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Fri, 05 Nov 2010 11:37:46 GMT</pubDate></item><item><title><![CDATA[Reply to Nfs fstab mount fails, succeeds manually; mount point deleted on reboot on Fri, 05 Nov 2010 04:42:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/jimp">@<bdi>jimp</bdi></a>:</p>
<blockquote>
<p dir="auto">Well /var and /tmp on nanobsd are RAM disks. Their contents are lost when power is removed.</p>
<p dir="auto">For something to stay constant and visible from both nanobsd OS slices you could put it in /conf/</p>
<p dir="auto">…</p>
</blockquote>
<p dir="auto">Where is the file exactly (/conf/) ?</p>
]]></description><link>https://forum.netgate.com/post/251687</link><guid isPermaLink="true">https://forum.netgate.com/post/251687</guid><dc:creator><![CDATA[lol]]></dc:creator><pubDate>Fri, 05 Nov 2010 04:42:27 GMT</pubDate></item><item><title><![CDATA[Reply to Nfs fstab mount fails, succeeds manually; mount point deleted on reboot on Mon, 01 Nov 2010 14:21:07 GMT]]></title><description><![CDATA[<p dir="auto">Keep in mind, too, that when you do a firmware update it will switch to the alternate slice and use a fresh fstab file, so your changes will be left behind on the old slice.</p>
]]></description><link>https://forum.netgate.com/post/251163</link><guid isPermaLink="true">https://forum.netgate.com/post/251163</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Mon, 01 Nov 2010 14:21:07 GMT</pubDate></item><item><title><![CDATA[Reply to Nfs fstab mount fails, succeeds manually; mount point deleted on reboot on Mon, 01 Nov 2010 14:18:41 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, I will continue playing with this. I think embedded + nfsquid is a cool way to go.</p>
]]></description><link>https://forum.netgate.com/post/251162</link><guid isPermaLink="true">https://forum.netgate.com/post/251162</guid><dc:creator><![CDATA[clarknova]]></dc:creator><pubDate>Mon, 01 Nov 2010 14:18:41 GMT</pubDate></item><item><title><![CDATA[Reply to Nfs fstab mount fails, succeeds manually; mount point deleted on reboot on Mon, 01 Nov 2010 14:11:44 GMT]]></title><description><![CDATA[<p dir="auto">Well /var and /tmp on nanobsd are RAM disks. Their contents are lost when power is removed.</p>
<p dir="auto">For something to stay constant and visible from both nanobsd OS slices you could put it in /conf/</p>
<p dir="auto">As for the fstab contents, you probably just have something that isn't quite formatted right. Where you have "defaults" you should have "rw"</p>
<p dir="auto">You probably really want this:</p>
<pre><code>192.168.255.253:/mnt/squid /conf/squid nfs rw 0 0
</code></pre>
<p dir="auto">Though I am no nfs expert, so someone else might have better info.</p>
]]></description><link>https://forum.netgate.com/post/251158</link><guid isPermaLink="true">https://forum.netgate.com/post/251158</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Mon, 01 Nov 2010 14:11:44 GMT</pubDate></item></channel></rss>