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

    How do I delete the information on the hard disk ?

    Scheduled Pinned Locked Moved General pfSense Questions
    28 Posts 5 Posters 4.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.
    • D Offline
      doktornotor Banned
      last edited by

      @firefox:

      cant go to  squidGuard

      [2.1.5-RELEASE][admin@home.plex]/var(7): cd /squidGuard/
      /squidGuard/: No such file or directory.
      

      Yeah, layer 8 error…

      
      cd /var/squidGuard/
      
      
      1 Reply Last reply Reply Quote 0
      • K Offline
        kejianshi
        last edited by

        Where did the "var" go?

        1 Reply Last reply Reply Quote 0
        • F Offline
          firefox
          last edited by

          At first I did

          cd /var/squidGuard/
          

          it give me this

          /var/squidguard: Command not found.
          

          so i try this

          cd /var/
          

          and then i try```
          cd /squidGuard/

          it didnt work
          
          So I wrote down the command in the folder /var/
          

          ls -lhS

          
          Very strange
          I tried this order exactly it did not work before
          Here is outcome for ls -lhS in  /var/squidGuard/
          
          

          total 2
          drwxr-xr-x  2 proxy  proxy  512B Mar 16 00:00 log

          1 Reply Last reply Reply Quote 0
          • D Offline
            doktornotor Banned
            last edited by

            @firefox:

            At first I did

            cd /var/squidGuard/
            

            it give me this

            /var/squidguard: Command not found.
            

            Impossible. And kindly note that the filesystem is case sensitive. /var/squidGuard is NOT the same thing like /var/squidguard

            1 Reply Last reply Reply Quote 0
            • F Offline
              firefox
              last edited by

              Probably that's why it did not work
              In your latest post
              I just copied the command I pasted into the terminal
              Not like before

              1 Reply Last reply Reply Quote 0
              • K Offline
                kejianshi
                last edited by

                I wonder what would happen if you went to diagnostics > command prompt

                and entered:

                ls - l /var/squidguard

                ???

                1 Reply Last reply Reply Quote 0
                • F Offline
                  firefox
                  last edited by

                  $ ls - l /var/squidguard
                  ls: -: No such file or directory
                  ls: /var/squidguard: No such file or directory
                  ls: l: No such file or directory
                  

                  I guess it's like doktornotor
                  Said

                  /var/squidGuard is NOT the same thing like /var/squidguard

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    kejianshi
                    last edited by

                    OK - got that…

                    Have you tried using the correct case and spelling?

                    At this point you should know that right?

                    I'm not running squidguard or SquIdGuaRD or whatever, but if I were I bet that ls -l /var would show me the correct spelling of that...

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      doktornotor Banned
                      last edited by

                      There's also this wonderful Tab key…

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

                        Anyway you can see above that the directory is, oddly, called squidGuard and the file in it is <1K so not a problem.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kejianshi
                          last edited by

                          Well - lets see…

                          10GB squid cache + 6GB (thats my basic install with very few packages and no squid)

                          So 10 + 6 = 16GB

                          So what percent of 20 is 16?  like 80%  ?

                          And thats what I would expect if I was on your settings with squid and that drive.  If you get down to 5% or something then panic.

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            firefox
                            last edited by

                            Thank you all

                            If you get down to 5% or something then panic.

                            why ?
                            What is this signals ?

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kejianshi
                              last edited by

                              Well - If you have settings that SHOULD chew up 70% of your disk but instead all of your disk space is being used, then you have a problem.

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