Skip to contentSkip to conversation

df: Value too large for defined data type

DISCUSSION Johan van den Dorpe 2 participants 2 messages Jul 6, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

Not quite sure is this is an NFS issue or a kernel one, so I thought I'd start here.

I'm seeing this error when trying to do a df when I have a large volume mounted via NFS (>1573005MB)

df: `/nfs/ps15/mnt/raid1': Value too large for defined data type

The error is occurring on clients running a vanilla 2.6.6 kernel, when the server is running a 2.4 kernel.

I've tried 2.4.20 + xfs patches + Trond's NFS_ALL patches, as well as vanilla 2.4.25 on the server, with the same results.

When running 2.6.6 on the server there is no problem.

I'm using a SATA RAID with an Infortrend controller, partitioning the array on the controller. It's connected to the host via Fibre Channel to a qla2300 card.

Signature · 9 lines
Johan van den Dorpe


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw

I had exactly the same problem (as it happens, on similar hardware) - which I thought was an NFS problem - see:

http://marc.theaimsgroup.com/?t=107762984200002&r=1&w=2

But it appears to be a 32/64bit statfs, 2.4/2.6 kernel, glibc version and XFS issue - I 'fixed' it by patching the XFS code in the 2.4 kernel - see:

http://marc.theaimsgroup.com/?t=107789989600008&r=1&w=2

However, since then, I believe, there have been postings about an NFS patch to fix statfs - see:

http://marc.theaimsgroup.com/?t=108004719500003&r=1&w=2

The problem goes away if you fill up the file system ...

James Pearson

Quoted 8 lines · Johan van den Dorpe

Hi,

Not quite sure is this is an NFS issue or a kernel one, so I thought I'd start here.

I'm seeing this error when trying to do a df when I have a large volume mounted via NFS (>1573005MB)

df: `/nfs/ps15/mnt/raid1': Value too large for defined data type

Quoted 8 lines

The error is occurring on clients running a vanilla 2.6.6 kernel, when the server is running a 2.4 kernel.

I've tried 2.4.20 + xfs patches + Trond's NFS_ALL patches, as well as vanilla 2.4.25 on the server, with the same results.

When running 2.6.6 on the server there is no problem.

I'm using a SATA RAID with an Infortrend controller, partitioning the array on the controller. It's connected to the host via Fibre Channel to a qla2300 card.

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs