root fs is full while iSCSI mounted

General support questions
Post Reply
kiserp
Posts: 2
Joined: 2015/03/23 16:22:21

root fs is full while iSCSI mounted

Post by kiserp » 2015/04/13 06:02:12

CentOS release 6.6 (Final)
2.6.32-504.8.1.el6.x86_64
We had problem like this ones.

I've faced with that problem once again.
System blocks write operations, because disk is full, df shows its 100% used, but de facto it is not, there should be more than half free space.
After remount of iscsi disk df shows right disk usage.

Can someone tell me what should I do to avoid this problem henceforth?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: root fs is full while iSCSI mounted

Post by TrevorH » 2015/04/13 07:49:39

I moved your post to the CentOS 6 forum since it's clear from your kernel version that is what you are running.

You almost certainly have a process running that has deleted files but still has them open. When this happens the space used by those files is not released until the process closes them or ends. Running lsof | grep -i del should show you all files that are deleted but still open and you can use that list to discover the culprit.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply