Unix df not updating avatar datinghomes com
Sometimes, application users are moving/deleting large log files and still wont be able to reclaim space on mount point.In this troubleshooting guide, I will walk you through steps which will help you to reclaim space on disk after deleting files.ow do I check free disk space in Linux or UNIX operating system?
Visit Stack Exchange Dealing with old Cent OS 5.6 box, with no lvm setup, my root file system / is full, I have cleared many old log files and application files that I don't need, which was more then 2 -5GB in size, however my system still reports that disk is full.
# lsof | grep log$ rsyslogd 2109 syslog 0u unix 0xffff88022fa230c /dev/log rsyslogd 2109 syslog 1w REG 252,6 62393 26 /var/log/syslog rsyslogd 2109 syslog 2w REG 252,6 113725 122 /var/log/rsyslogd 2109 syslog 3u unix 0xffff88022fa237 /var/spool/postfix/dev/log rsyslogd 2109 syslog 5w REG 252,6 65624 106 /var/log//usr/sbin 2129 root 2w REG 252,6 93602 38 /var/log/munin//usr/sbin 2129 root 4w REG 252,6 93602 38 /var/log/munin/...
If some files are deleted but still used by some process then it's space will not be released.
Then you cd into the problem child and repeat the process for all items in it.
To make this easy to spot the large items, we change the du slightly and couple it with a sort.