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

    Clean up diskspace

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 8.2k 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.
    • R
      Ramosel
      last edited by

      Disclaimer:  Yes, I have searched the forum and haven't found any real answer.  I may not have searched the right parms but I tried.

      I run my home system off a small SSD (21GB), and yes I have TRIM enabled.  Right now space is not an issue (hovering at 38%).  When I've done the recent upgrades .1 > .2 > .3, I opted to use the "full backup" option as I upgraded.  I know the system jumped incrementally each time… not much, a few percent.  Everything seems stable at this point so I am just wondering what to look at as far as "best practices" for cleaning up disk space.  Don't really need to right now but would rather have an answer in hand before I really NEED it.

      Rick

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

        You can delete backups you don't need anymore under System > Firmware > Restore Full Backup.

        1 Reply Last reply Reply Quote 0
        • BBcan177B
          BBcan177 Moderator
          last edited by

          This shell command will report free space for the file system.

          **    df -h**

          This shell command will report the Directory Tree

          **  du -sk /***

          If you use Suricata, or want to use Suricata, I would suggest increasing the Size of the Drive or you won't be able to use its logging and file extraction system very well with a small drive.

          If you use Squid, you can also delete the cache or logs.

          "Experience is something you don't get until just after you need it."

          Website: http://pfBlockerNG.com
          Twitter: @BBcan177  #pfBlockerNG
          Reddit: https://www.reddit.com/r/pfBlockerNG/new/

          1 Reply Last reply Reply Quote 0
          • R
            Ramosel
            last edited by

            @viragomann:

            You can delete backups you don't need anymore under System > Firmware > Restore Full Backup.

            Thanks!!  I swear I looked at that screen 4 times and never saw the "delete" feature…  its a bitch getting old.

            Rick

            1 Reply Last reply Reply Quote 0
            • R
              Ramosel
              last edited by

              @BBcan17:

              This shell command will report free space for the file system.

              **    df -h**

              This shell command will report the Directory Tree

              **  du -sk /***

              If you use Suricata, or want to use Suricata, I would suggest increasing the Size of the Drive or you won't be able to use its logging and file extraction system very well with a small drive.

              If you use Squid, you can also delete the cache or logs.

              Awesome help, thanks.
              After some info swaps with Bill, I'm going to stay in the Snort camp until Suricata gets true inline features.  I've got the drive back to 20% with little or no effort so I think things are happy for now.

              Rick

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