Hi
File system size is 40 G
but i check for the size of files and folders it's not more han 7 GB what about 33g.Here unable to find which file/folder utilising more space. solution plz
Hidden files are lss than 500 mb
## df -h
/dev/mapper/local_data 40G 40G 228K 100% /local/data
but, after
## cd /local/data
## du -sh *
6.6G InCharge
0 containers
89M data-scratch
62M home
21M nagios.cache
0 opt
8.0K scratch
24K var
---------------------------
You probably have deleted files which are sill opened, therefore not flushed from the filesystem. Please have a read at https://access.redhat.com/solutions/2316 .
Thank you
@bchanakya You can check something for troubleshooting :
1. check for "open" deleted files using : lsof | grep deleted
you need to clear those files - example some log files are still kept in memory after deletion by a service - so found out and clear them. use kill -9 to remove the zombies. Restart the service if that is the culprit.
2. Use the link given by @Fran_Garcia to Truncate open files in process.
3. SOmetimes when you mount a dir on another FS which has some files - you may not be able to see those. Mount the FS somewhere else and see the unseen.
Refer the link for more details on the same : https://access.redhat.com/solutions/2794
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.