1

When I check the size of used space on my disk on a linux centos 7.4 for directory /logs.

I get as bellow (33M used) with df but with du I get 0:

        $ df -h /logs
        Filesystem      Size  Used Avail Use% Mounted on
        /dev/vdb1       9.4G   33M  9.3G   1% /logs

        But the directory is empty
        $  ll /logs
        total 0

        $ du -sh /logs
        0       /logs

        $ lsof | grep deleted 
          no output

I try to umount the /logs , also I try to reboot the VM, but the used size always 33M.

What should I do please?

kawther
  • 184
  • 2
  • 3
  • 16

0 Answers0