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

    Make pfsense resilient to sudden power outages?

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 7 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.
    • W Offline
      W4RH34D
      last edited by

      I think that would be the most hassle free way to go about it to be honest.

      Did you really check your cables?

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        Using 2.4 with ZFS is your only hope. UFS is anything but resilient. It may completely cripple itself on a single power failure, if not, fsck will gradually finish it with its clueless attempts on "fixing" things.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Honest Bob
          last edited by

          amen! I've had to reload pfsense twice out of the 5 times I've shut it down unexpectedly. I keep a backup of my config of course but it shouldnt be so easily killed.

          1 Reply Last reply Reply Quote 0
          • S Offline
            spyshagg
            last edited by

            So  fstab /  0 0  to avoid checkdisk

            got it

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

              What UPS do you have, and what is your HOST running?  I would say your primary goal here would be to get your host to shutdown correctly on power loss… Or you could have problems with the host even coming back, or any other vms you have running on it.

              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.8, 24.11

              1 Reply Last reply Reply Quote 0
              • S Offline
                spyshagg
                last edited by

                Centos 6.8 x64

                Phasak 9469 usb
                Eaton 5E usb

                The Eaton throws usb errors in linux kernel immediately after plugging it in. It does this in all red hat distros I tired.

                drivers/hid/usbhid/hid-core.c: usb_submit_urb(ctrl) failed

                The newer revisions of phasak 9469 fail to sustain reliable usb communication phasak very own virtualpower app, and nut cannot even recognize the damn ups. The older revision 9465 as exactly the same usb controller and works well, but are no longer available.

                So, two shots two failures. I cant try any more ups. These are it.

                1 Reply Last reply Reply Quote 0
                • W Offline
                  W4RH34D
                  last edited by

                  At least with Linux you could probably pay someone to make you a driver that will work.

                  Did you really check your cables?

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    doktornotor Banned
                    last edited by

                    @spyshagg:

                    So  fstab /  0 0  to avoid checkdisk

                    got it

                    Seriously, this solves nothing when the filesystem is utter junk. Even reiser4 was more stable than this.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      heper
                      last edited by

                      @doktornotor:

                      Seriously, this solves nothing when the filesystem is utter junk. Even reiser4 was more stable than this.

                      theres a slim line between brilliance and being a psychopatic murderer ….. reiser4 combined both those personalities :D

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        spyshagg
                        last edited by

                        Are you guys familiar with "bad file descriptor" error which essentially bricks pfsense at  boot time?

                        I can reproduce this error everytime the virtualbox machine closes without proper shutdown.  Everytime. Luckily, to fix this I just have to copy the backup VDI I keep stored.

                        I am anticipating a world of hurt once the UPS's lose their batteries and the server goes down on power failures.

                        Thinking of testing 2.4 with zfs before deploying another 15 machines.

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