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

    PC Engines APU4C4 Experience

    Scheduled Pinned Locked Moved Hardware
    68 Posts 12 Posters 20.0k 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.
    • G
      gtrdriver
      last edited by gtrdriver

      Hi

      I think (but don't know) that this is one of the differences to their own negate devices (special arm)

      I think they use other file system methods to avoid this. (Ro temp and so on....)

      I also think not every power loss will END ON A damaged file system.

      Here I use usv ....

      Does anyone know if those apu devices have a watchdog which works with pfsense ?

      Or does the original arm netgate devices have a watchdog ?

      In terms of price this kind of apu devices are same price as the sg1100

      If I'm understand right the sg1100 have also a 2.5gbps backplate for the 3 Ethernet devices ...

      1 Reply Last reply Reply Quote 0
      • QinnQ
        Qinn
        last edited by Qinn

        One of the things I personally like about the APU is that they use Intel NIC's

        https://pcengines.ch/apu2.htm

        Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
        Firmware: Latest-stable-pfSense CE (amd64)
        Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

        1 Reply Last reply Reply Quote 0
        • G
          gtrdriver
          last edited by

          Personaly i agree but I think if you have original pfsense hardware I think this should also be stable

          1 Reply Last reply Reply Quote 0
          • V
            viragomann
            last edited by

            Such filesystem errors due to power outage seem to occur with UFS only.
            Install pfSense with ZFS and you will be relaxed. That was recommended here already many times.

            boukeB 1 Reply Last reply Reply Quote 1
            • boukeB
              bouke @viragomann
              last edited by

              @viragomann Please see the following excellent document: https://teklager.se/en/knowledge-base/pfsense-ufs-filesystem-corruption-after-power-loss/

              V 1 Reply Last reply Reply Quote 1
              • V
                viragomann @bouke
                last edited by

                @bouke
                I agree with that. That affirms what I wrote above.

                ZFS seems to be very robust against power outage (incomplete write processes). I'm running pfSense on ZFS at home for almost two years and had recently multiple power outage due to a fault device a week ago with no effect to pfSense. It boots up and does its job every time when the power come back.

                1 Reply Last reply Reply Quote 0
                • QinnQ
                  Qinn
                  last edited by

                  Did a

                  /root: fstyp -l /dev/gptid/091891e1-98b3-11e8-9310-000db9416710
                  
                  ufs
                  
                  

                  Bummer, seems I did not choose ZFS during install

                  Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                  Firmware: Latest-stable-pfSense CE (amd64)
                  Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

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

                    Yes, try to halt the box before powering off (unmount the filesystem) if you can.

                    If you are installing somewhere that cannot guaranty power stability then I suggest moving /var and /tmp to RAM drives minimising drive writes and therefore the chances of writing a critical file when power is lost.

                    Steve

                    QinnQ 1 Reply Last reply Reply Quote 1
                    • QinnQ
                      Qinn @stephenw10
                      last edited by Qinn

                      Is there any reason why Auto (UFS) Guided Disk Setup is on top in the partitioning setup and Auto(ZFS) Guided Root-on-ZFS is way below in the pfSense Installer, as most will enter through the setup and thus choose the first?

                      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                      Firmware: Latest-stable-pfSense CE (amd64)
                      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                      1 Reply Last reply Reply Quote 0
                      • G
                        gtrdriver
                        last edited by

                        That Question ist very Interesting.

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

                          UFS is the supported install type at this time. It's likely we will move to ZFS as the default at some point but currectly the vast majority of installs are UFS and that's what we test against.
                          I'm not aware of any issues with ZFS though, I have several boxes running that.

                          Steve

                          1 Reply Last reply Reply Quote 2
                          • QinnQ
                            Qinn
                            last edited by

                            Thanks Steve, from what I remember UFS is the default Unix file system and ZFS is open source, but that's al I know, as I have more experience with ext3/4. So as those filesystems are a bit out of my wheelhouse, is there anything to say pro or contra, apart from the "auto repairing" that ZFS seems to have, when using a 16GB SSD durable and fast Solid state drive?

                            Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                            Firmware: Latest-stable-pfSense CE (amd64)
                            Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

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

                              Well not much beyond UFS is far more tested and uses less resouces. ZFS uses significantly more resources but is far better at recovering from data loss or not losing it in the first place!
                              I'm far from an expert there either.

                              Steve

                              1 Reply Last reply Reply Quote 0
                              • G
                                gtrdriver
                                last edited by

                                Hello

                                I just made some tests today - on APU Board with a mSata ZFS Installation works like a Charm - fine !
                                I also Tryed to install ZFS VErsion on a APU Board with a SD Card and here it seem that ZFS dont work - is that possible ?
                                The ZFS Installer report a Error - but no more ...

                                Installation on SD witz Default UFS runs fine ...

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

                                  Not sure I've ever tried that. What size/type of card? What was the error?

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • boukeB
                                    bouke @gtrdriver
                                    last edited by

                                    @gtrdriver said in PC Engines APU4C4 Experience:

                                    Hello

                                    I just made some tests today - on APU Board with a mSata ZFS Installation works like a Charm - fine !
                                    I also Tryed to install ZFS VErsion on a APU Board with a SD Card and here it seem that ZFS dont work - is that possible ?
                                    The ZFS Installer report a Error - but no more ...

                                    Installation on SD witz Default UFS runs fine ...

                                    I would not recommend to use a SD card like this. My estimated guess is that the SD card will wear out very soon if you are able to format it ZFS. That said: I guess the SD card is too slow compared to an SSD. I would UFS format it and use RAM disk. On the other hand: a RAM disk isn't really feasible with 4GB RAM.

                                    I would stick with an SSD. I normally format these UFS if there's a UPS available. I will format ZFS if there isn't any.

                                    1 Reply Last reply Reply Quote 1
                                    • V
                                      viragomann
                                      last edited by

                                      I installed pfSense with ZFS on an APU4C4 on a 16 GB mSATA. Works without issues.

                                      fireodoF 1 Reply Last reply Reply Quote 0
                                      • fireodoF
                                        fireodo @viragomann
                                        last edited by fireodo

                                        @viragomann said in PC Engines APU4C4 Experience:

                                        I installed pfSense with ZFS on an APU4C4 on a 16 GB mSATA. Works without issues.

                                        So have I too but on two APU2C0 one with a Zheino 16GB SSD and on the other on a Transcend 32GB - no issues so far ...

                                        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                        pfsense 2.8.0 CE
                                        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          gtrdriver
                                          last edited by

                                          Hello

                                          Regarding ZFS on SD: There is no specific Error - the Installer Says:

                                          ZFS setup failed x
                                          x x
                                          x An installation step has been aborted. Would x
                                          x you like to restart the installation or exit x
                                          x the installer? x
                                          tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

                                          1 Reply Last reply Reply Quote 0
                                          • QinnQ
                                            Qinn
                                            last edited by

                                            Ideally, ZFS requires a system with ECC memory, otherwise you're still not 100% safeguarded against bit errors..

                                            I read that https://pcengines.ch/apu2.htm ECC is optional, can some comment on that?

                                            Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                            Firmware: Latest-stable-pfSense CE (amd64)
                                            Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

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