NFS
From Wikitech
(Difference between revisions)
m (guess about use of tcp instead of udp) |
|||
| Line 10: | Line 10: | ||
* bg - system can boot without mounting it - will retry in background | * bg - system can boot without mounting it - will retry in background | ||
* soft - return I/O error to caller on major NFS timeout instead of retrying indefinitely | * soft - return I/O error to caller on major NFS timeout instead of retrying indefinitely | ||
| − | * tcp - use tcp instead of the default of udp - ''Why?'' | + | * tcp - use tcp instead of the default of udp - ''Why?'' [http://nfs.sourceforge.net/nfs-howto/performance.html#NFS-TCP because this ?] |
* rsize, wsize of 8192 - better throughput (ike) | * rsize, wsize of 8192 - better throughput (ike) | ||
It seems that explicit version 2 breaks > 2GB file access, but implicit (default) version 2 does not. Need to do a bit more checking to see if it's not some of the other options causing it. | It seems that explicit version 2 breaks > 2GB file access, but implicit (default) version 2 does not. Need to do a bit more checking to see if it's not some of the other options causing it. | ||
Revision as of 15:58, 4 January 2005
zwinger.wikimedia.org:/home /home nfs defaults 0 0
vs.
zwinger.wikimedia.org:/home /home nfs bg,soft,tcp,rsize=8192,wsize=8192,timeo=14,nfsvers=3 0 0
- use version 3! Version 2 breaks > 2GB file access in some cases.
- bg - system can boot without mounting it - will retry in background
- soft - return I/O error to caller on major NFS timeout instead of retrying indefinitely
- tcp - use tcp instead of the default of udp - Why? because this ?
- rsize, wsize of 8192 - better throughput (ike)
It seems that explicit version 2 breaks > 2GB file access, but implicit (default) version 2 does not. Need to do a bit more checking to see if it's not some of the other options causing it.