I believe that the problem started with a a container in Docker not properly set up - hence it started to store files to the OS disk not to the proper mount point - the disk filled up almost 100%.
I deleted the file(s) and thought everything was ok. This did not free up space. I decided to uninstall all containers and included also Docker. This did not solve the problem with the space.
To ensure I have enough space I have re-sized the partition. Now I have more space, but the "ghost" files are still stealing my space on the disk.
My rootfs is on an SSD disk.
I am using OpenMediaVault (OMV), based on Debian. I have addressed the issue in the OMV forum - but so far not being able to solve the storage issue. As a consequence I am bringing the issue here to ask if anyone would be so kind as to point me what to try in order to figure this out. I have spent a few weeks searching google and various forums, and have almost given up.
This is what I have done so far:
Code: Select all
root@OMV:/# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sdg1 91G 49G 38G 57% /
Code: Select all
root@OMV:/# du -xh --max-depth=1
3.7G ./var
4.0K ./lib64
5.4G ./home
8.0K ./media
936M ./usr
4.0K ./sharedfolders
7.3M ./etc
4.0K ./mnt
40K ./root
13M ./bin
4.0K ./opt
4.0K ./export
15M ./sbin
12K ./srv
950M ./lib
16K ./lost+found
131M ./boot
12G .
Code: Select all
root@OMV:/# ncdu -x
5.4 GiB [##########] /home
3.6 GiB [###### ] /var
949.5 MiB [# ] /lib
935.1 MiB [# ] /usr
130.7 MiB [ ] /boot
14.0 MiB [ ] /sbin
12.6 MiB [ ] /bin
7.3 MiB [ ] /etc
40.0 KiB [ ] /root
e 16.0 KiB [ ] /lost+found
12.0 KiB [ ] /srv
8.0 KiB [ ] /media
4.0 KiB [ ] /lib64
4.0 KiB [ ] /sharedfolders
e 4.0 KiB [ ] /opt
e 4.0 KiB [ ] /mnt
e 4.0 KiB [ ] /export
@ 0.0 B [ ] initrd.img.old
@ 0.0 B [ ] initrd.img
@ 0.0 B [ ] vmlinuz.old
@ 0.0 B [ ] vmlinuz
> 0.0 B [ ] /tmp
> 0.0 B [ ] /sys
> 0.0 B [ ] /run
> 0.0 B [ ] /proc
> 0.0 B [ ] /dev
Code: Select all
root@OMV:/# lsof +L1
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NLINK NODE NAME
php-fpm7. 1412 root 3u REG 0,40 0 0 35254 /tmp/.ZendSem.e6bLh3 (deleted)
php-fpm7. 6530 www-data 3u REG 0,40 0 0 35254 /tmp/.ZendSem.e6bLh3 (deleted)
php-fpm7. 6561 www-data 3u REG 0,40 0 0 35254 /tmp/.ZendSem.e6bLh3 (deleted)
php-fpm7. 24239 openmediavault-webgui 3u REG 0,40 0 0 35254 /tmp/.ZendSem.e6bLh3 (deleted)
Code: Select all
kill -9 1412
Any experts here that can point in the right direction? What can possibly take up space on my disk?