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

    Hybrid nanoBSD plus hard disk configuration support

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    5 Posts 4 Posters 2.4k 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.
    • P
      phil.davis
      last edited by

      Now there are systems like this available: http://store.netgate.com/Netgate-FW-525B-P1919C83.aspx
      and posts like this, from people making hybrid CF card plus hard disk setups: http://forum.pfsense.org/index.php/topic,66251.0.html

      I think that a hybrid system like this is useful, because you get the benefit of the dual-slice booting off the CF card, enabling easy reverting of the base system if an upgrade goes wrong or you mess something up badly with the FreeBSD files or… and can also use packages that want some disk space to work with.

      There could be an option to enable mounting of a real disk when on nanoBSD. I guess it would need:
      a) selection of the disk and partition to mount
      b) a way to format the disk/partition if it is not already done
      c) protection against people choosing the CF card and formatting that!
      d) option to put /var and /tmp on hard drive partitions (or keep these in memory
      e) option to add an extra partition for other crud, would be easiest to give it a fixed mount point like "/data" or ?

      Then packages can select /data/xxx... as the place to put their cache files, big logs, whatever...

      Assuming it is designed and coded well, is this something that would be acceptable/useful in the base system?

      What comments do you have about the "feature list" (a) to (e) above?

      If there is some support I can add a feature request to RedMine.

      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Yes there are quite a few questions about this type of setup such as that you linked.
        I would definitely like to see a feature like this. I would be happy to see a limited version version such as:
        Storing the fstab in the config file and having some way to edit it from the gui. Maybe just additional fstab lines.
        Ability to specify a location for /var and /temp and that stored in the config file
        Ability to specify locations in Squid and Snort for temporary files and logs, stored in the config file.

        The syslog-ng package allows this I think.Β  :-\

        Do we really need a gui method for formatting the disk?

        The greatest advantage of running Nano is that it's much less susceptible to power failure or other catastrophic interruption. However if you've moved logging onto a HD what happens if it's not shutdown correctly? There would need to be some logic that handled a corrupted file system or you've lost the robustness on Nano.

        Steve

        Edit: typo

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

          If such a thing were to be "officially" supported, then we would need a way to format drives in the GUI.

          As it is, someone could manually format it, shove a script/line in a shellcmd to mount it, and run it however they want.

          fstab isn't even used for mounting on NanoBSD it's all done in /etc/rc.embedded.

          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
          • D
            doktornotor Banned
            last edited by

            Semi-OT: While messing with this, having gmirror configurable from the GUI would be awesome.

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

              Some things are available in the "/installer/" web installer code, could probably be re-used for such a thing.

              One of the things I have in my notes for 2.2 is some gmirror management in the GUI (add drive, remove drive, etc, etc)

              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.