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

    Free space is always 0

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    6
    647
    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
      Mike Fahey
      last edited by

      Fog version 1.5.2
      Ubuntu 18.04

      We have removed a bunch of images however from cli du -h and df -h report 0 free space.
      Is this a OS bug? I installed the os on a SSD then sym linked the old drives images folder to /images
      FOr example,

      /images -> /mnt/fogimages/images/

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        What does
        df -h
        and
        lsblk
        show you?

        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!

        1 Reply Last reply Reply Quote 0
        • M
          Mike Fahey
          last edited by

          I have removed a few hundred gig and it still always says 0. I tried rebooting too.

          :/# df -h
          Filesystem Size Used Avail Use% Mounted on
          udev 460M 0 460M 0% /dev
          tmpfs 98M 1.1M 97M 2% /run
          /dev/sda2 110G 6.7G 98G 7% /
          tmpfs 489M 0 489M 0% /dev/shm
          tmpfs 5.0M 0 5.0M 0% /run/lock
          tmpfs 489M 0 489M 0% /sys/fs/cgroup
          /dev/loop0 87M 87M 0 100% /snap/core/4917
          /dev/loop1 87M 87M 0 100% /snap/core/4830
          /dev/loop2 87M 87M 0 100% /snap/core/5145
          /dev/mapper/Notus-root 1.8T 1.8T 0 100% /mnt/fogimages
          tmpfs 98M 0 98M 0% /run/user/1000
          root@notus:/# lsblk
          NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
          loop0 7:0 0 86.9M 1 loop /snap/core/4917
          loop1 7:1 0 86.9M 1 loop /snap/core/4830
          loop2 7:2 0 87M 1 loop /snap/core/5145
          sda 8:0 0 111.8G 0 disk
          ├─sda1 8:1 0 1M 0 part
          └─sda2 8:2 0 111.8G 0 part /
          sdb 8:16 0 1.8T 0 disk
          ├─sdb1 8:17 0 243M 0 part
          ├─sdb2 8:18 0 1K 0 part
          └─sdb5 8:21 0 1.8T 0 part
          ├─Notus-root 253:0 0 1.8T 0 lvm /mnt/fogimages
          └─Notus-swap_1 253:1 0 2.9G 0 lvm
          sr0 11:0 1 1024M 0 rom

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Mike Fahey
            last edited by

            @mike-fahey said in Free space is always 0:

            /dev/mapper/Notus-root 1.8T 1.8T 0 100% /mnt/fogimages

            That says it’s full. Have you tried to clear out the images/dev directory? Also, what is the output of:
            du -sh /mnt/fogimages/images/*

            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 1
            • M
              Mike Fahey
              last edited by

              We have deleted multiple images from command line and I still do not have free space. It makes no sense.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @Mike-Fahey Can you post the commands used to delete and how you see that there is still no free space? If we don’t see what you are, how can we help you?

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post

                206

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project