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

    external HDD for logs

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    3 Posts 3 Posters 338 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.
    • H
      hebein
      last edited by

      Hello,
      i have a netgate 5100 running and i am facing problems with disk space.
      is there a manual how to install an external drive, where i can write logs etc?
      i would like to run PFBlockerNG and ntopng, but i am facing severe space problems.
      at the moment 88% of disk space used...

      regards,
      gunther

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @hebein
        last edited by

        Hi,

        I'm using myself a Syno NAS, and have set it up to accept "syslogs" from my pfSense.
        Before that, I was using a 2008R2 Windows with the syslogger 'program 'Kiwi' (not sure if that still exists). The server was always on, so it worked well.
        I never used this to offload the logs from my pfSEnse, but to have a "unllimited" backup of my logs, so, when something goes really wrong, I could find on the NAS what happened, without relying on my pfSense.

        @hebein said in external HDD for logs:

        PFBlockerNG and ntopng

        Be aware.
        PFBlockerNG does not use the pfSense 'system' syslogger.
        It stores it logs here :

        d8304d41-d970-4407-9b6b-44e81f101da7-image.png

        and depending on your pfBlockerng settings, usage etc these files could be made smaller, or waaaay bigger.
        It is possible to 'map' this location to an external drive, which you have to mount during system startup.

        I've been using pfBlockerng for years, and I know how much space it needs, normally, not that many Gbs, but when I receive people that really want to visit every possible DNSBL known on earth, logs can grow fast.

        ntopng : now this is strange that you were not informed before.
        A 8 Gbytes drive is ok for a pfSense 'firmware' and a couple of ZFS pare partitions - not for disk space 'destroyers' like ntopng.
        I've waited and ordered this device : the 4100, the MAX version so I could try, ones in a while, a package like ntopng, as this is a package that produces a massive quantity of data == files.
        So, I have more then 100 Gbytes in my pfSense just to be ready. The MAX has also an SSD and not just a less capable eMMC flash drive (rather limited life span, allergic for many write cycles).

        AFAIK : ntopng uses its own log file folder, not the system's syslog.

        The good news : see this. Double, triple, fact check the type of drive you need, and get one.
        If you know how to turn a screw driver (don't use an electric one as soon in the guide !), you'll be good.
        Its even not needed to re install pfSense : you can mount the second M2SATA during boot (instruction are on the forum) or do what the guide says : install pfSense on it.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          You may have old ZFS BEs using disk space.

          But you should install an m.2 SATA drive in the 5100 if you need to log a lot to it.
          It's especially important on the 5100 because the eMMC failing due to drive writes can result it in not booting at all.

          Steve

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