• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

CentOS 7 Drive Full

Scheduled Pinned Locked Moved Solved
Linux Problems
3
23
12.0k
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
    Marcus Allen
    last edited by Jul 20, 2015, 6:57 PM

    Thats correct. Its a VM, I can increase the disk space if needed, however last week I was using about 11GB, so I didnt bump it up yet.

    W 1 Reply Last reply Jul 20, 2015, 7:04 PM Reply Quote 0
    • M
      Marcus Allen @Wayne Workman
      last edited by Jul 20, 2015, 7:04 PM

      @Wayne-Workman

      I’m bumping up to 64gb. This is a FOG Only server, no images are stored here.

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman @Marcus Allen
        last edited by Jul 20, 2015, 7:04 PM

        @Marcus-Allen I just tried this, it worked better than the other one:

        find . -type f -printf "%s\t%p\n" | sort -n | tail -10
        

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        M 1 Reply Last reply Jul 20, 2015, 7:07 PM Reply Quote 0
        • M
          Marcus Allen @Wayne Workman
          last edited by Jul 20, 2015, 7:07 PM

          @Wayne-Workman

          15773912        ./var/www/html/fog/service/ipxe/init.xz
          15775828        ./var/www/html/fog.prev/service/ipxe/init.xz
          18102074        ./boot/initramfs-3.10.0-229.el7.x86_64.img
          18179668        ./boot/initramfs-3.10.0-229.el7.x86_64kdump.img
          18874368        ./var/lib/mysql/ibdata1
          24281088        ./var/lib/rpm/Packages
          39835970        ./boot/initramfs-0-rescue-e248d8e9ddcb47a99cdece8ee62fabc5.img
          67108864        ./sys/devices/pci0000:00/0000:00:0f.0/resource1
          67108864        ./sys/devices/pci0000:00/0000:00:0f.0/resource1_wc
          140737486266368 ./proc/kcore
          
          
          W 2 Replies Last reply Jul 20, 2015, 7:08 PM Reply Quote 0
          • W
            Wayne Workman @Marcus Allen
            last edited by Jul 20, 2015, 7:08 PM

            @Marcus-Allen I think it’s obvious where your space went…

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            M 1 Reply Last reply Jul 20, 2015, 7:13 PM Reply Quote 0
            • M
              Marcus Allen @Wayne Workman
              last edited by Jul 20, 2015, 7:13 PM

              @Marcus-Allen said:

              proc/kcore

              Got it

              W 1 Reply Last reply Jul 20, 2015, 8:19 PM Reply Quote 0
              • W
                Wayne Workman @Marcus Allen
                last edited by Wayne Workman Jul 20, 2015, 2:19 PM Jul 20, 2015, 8:19 PM

                @Marcus-Allen Just following up on this thread, @Wolfbane8653 was correct (ofcourse).

                But, on Red-Hat based distros, the path to the logs is in

                /var/log/httpd

                I just had to deal with this issue at one of my sites… fog server had a 300GB Apache log file lol. I deleted the file and then restarted httpd. Some of the tables in the fog DB were marked as crashed as well. I had to issue a repair statement on those to fix them like this:

                mysqlcheck --repair --databases fog
                

                and then I gave mysql a restart and all was fine.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                M 1 Reply Last reply Jul 20, 2015, 8:25 PM Reply Quote 0
                • M
                  Marcus Allen @Wayne Workman
                  last edited by Jul 20, 2015, 8:25 PM

                  @Wayne-Workman said:

                  Sorry, I’m a touch confused now. My logs are empty in the /var/log/httpd directory. I even cleaned them out too just to be safe, still only about 10MB.

                  Or, were you just mentioning about the log files in general?

                  W 2 Replies Last reply Jul 20, 2015, 9:16 PM Reply Quote 0
                  • W
                    Wayne Workman @Marcus Allen
                    last edited by Wayne Workman Jul 20, 2015, 3:36 PM Jul 20, 2015, 9:16 PM

                    @Marcus-Allen There is a fog bug that causes the Apache log to grow out of control in some revisions. That’s what we’re talking about.

                    The /proc/kcore that you found earlier was also on the machine I fixed earlier. But then I noticed the 300 GB log file in /var/log/httpd

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wayne Workman @Marcus Allen
                      last edited by Wayne Workman Jul 20, 2015, 9:34 PM Jul 20, 2015, 9:40 PM

                      @Marcus-Allen said:

                      @Wayne-Workman

                      15773912        ./var/www/html/fog/service/ipxe/init.xz
                      15775828        ./var/www/html/fog.prev/service/ipxe/init.xz
                      18102074        ./boot/initramfs-3.10.0-229.el7.x86_64.img
                      18179668        ./boot/initramfs-3.10.0-229.el7.x86_64kdump.img
                      18874368        ./var/lib/mysql/ibdata1
                      24281088        ./var/lib/rpm/Packages
                      39835970        ./boot/initramfs-0-rescue-e248d8e9ddcb47a99cdece8ee62fabc5.img
                      67108864        ./sys/devices/pci0000:00/0000:00:0f.0/resource1
                      67108864        ./sys/devices/pci0000:00/0000:00:0f.0/resource1_wc
                      140737486266368 ./proc/kcore
                      
                      

                      Have you examined those two files? They are quite large.

                      67108864 ./sys/devices/pci0000:00/0000:00:0f.0/resource1
                      67108864 ./sys/devices/pci0000:00/0000:00:0f.0/resource1_wc

                      Also, if you issue this command from / (from root) it might find more.

                      cd /
                      find . -type f -printf "%s\t%p\n" | sort -n | tail -10
                      

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wayne Workman @Marcus Allen
                        last edited by Jul 21, 2015, 12:13 PM

                        @Marcus-Allen Look inside of /var/log I had some pretty big files in there too.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        2 / 2
                        • First post
                          22/23
                          Last post

                        219

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project