I am confused. Our EC2 instance is showing that the disk is 98% full. The output from df -Th shows:
Filesystem Type Size Used Avail Use% Mounted on
/dev/xvda1 ext4 7.9G 7.7G 172M 98% /
But if I run ncdu to see where the space has gone it shows that only 1.4gb is used:
742.4MiB [##########] /usr
505.1MiB [###### ] /var
75.3MiB [# ] /lib
55.3MiB [ ] /opt
31.8MiB [ ] /boot
21.2MiB [ ] /lib64
18.8MiB [ ] /etc
11.4MiB [ ] /sbin
Doing a search for large files throws nothing up either.
I am confused as to where the other 5gb has gone and really need to recover it as the server is dangerously low on space.
Any idea where the space has gone and how I can recover it?