/usr/bin/df reports false size on big NFS shares

From: Samuel Maftoul (maftoul@esrf.fr)
Date: Mon Jun 10 2002 - 09:54:32 EST


On several machines, with kernel 2.4.18 the same mounts reports different
sizes than with 2.4.4 :

-------------------------------------------------------------------------
maftoul@brick20:~ > uname -a
Linux brick20 2.4.4-4GB #6 Thu Jul 26 10:00:30 CEST 2001 i686 unknown

maftoul@brick20:~ > df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 13G 3.1G 9.5G 25% /
shmfs 517M 0 516M 0% /dev/shm
grey:/disk91 230G 127G 102G 56% /mntdirect/_disk91
yellow:/disk23 140G 100G 39G 72% /mntdirect/_disk23
violet:/data/id19/external
                      2.7T 1.1T 1.6T 38% /mntdirect/_data_id19_external
maftoul@brick20:~ >
-------------------------------------------------------------------------

maftoul@brick4:~ > uname -a
Linux brick4 2.4.18 #3 Thu Apr 4 17:04:20 CEST 2002 i686 unknown
maftoul@brick4:~ >

maftoul@brick4:~ > df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 4.7G 2.7G 2.0G 58% /
shmfs 125M 0 124M 0% /dev/shm
grey:/disk91 230G 127G 102G 56% /mntdirect/_disk91
yellow:/disk23 140G 100G 39G 72% /mntdirect/_disk23
violet:/data/id19/external
                      669G -7.0Z 1.6T 101% /mntdirect/_data_id19_external
-------------------------------------------------------------------------

See the violet one ?
The reported size is the same on every 2.4.18 machine using this mount I
saw.

I have to say that these mounts are mounted via the automounter.

Bug ? or what ?

It's all suse 7.2 , first one (2.4.4) is suse 7.2 base kernel, 2.4.18 is
our own (for firewire better firewire support).

If I send this mail to the wrong place ( which I doubt ) please, say it
so I'll try to report somewhere else.

Thanks
        Samuel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:18 EST