bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

df failure on large file systems


From: Martin Siegert
Subject: df failure on large file systems
Date: Thu, 23 Sep 2004 15:32:21 -0700
User-agent: Mutt/1.4.1i

Hello,

I am running into a problem with coreutils-5.2.1, more precisely with the
df executable. I have three machines, all NFS mount a filesystem from
the same NFS server. I compiled coreutils-5.2.1 on machine 2 and then
copied the so compiled df into that NFS mounted directory, i.e., I am
using exactly the same binary on all three machines.

Machine 1: linux-2.4.27 kernel, glibc-2.2.5
Machine 2: linux-2.6.8.1 kernel, glibc-2.2.5
Machine 3: linux-2.6.5 kernel, glibc-2.3.3

"nm df | grep statfs" returns
U statfs64@@GLIBC_2.1

Machine 1
=========
# ./df /home1
Filesystem           1K-blocks      Used Available Use% Mounted on
wgsfu-hpc:/home1     2285593600 1017240832 1268352768  45% /home1
# strace -f ./df /home1
...
statfs("/home1", {f_type="NFS_SUPER_MAGIC", f_bsize=32768, f_blocks=71424800, 
f_bfree=39608488, f_files=2232031, f_ffree=1238039, f_namelen=255}) = 0

Machine 2
=========
# ./df /home1
Filesystem           1K-blocks      Used Available Use% Mounted on
./df: `/home1': Value too large for defined data type
# strace -f ./df /home1
...
statfs("/home1", 0xbfffeee0)            = -1 EOVERFLOW (Value too large for 
defined data type)

Machine 3
=========
# ./df /home1
Filesystem           1K-blocks      Used Available Use% Mounted on
gridstore:/home1     2285593600 1020229888 1265363712  45% /home1
# strace -f ./df /home1
...
statfs64("/home1", 84, {f_type="NFS_SUPER_MAGIC", f_bsize=32768, 
f_blocks=71424800, f_bfree=39512000, f_bavail=39512000, f_files=2232031, 
f_ffree=1237840, f_fsid={0, 0}, f_namelen=255, f_frsize=32768}) = 0

I.e., it works on machine 1 and 3, but not on machine 2.
Is there a way to fix (additional configure options, etc.?) df on machine 2
(without upgrading glibc)?

Thanks in advance for any ideas, suggestions, etc!

Cheers,
Martin

-- 
Martin Siegert
Head, address@hidden
WestGrid Site Manager
Academic Computing Services                        phone: (604) 291-4691
Simon Fraser University                            fax:   (604) 291-4242
Burnaby, British Columbia                          email: address@hidden
Canada  V5A 1S6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]