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

    eMMC Write endurance

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    93 Posts 21 Posters 23.8k 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.
    • M
      michmoor LAYER 8 Rebel Alliance @brodng
      last edited by

      @brodng Just throwing in my 2cents here regarding pfblockerNG.
      I am running it on a SG1100. I do have Global IP Logging enabled but i make sure my list only applies to traffic leaving my LAN (outbound). Assuming you don't have anything suspect on your LAN you shouldn't get that many hits or any at all.

      If you are using DNSBL that's a bit tricky because you do need the logging. I made it a point to disable DNSBL because of the overall usefulness of it in general on pfsense. I have per-vlan blocking lists that i need to apply for different use cases and pfblocker cant do it so i use pihole.

      Lastly the default deny rules. I created a rule called "Global Deny" that's at the end of my firewall list and i don't set logging to it. Tends to take care of any denies being written to disk further conserving the life of the drive.

      Firewall: NetGate,Palo Alto-VM,Juniper SRX
      Routing: Juniper, Arista, Cisco
      Switching: Juniper, Arista, Cisco
      Wireless: Unifi, Aruba IAP
      JNCIP,CCNP Enterprise

      B 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @brodng
        last edited by

        @brodng First off, I wouldn't panic.

        Is it possible to check the remaining eMMC usable life on a base 4200?

        No, it isn't on that model. I think that's the only one though? (for others: https://docs.netgate.com/pfsense/en/latest/troubleshooting/disk-lifetime.html#emmc)

        @brodng said in eMMC Write endurance:

        How do I disable all logging

        See a list of ideas at:
        https://forum.netgate.com/topic/195879/netgate-2100-life-expectancy/8

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        stephenw10S B 2 Replies Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator @SteveITS
          last edited by

          @SteveITS said in eMMC Write endurance:

          I think that's the only one though?

          The RCC-VE models also used USB attached eMMC, so: 2440, 4860, 8860
          Never really saw any significant eMMC issues on those though. 🤔

          Some of the early 1100s used an eMMC version that the util couldn't read.

          1 Reply Last reply Reply Quote 0
          • B
            brodng @michmoor
            last edited by

            @michmoor said in eMMC Write endurance:

            @brodng Just throwing in my 2cents here regarding pfblockerNG.
            I do have Global IP Logging enabled but i make sure my list only applies to traffic leaving my LAN (outbound).

            When I re-enable it I’ll make sure it’s setup this way.

            If you are using DNSBL that's a bit tricky because you do need the logging.

            Not using it either. Thought it would be difficult to maintain and setup accurately.

            Lastly the default deny rules. I created a rule called "Global Deny" that's at the end of my firewall list and i don't set logging to it. Tends to take care of any denies being written to disk further conserving the life of the drive.

            Will definitely do this, good idea.

            1 Reply Last reply Reply Quote 0
            • B
              brodng @SteveITS
              last edited by

              @SteveITS said in eMMC Write endurance:

              @brodng First off, I wouldn't panic.

              I’m not panicking yet : ) Seems inevitable that the storage will have an issue. Would like to get ahead of the problem. I work remote so I would rather schedule the down time.

              Is it possible to check the remaining eMMC usable life on a base 4200?

              No, it isn't on that model. I think that's the only one though? (for others: https://docs.netgate.com/pfsense/en/latest/troubleshooting/disk-lifetime.html#emmc)

              That’s a downer : ( Is it not technically feasible with the base 4200 or could it be added via a firmware update? I’m going to put in an SSD but would be great if this could be added. May help to keep people from panicking.

              @brodng said in eMMC Write endurance:

              How do I disable all logging

              See a list of ideas at:
              [https://forum.netgate.com/topic/195879/netgate-2100-life-expectancy/8](
              https://forum.netgate.com/topic/195879/netgate-2100-life-expectancy/8

              Thank you will check this out.

              Is there a an official guide to upgrade the base 4200 with an NVMe drive? Found a YouTube video but it wasn’t very clear on how to clear the eMMC.

              Didn’t realize the base model was so limited due to the eMMC compared to the Max. Figured I could upgrade later if needed. Well, now I needed, lol.

              S 1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @brodng
                last edited by

                @brodng https://docs.netgate.com/pfsense/en/latest/solutions/netgate-4200/m-2-nvme-installation.html

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote 👍 helpful posts!

                1 Reply Last reply Reply Quote 0
                • JonathanLeeJ
                  JonathanLee
                  last edited by JonathanLee

                  I would do the flash drive make a backup also when you visit your parents.

                  1. install and get it running backup config on one flash drive.
                  2. do the same process again and label it as backup flash drive.

                  Just roll with it stuff goes out sometimes. The option to use a usb drive helps alot

                  You could also go this route and create ln (liker files) that redirect my log files for snort and squid to another drive, could be usb or anything else.

                  Make sure to upvote

                  1 Reply Last reply Reply Quote 0
                  • A andrew_cb referenced this topic on
                  • S
                    smolka_J
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Hmm, have you actually tested that? I was not able to read it when I tried on the 4200 I have here. How did you invoke the command?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        smolka_J @stephenw10
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Yup from Linux running on the 4200. It's the same utility effectively. Linux still doesn't provide low level enough access to the eMMC to read it.

                          [    6.132580] scsi 1:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   1.98 PQ: 0 ANSI: 0
                          [    6.147113] sd 1:0:0:0: [sdb] 30621696 512-byte logical blocks: (15.7 GB/14.6 GiB)
                          [    6.156332] sd 1:0:0:0: [sdb] Write Protect is off
                          [    6.162278] sd 1:0:0:0: [sdb] No Caching mode page found
                          [    6.168236] sd 1:0:0:0: [sdb] Assuming drive cache: write through
                          
                          root@4200:~# mmc extcsd read /dev/sdb
                          ioctl: Invalid argument
                          Could not read EXT_CSD from /dev/sdb
                          root@4200:~# mmc status get /dev/sdb
                          ioctl: Invalid argument
                          Could not read response to SEND_STATUS from /dev/sdb
                          

                          I'd love to be wrong....

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            smolka_J @stephenw10
                            last edited by

                            @stephenw10 Looking at the same Redmine again it looks like Marcos M edited his first note recently in the last few days compared to the first several times I saw it there, now stating that it doesn't work as he first thought they found with the Linux version of it, so please disregard, will remove

                            1 Reply Last reply Reply Quote 1
                            • C Cabledude referenced this topic on
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.