Skip to contentSkip to conversation

File size limitation in NFS

DISCUSSION Jim Deas 2 participants 2 messages Mar 19, 2003 – Apr 16, 2003 VFS

lore
Share & tools
lore

Jim Deas

author
#0 lore raw

I am using a stock 2.4.18 kernel (Redhat 8.0)and using NFS to share media files. These file can be 2+gig in size.
I have a problem with a 5.2G video file.
Using fopen64(filename,"rb"):
I can open the file on the local drive but over the NFS share the fopen64 fails.
Smaller files do work both nfs and local.
The ls command reports the proper files sizes from the nfs share (even the 5.2G file).
Where should I start looking? Can I assume the problem is in nfsd and nfs or is this a deeper problem in the vfs.

Regards,
J. Deas

#1 lore raw
Followup to:  <1048092610.9649.11.camel@archiveLinux>
By author:    Jim Deas <[email protected]>
In newsgroup: linux.dev.fs.devel
Quoted 10 lines

I am using a stock 2.4.18 kernel (Redhat 8.0)and using NFS to share media files. These file can be 2+gig in size. I have a problem with a 5.2G video file. Using fopen64(filename,"rb"): I can open the file on the local drive but over the NFS share the fopen64 fails. Smaller files do work both nfs and local. The ls command reports the proper files sizes from the nfs share (even the 5.2G file). Where should I start looking? Can I assume the problem is in nfsd and nfs or is this a deeper problem in the vfs.

Check to make sure you're using NFSv3 and that both the client and server support large files.

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64