Bug 155705

Summary: NFS can't write files > 2GB
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Till R. Dierkesmann <t.dierkesmann>
Component: NetworkAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: 32bit   
OS: SuSE Pro 9.2   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Till R. Dierkesmann 2006-03-07 10:03:21 UTC
We tried to write files > 2GB over NFS. This doesn't work.
Comment 1 Michael Gross 2006-03-07 10:28:18 UTC
Please be more verbose. Tell more about the configuration of the server machine, attach /etc/exports of the server, and tell how (which options) you mounted the share on the client. Also be more verbose about the error - which software did you use to write the file, this could easily be a limitation in the used software. Try creating a file using `dd'.
Comment 2 Till R. Dierkesmann 2006-03-07 11:39:01 UTC
We used FTP to the machine where the NFS was mounted and tried to transfer a file of 2.7 GB size. After 2 GB the process cancelled. Then we tried onto a local partition - and the whole file was transmitted correctly.
Entry in our exports:
/home   *.[ourdomain](rw) 10.10.50.0/255.255.255.0(rw)
The FTP server: vsftpd-2.0.1-2.2
But even locally I can't transmit a file > 2GB to the NFS partition.
Comment 3 Michael Gross 2006-03-08 11:36:13 UTC
Sorry but you're confusing me.
If you are storing the file to the local filesystem, how should this be connected to NFS and what about the FTP-session. What filesystem are you using for /home, where and what exactly (using which program) did you try to store how? What was the exact error?

> Then we tried onto a local partition - and the whole file was transmitted
> correctly.

> But even locally I can't transmit a file > 2GB to the NFS partition.

What do these contradictive statements mean?
Comment 4 Till R. Dierkesmann 2006-03-08 17:16:46 UTC
Confusing? Ok, here my whole process for finding the error reason: The first machine has the home directory mounted from another machine with NFS when a user logs in. There we tried to transfer the 2.7 GB file. It cut the file after 2GB.
Because of the incomplete FTP transfer I tried the transfer onto another machine with the same OS (and same patch level, of course), but no NFS shares. Here we could transfer the 2.7GB without any problem.
In both cases we used FTP for the transfer to the machines:
1st case: The destination hosts's home partition/directory is a NFS share
2nd case: The destination hosts's home partition/directory is locally on the destination host.
Finally I wanted to know whether the problem could be within a combination of FTP and NFS or caused by NFS only. Therefore I tried to copy a file > 2GB onto an NFS share. Even in this case the file was cut after 2GB. So the problem not being able to transfer files > 2GB must be within the NFS code. I don't know whether that is a client NFS or server NFS problem.
Comment 5 Michael Gross 2006-03-09 11:16:15 UTC
Before we continue: Which version of SUSE Linux are you using (which version does the NFS-Server run exactly)?
Comment 6 Till R. Dierkesmann 2006-03-10 11:34:12 UTC
SuSE 9.2:
- Kernel 2.6.8-24.19-default
- NFS-Server: nfs-server-2.2beta51-208.2
- NFS-Client: autofs-3.1.7-903

As you see, that are the current patches from SuSE/Novell.
Comment 7 Andreas Jaeger 2006-03-10 12:27:09 UTC
Please see:

http://www.suse.de/~aj/linux_lfs.html

You need NFSv3 for this.  Are you running v3 on both server and client?
Comment 8 Michael Gross 2006-03-13 09:49:47 UTC
OK this is a rather old version which is furthermore not supported by the openSUSE project (the first supported version is 10.0). You should consider updating your system to get LFS-support for your NFS-server.