From Fedora Project Wiki
(NFSv4Default)
 
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{admon/important | Comments and Explanations | The page source contains comments providing guidance to fill out each section.  They are invisible when viewing this page.  To read it, choose the "edit" link.<br/> '''Copy the source to a ''new page'' before making changes!  DO NOT EDIT THIS TEMPLATE FOR YOUR FEATURE.'''}}
<!-- All fields on this form are required to be accepted by FESCo.
We also request that you maintain the same order of sections so that all of the feature pages are uniform.  -->
<!-- The actual name of your feature page should look something like: Features/YourFeatureName.  This keeps all features in the same namespace -->
= NFSv4Default =
= NFSv4Default =


== Summary ==
== Summary ==
Changed the default NFS protocol to version 4.
Change the default NFS protocol to version 4.


== Owner ==
== Owner ==
* Name: [[steved | Steve Dickson]]
* Name: [[steved | Steve Dickson]]
* email: steved@redhat.com
* email: steved@redhat.com


== Current status ==
== Current status ==
* Targeted release: [[Releases/12 | Fedora 12 ]]  
* Targeted release: [[Releases/13 | Fedora 13 ]]  
* Last updated: July 15, 2009
* Last updated: 2010-01-18
* Percentage of completion: 30%
* Percentage of completion: 100%


<!-- CHANGE THE "FedoraVersion" TEMPLATES ABOVE TO PLAIN NUMBERS WHEN YOU COMPLETE YOUR PAGE. -->
With the current 2.6.33 Rawhide kernel and the nfs-utils-1.2.1-10 package the default NFS protocol is now version 4.


== Detailed Description ==
== Detailed Description ==
Line 35: Line 27:


== Benefit to Fedora ==
== Benefit to Fedora ==
One of the major benefit is performance. In version 4, the server
One of the major benefit is performance. In version 4, the server has state which means it can communicate with each NFS client. The means the server can issue things called delegations (or leases) for files allowing the v4 client to aggressively cache which drastically cuts down on network traffic between the client and server.   
now has state which means it can communicate with each
NFS client. The means the server can issue things called
delegations (or leases) for files allowing the v4 client
to aggressively cache which drastically cuts down on
network traffic between the client and server.   


There a number of other benefits which are documented in
There are a number of other benefits which are documented [http://www.iaps.com/NFSv4-new-features.html here].
the following link:
      http://www.iaps.com/NFSv4-new-features.html


== Scope ==
== Scope ==
There are basically three parts to make this happen:
There are basically three parts to make this happen:
1) Change the exports on the server so v3 and v2 exports
# Change the exports on the server so v3 and v2 exports can '''seamlessly''' be used by v4 clients.
  can *seamlessly* be used by v4 clients.  
# Change the mount command to start negotiating with the version 4 protocol and then fall back to version 3 if the server does not support v4 (similar to what happens today with version 3 and version 4)
# Introduce a NFS mount configuration file where users can define which protocol version should be negotiated.


2) Change the mount command to start negotiating with the
== How To Test ==
  version 4 protocol and then fall back to version 3 if
* The usual Connectathon tests will be used and well as any other filesystem tests that are available (such as fsx).
  the server does not support v4 (similar to what happens
  today with version 3 and version 4)
 
3) Introduce a NFS mount configuration file where users
  can define which protocol version should be negotiated.


== How To Test ==
The official link is at : http://www.connectathon.org/nfstests.html
The usual Connectathon tests will be used and well as anyother
My Git tree I used to keep updates are at: git://FedoraPeople.org/~steved/cthon04.git
filesystem tests that are available (such as fsx). 
From this tree I generally use the runcthon tests script which runs all
the tests simultaneously


== User Experience ==
== User Experience ==
Line 71: Line 53:
== Contingency Plan ==
== Contingency Plan ==
If the code is not ready, then the version 3 will still be the default.
If the code is not ready, then the version 3 will still be the default.


== Documentation ==
== Documentation ==
http://www.nfsv4.org/
* http://www.nfsv4.org/


== Release Notes ==
== Release Notes ==
*Fedora now use NFS version 4 as the default protocol version.
*Fedora now use NFS version 4 as the default protocol version.


Line 83: Line 63:
* See [[Talk:Features/NFSv4Default]]  
* See [[Talk:Features/NFSv4Default]]  


 
[[Category:FeatureAcceptedF13]]
[[Category:FeatureReadyForWrangler]]
<!-- When your feature page is completed and ready for review -->
<!-- When your feature page is completed and ready for review -->
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
<!-- Note that the current Feature guidelines require useful Scope and Test Plans at certain milestones; QA is responsible for checking these, and will change this category as needed. -->

Latest revision as of 15:26, 1 February 2010

NFSv4Default

Summary

Change the default NFS protocol to version 4.

Owner

Current status

  • Targeted release: Fedora 13
  • Last updated: 2010-01-18
  • Percentage of completion: 100%

With the current 2.6.33 Rawhide kernel and the nfs-utils-1.2.1-10 package the default NFS protocol is now version 4.

Detailed Description

The latest version of the NFS protocol is version 4, which was first introduced in Fedora F-2 (the first distro to have such support). The current default NFS version is version 3. Meaning when an simple NFS mount is done (i.e. mount server:/export /mnt) version 3 is the first protocol version that is tried.

With the proposed changes, version 4 would be tried first. If the server does not support version 4, the mount would then try version 3.

Benefit to Fedora

One of the major benefit is performance. In version 4, the server has state which means it can communicate with each NFS client. The means the server can issue things called delegations (or leases) for files allowing the v4 client to aggressively cache which drastically cuts down on network traffic between the client and server.

There are a number of other benefits which are documented here.

Scope

There are basically three parts to make this happen:

  1. Change the exports on the server so v3 and v2 exports can seamlessly be used by v4 clients.
  2. Change the mount command to start negotiating with the version 4 protocol and then fall back to version 3 if the server does not support v4 (similar to what happens today with version 3 and version 4)
  3. Introduce a NFS mount configuration file where users can define which protocol version should be negotiated.

How To Test

  • The usual Connectathon tests will be used and well as any other filesystem tests that are available (such as fsx).

The official link is at : http://www.connectathon.org/nfstests.html My Git tree I used to keep updates are at: git://FedoraPeople.org/~steved/cthon04.git From this tree I generally use the runcthon tests script which runs all the tests simultaneously

User Experience

This transition should be seamless to the users...

Dependencies

The only dependency is on the nfs-utils package.

Contingency Plan

If the code is not ready, then the version 3 will still be the default.

Documentation

Release Notes

  • Fedora now use NFS version 4 as the default protocol version.

Comments and Discussion