Free space is always 0



  • 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?


  • Developer

    @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?



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



  • @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/*



  • 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


  • Moderator

    What does
    df -h
    and
    lsblk
    show you?


 

435
Online

5.4k
Users

12.6k
Topics

118.8k
Posts