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

    What is considered a clean installation???

    Virtualization
    5
    14
    1.1k
    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.
    • T
      thimplicity
      last edited by

      Hi everyone,
      my pfSense box is rebooting randomly (sometimes after an hour, sometimes after a week). The proxmox installation it runs on as a VM is solid. So I am not sure whether it is a hardware issue, if proxmox (and other VMs/containers running on it) are fine.

      The default recommendation seems to be a "clean" installation. For proxmox this is of course not difficult, but wanted to make sure I do that correctly:

      • Option 1: Create new VM, re-install pfSense and manually configure everything
      • Option 2: Create new VM, re-install pfSense and rollback a proxmox snapshot
      • Option 3: Create new VM, re-install pfSense and load a backup configuration from a backup config file or the cloud backup
      • Option 4: Reset pfSense to factory defaults and manually configure everything
      • Option 5: Reset pfSense to factory defaults and load a backup configuration from a backup config file

      There are surely more options, but OK. I am hoping for option 3 :).

      Thanks for some guidance!

      bingo600B R 2 Replies Last reply Reply Quote 0
      • bingo600B
        bingo600 @thimplicity
        last edited by

        @thimplicity

        I would go for Opt. 3 too , and install pfSense w. ZFS (2.6.0)
        Then restore the config backup.

        /Bingo

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

        T 1 Reply Last reply Reply Quote 0
        • T
          thimplicity @bingo600
          last edited by thimplicity

          @bingo600 Thanks! My proxmox server runs on thin-lvm on a single NVMe drive. Can I still do pfSense with ZFS or do I need to transform the complete server to ZFS first?

          edit: Another question: Do you passthrough the ethernet ports to pfSense or do you have it set up with bridges as the pfSense documentation recommends? I understood the direct passthrough should deliver better performance.

          Thanks!

          bingo600B johnpozJ 2 Replies Last reply Reply Quote 0
          • bingo600B
            bingo600 @thimplicity
            last edited by

            @thimplicity

            I haven't got any experience with pfSense on a VM.
            But i'd just make the pfSense VM ZFS

            Re: passthrough vs bridge ....
            Again i don't have any experience with pfSense & VM's

            Maybe @johnpoz can give a hoint on pfSense & VM's

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @thimplicity
              last edited by

              @thimplicity what filesystem you use on virtual disk has little to do with what the host os is using for a filesystem.

              So bridge does not enough performance for your needs? You have what gig internet or you need to move from VM to physical full wire gig speeds? And your virtual interfaces connected to the bridge support only X? And you hoping if you passthru this physical interface you will get X+Y that will = full wirespeed?

              Or is your internet only 100mbps, and you think physical gig vs virtual will get you more than 100mbps? Or is that bridge is only giving you 80mbps?

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              T 1 Reply Last reply Reply Quote 0
              • T
                thimplicity @johnpoz
                last edited by

                @johnpoz Thanks!

                So virtual bridge it is as well as ZFS on the thin-lvm host.

                Based on my googling skills this should suffice a 1gig internet connection fine. When I get more, I can still move to PCI passthrough :).

                1 Reply Last reply Reply Quote 0
                • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  I run dozens of pfSense VMs in my lab on Proxmox VE (Currently 7.2-4) and they are all stable.

                  Usually those kinds of problems end up being some kind of quirk with certain versions of Proxmox VE (e.g. too old) or with VM hardware settings.

                  That said I've used a wide variety of different guest settings (some BIOS, some UEFI, different CPU and machine types, etc) and they're all good for me. One of the nodes in my Proxmox VE cluster has ZFS and a different node has lvm-thin and they are both fine.

                  One thing I do not do is PCI passthrough, so it's possible there is some hardware/compatibility or other issue there.

                  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!

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    thimplicity @jimp
                    last edited by

                    @jimp Thanks for your insights! I have not set up the VM according to the recommended settings in the pfSense documentation, so this might cause some of the issues.

                    Will make sure to correct those mistakes

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

                      There is a bit of leeway there, lots of other combinations do work (e.g. q35 machine w/UEFI BIOS) the one in the docs is just the basics to make sure it's a solid base. Worth trying at least.

                      If you can post screenshots of Proxmox VE GUI for the the Hardware and Options tabs of the problem VM (with private stuff redacted) we might be able to spot something potentially problematic there.

                      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!

                      T 1 Reply Last reply Reply Quote 1
                      • T
                        thimplicity @jimp
                        last edited by thimplicity

                        @jimp Thanks! I will go with this basic setup recommendation, as I am still facing reboots and kernel panics twice a day or so. I did some things wrong during setup (e.g. operating system as Linux and not Other), SCSI instead of VirtIO etc. and then configure it from scratch and then have it run for a few days before the next step.

                        I will still post the screenshots later today.

                        The one thing that makes me think it is not a hardware issue is that the underlying proxmox installation runs rock solid without a hitch (knockonwood)

                        jimpJ 1 Reply Last reply Reply Quote 0
                        • R
                          rcoleman-netgate Netgate @thimplicity
                          last edited by

                          @thimplicity said in What is considered a clean installation???:

                          Option 1: Create new VM, re-install pfSense and manually configure everything
                          Option 2: Create new VM, re-install pfSense and rollback a proxmox snapshot
                          Option 3: Create new VM, re-install pfSense and load a backup configuration from a backup config file or the cloud backup

                          Worth noting that if you have a TAC support subscription this will nullify the sub as you will have a new NDI.

                          So does adding a new interfaces (MAC addresses are used, in part, to generate your NDI).

                          Might be worth while putting static MACs in your system to start with especially if you think you will move your VM in the future.

                          Ryan
                          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                          Requesting firmware for your Netgate device? https://go.netgate.com
                          Switching: Mikrotik, Netgear, Extreme
                          Wireless: Aruba, Ubiquiti

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

                            @thimplicity said in What is considered a clean installation???:

                            I did some things wrong during setup (e.g. operating system as Linux and not Other), SCSI instead of VirtIO etc.

                            Choosing Linux would definitely lead to problems. I don't think non-VirtIO SCSI controller types are known to be an issue but VirtIO is better.

                            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!

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              thimplicity @jimp
                              last edited by

                              @jimp Don't get my hopes up too much :) - will do the fresh installation on Friday.

                              T 1 Reply Last reply Reply Quote 1
                              • T
                                thimplicity @thimplicity
                                last edited by

                                @thimplicity OK, I got impatient with all the reboots and started the journey yesterday. I created a new VM according to the official pfSense instructions and set it up as q35 with UEFI. I decided against just rolling back the config and will configure the stuff from scratch. So far the basics that I have configured work without a hitch, but it has only been 10h.

                                Thanks for the input!

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