Bernhard Voelker wrote:
On 04/14/2015 01:48 PM, Per Jessen 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?
reserved blocks? strange NFS appliance not reporting the blocks correctly?
Nope, plain linux NFSv3, host file system is JFS.
BTW: The number displayed by df(1) come from statfs(2):
$ strace -v -e statfs df / ...
Are the numbers okay there?
Yes, they look fine: # strace -v -e statfs64 df / statfs64("/", 84, {f_type="NFS_SUPER_MAGIC", f_bsize=8192, f_blocks=6536991, f_bfree=88599, f_bavail=88599, f_files=2062848, f_ffree=1452608, f_fsid={0, 0}, f_namelen=255, f_frsize=8192, f_flags=4128}) = 0 Filesystem 1K-blocks Used Available Use% Mounted on 10.42.8.254:/srv/nfs/adenauer/root 52295928 51587136 708792 99% / +++ exited with 0 +++ -- Per Jessen, Zürich (18.3°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org