<?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[NANOBSD: How does it work / how is it used?]]></title><description><![CDATA[<p dir="auto">I looked on the FreeBSD site, and searched the forum and looked at the wiki…</p>
<p dir="auto">NanoBSD gives us two boot slices. Does anything cause automatic failover of the booted slice? I thought I saw this happen but wasn't sure why?</p>
<p dir="auto">What about the config - it is shared across both nano boot slices - correct?</p>
<p dir="auto">Is there a way to implement a "last known good" config?</p>
<p dir="auto">I was hoping that the following was possible, but am not sure if it's in existance yet or even possible...</p>
<p dir="auto">Scenario:</p>
<ul>
<li>an upgrade is attempted (could be pfSense version, OR possibly a radical firewall / Ip address change).</li>
<li>the upgrade fails</li>
<li>the user on site CRASHES the system (pulls the power) when the system fails to be usable</li>
<li>upon reboot, the alternate slice is booted with the last safe config</li>
</ul>
<p dir="auto">Is this already in the works?</p>
<p dir="auto">Thanks!!</p>
]]></description><link>https://forum.netgate.com/topic/22349/nanobsd-how-does-it-work-how-is-it-used</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 16:53:24 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/22349.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Mar 2010 19:07:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NANOBSD: How does it work / how is it used? on Tue, 23 Mar 2010 21:44:25 GMT]]></title><description><![CDATA[<p dir="auto">Excellent - thanks for the tip!<br />
The "false alarm" could be prevented by recording the first successful confirmed boot so that the process is not triggered again until "armed".<br />
Again - thinking out loud - not coding yet.<br />
My issue is that users on sites are not nessecarily capable or trusted with access to the routers. And a 60 minute drive is a high price to pay for a 2 minute change.</p>
<p dir="auto">A pipe dream at the moment, but I'll think on it - thanks again!</p>
]]></description><link>https://forum.netgate.com/post/226912</link><guid isPermaLink="true">https://forum.netgate.com/post/226912</guid><dc:creator><![CDATA[bb-mitch]]></dc:creator><pubDate>Tue, 23 Mar 2010 21:44:25 GMT</pubDate></item><item><title><![CDATA[Reply to NANOBSD: How does it work / how is it used? on Tue, 23 Mar 2010 21:31:04 GMT]]></title><description><![CDATA[<p dir="auto">I would advice against any such automation, though, as what if the router rebooted when nobody was around to 'confirm' that it worked? (for example, during a power failure)</p>
<p dir="auto">The last 20-30 or so configs are kept in /conf/backup/ so you don't have to worry about keeping your own copies.</p>
<p dir="auto">An option from the console menu to restore might be handy, but it's pretty simple:</p>
<ul>
<li>Drop to a shell</li>
<li>cp /conf/backup/&lt;blah&gt;.xml /conf/config.xml</li>
<li>rm /tmp/config.cache</li>
</ul>
<p dir="auto">And then rebooting is probably the safest thing to do at that point.&lt;/blah&gt;</p>
]]></description><link>https://forum.netgate.com/post/226909</link><guid isPermaLink="true">https://forum.netgate.com/post/226909</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Tue, 23 Mar 2010 21:31:04 GMT</pubDate></item><item><title><![CDATA[Reply to NANOBSD: How does it work / how is it used? on Tue, 23 Mar 2010 21:23:35 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the reply.</p>
<p dir="auto">Ahhh - ok - unless the config is the problem ;-)</p>
<p dir="auto">What I'm looking for is a way to use the technology to recover from admin screw up (or ISP screw up). We've had several cases where the ISP has issued incorrect IP configuation information - the system works BEFORE the config - can be reverted to it's old config manually, but once you made the change you are screwed if the changes are not correct.</p>
<p dir="auto">So as it stands, first slice or second, the same config is used. I think I'll canoodle about a "deadman switch" package. Maybe a pipe dream til I get more time or experience on the platform in coding, but something to allow making it failsafe…</p>
<p dir="auto">Thoughts:</p>
<ol>
<li>create a backup config  / manual "last known good"</li>
<li>on reboot, try to load current config - if no one logs in and "confirms" the config then continue...</li>
<li>reboot, try to use last known good config... wait for login / confirm - it not, continue...</li>
<li>set boot slice default to alternate</li>
<li>reboot, using alternate boot slice with last known good config and give up at this point - if it doesn't work now you are fubar'd</li>
</ol>
<p dir="auto">This would allow (with a user capable of no more than a reboot) to remotely revert / roll back your config / upgrades.</p>
<p dir="auto">Has anyone tried / implemented something similar?</p>
<p dir="auto">Thanks again for the confirmation of what NanoBSD does - cheers!</p>
<p dir="auto">m/</p>
]]></description><link>https://forum.netgate.com/post/226906</link><guid isPermaLink="true">https://forum.netgate.com/post/226906</guid><dc:creator><![CDATA[bb-mitch]]></dc:creator><pubDate>Tue, 23 Mar 2010 21:23:35 GMT</pubDate></item><item><title><![CDATA[Reply to NANOBSD: How does it work / how is it used? on Tue, 23 Mar 2010 20:54:06 GMT]]></title><description><![CDATA[<p dir="auto">NanoBSD has two system slices, but they are only changed during an upgrade, or by manual intervention.</p>
<p dir="auto">When you boot, there is an F1/F2 prompt that lets you select which slice to boot from.</p>
<p dir="auto">The config is on a third slice which is not related to the boot slices, it only stores the config and related files.</p>
<p dir="auto">As such, the config should always be safe from failed upgrades or corrupt files on a system slice.</p>
]]></description><link>https://forum.netgate.com/post/226901</link><guid isPermaLink="true">https://forum.netgate.com/post/226901</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Tue, 23 Mar 2010 20:54:06 GMT</pubDate></item></channel></rss>