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

    How to delete logs?

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 4 Posters 16.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.
    • M
      msantamaria
      last edited by

      I have problem with the pfsense firewall, it was working correctly but now i have an error of out of space on disk. I dont know why the disk is full, but reading on this forum i see that some people that have the same problem just delete the logs.

      How i cant delete the logs ?  Is there any way to disable logs for avoid future problems?

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        The logs cannot fill up your disk, they're circular files that are stored in RAM. Some packages can fill your disk. To figure out where your disk space is being used, you can run du at the command line, such as:

        cd /
        du -hd1

        Then drill down into the directory where the majority of the disk space resides and run that again.

        1 Reply Last reply Reply Quote 0
        • M
          msantamaria
          last edited by

          the problem is that i get a message that said: " out of inodes " and the pfsense is not working.

          1 Reply Last reply Reply Quote 0
          • Cry HavokC
            Cry Havok
            last edited by

            That doesn't mean that the problem relates to logs. It may be related to a package you installed, but in neither thread you've got going have you given any details.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              As mentioned in the other thread you started, this could also be due to a failing hard drive.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • M
                msantamaria
                last edited by

                THANKS, I guess that the hd is failling. but i am want to be sure.

                There is any way to backup all the pfsense configurations and settings ? Then i can install the pfsense in a new drive and then restore all settings and configurations .. is this possible ?

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Diagnostics > Backup/Restore.

                  All you need is the config.xml. You can restore that to a new system and all is well.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • M
                    msantamaria
                    last edited by

                    This is using the web interface? because i cant access it :(

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      There are ways to get the config off a hard drive in that case, but none of them are simple.

                      If you still have network access, from the console you could scp /conf/config.xml  to some other box and get it there. If you boot from CD, you could attempt to mount the hard drive and copy the config to a remote system that way.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • M
                        msantamaria
                        last edited by

                        thanks i will try it!

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