Hello everyone,
I am having an issue here with CentOS release 6.6 (Final) that shows all of the space used up, but I can't tell where the space went.
Seemingly I am using up 100%, according to
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_sugar-lv_root 50G 49G 0 100% /
So that's 49G out of 50G, fair enough, but when I try to see what exactly is being used (x to remove mounts):
du -xsh /*
1.8G /usr
2.0G /var
That's all, these are the 2 biggest directories, all others combined are under 1G.
Here is info on Disk /dev/mapper/vg_sugar-lv_root
, it does show close to 50G (this is a virtual machine):
fdisk -l
Disk /dev/mapper/vg_sugar-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Node count is at 7%:
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg_sugar-lv_root 3276800 200552 3076248 7% /
The system was rebooted several times, so any log files should've been deleted. I'd appreciate some tips in resolving this.
find / -xdev -type f -size +100M
returned only a single file. The problem is not in amount of large files, but that the space is hidden or used for something else, or not released.
du -ahx / | sort -rh | head -20
5.0G /
2.0G /var
1.8G /usr
1.1G /var/lib
945M /var/lib/mysql
909M /var/lib/mysql/sugarcrm
759M /var/www
745M /var/www/html
707M /root
672M /usr/lib64
642M /var/www/html/sugar
611M /usr/share
480M /var/lib/mysql/sugarcrm/emails_text.MYD
441M /lib
392M /lib/modules
228M /usr/lib