Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    NanoBSD - should different slices have independednt configurations?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hefferbub
      last edited by

      I have 2 independent pfsense firewalls with different configs, each running on its own Alix box.  I have a third Alix box which I want to serve as a non-hot spare for either one.

      I thought I could flash a new 2GB card on the spare, duplicate the nanoBSB slice from #1 to #2, then restore the config for firewall #1 on slice 1 and the config for firewall #2 on slice 2.  That way, I could grab the spare, select the slice at runtime, and pop it into either role as needed.

      I have tried all this, but, unfortunately it hasn't worked.  It seems that the 2 slices don't maintain independent configurations.  Both slices seem to use whichever config I last restored to either slice.

      Is this how it is supposed to work, or should I keep trying?

      Thanks,

      Jeff

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        If I recall correctly the configuration file is kept in a separate slice.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          The two OS slices are independent, but their intention is to be used as alternates for the same master configuration.

          The layout of the NanoBSD filesystem is thus:

          Slice 1: pfsense0 - First OS slice
          Slice 2: pfsense1 - Second OS slice
          Slice 3: cf - Configuration slice, also has some other persistent files (e.g. ssh keys, rrd graph backup, and so on)

          The config is always used directly off slice 3.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.