Andrei Borzenkov wrote:
On Tue, Apr 14, 2015 at 2:48 PM, Per Jessen <per@computer.org> wrote:
On a server with root on NFS, looking at 'df' from the server, the root filesystem is full:
# df Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 1970540 124 1970416 1% /dev tmpfs 1973832 0 1973832 0% /dev/shm tmpfs 1973832 2896 1970936 1% /run 1.2.3.4:/srv/nfs/adenauer/root 52295928 52063800 232128 100% /
Doesn't seem to be very full though: # du -hsx /* 3.9M /bin 53M /boot 124K /dev 7.0M /etc 384M /home 522M /lib 82M /opt 200K /root 2.7M /run 7.8M /sbin 0 /selinux 1000M /srv 0 /sys 620K /tmp 1.7G /usr 2.5G /var
# du -hsx / 6.2G /
On the NFS server: # du -hsx /srv/nfs/adenauer 6.2G /srv/nfs/adenauer
I've looked for large open files, can't find any. Does this ring a bell with anyone?
Files deleted but kept open? du shows what is visible in directory structure.
Right, that's what I thought too - I didn't see any with lsof, then I went for the big hammer and rebooted. After the reboot, filesystem is still virtually full.
mkfile 50G /foo sleep 10000000 < /foo & rm /foo
Yup.
is probable sequence of events. And you can even write into this invisible file and grow it ...
Yeah, as long as it referenced. I should be able to find it with lsof though? Also, it couldn't have survived the reboot. -- Per Jessen, Zürich (18.9°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org