Re: [PATCH] nfs(5): Document the minorversion= mount option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 14, 2012, at 6:01 PM, "Myklebust, Trond" <Trond.Myklebust@xxxxxxxxxx> wrote:

>> -----Original Message-----
>> From: linux-nfs-owner@xxxxxxxxxxxxxxx [mailto:linux-nfs-
>> owner@xxxxxxxxxxxxxxx] On Behalf Of Chuck Lever
>> Sent: Wednesday, November 14, 2012 5:39 PM
>> To: linux-nfs@xxxxxxxxxxxxxxx
>> Subject: [PATCH] nfs(5): Document the minorversion= mount option
>> 
>> Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
>> ---
>> 
>> Our pals on the Solaris team recently noticed that the minorversion= option
>> is not documented in nfs(5).  This is a first take, just to start the conversation.
>> I'm pretty sure I got the kernel version information wrong, for instance.
>> 
>> Any other comments?
> 
> You might want to note that it is deprecated in favour of the "vers=4.1" notation, and for that reason we might want to forgo documenting it altogether.

OK.  minorversion= is the only way to get NFSv4.1 on EL6-based distributions, isn't it?

By "deprecated" do you mean that you intend to remove it?

> 
>> utils/mount/nfs.man |   17 +++++++++++++++++
>> 1 files changed, 17 insertions(+), 0 deletions(-)
>> 
>> diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man index
>> c15de98..66198cc 100644
>> --- a/utils/mount/nfs.man
>> +++ b/utils/mount/nfs.man
>> @@ -777,6 +777,23 @@ so if this mount option is not specified, the NFS
>> version 4 client  uses the TCP protocol.
>> Refer to the TRANSPORT METHODS section for more details.
>> .TP 1.5i
>> +.BI minorversion= n
>> +Specifies the protocol minor version number.
>> +NFSv4 introduces "minor versioning," where NFS protocol enhancements
>> +can be introduced without bumping the NFS protocol version number.
>> +Before kernel 2.6.38, the minor version is always zero, and this option
>> +is not recognized.
>> +After this kernel, specifying "minorversion=1" enables a number of
>> +advanced features, such as NFSv4 sessions.
>> +.IP
>> +Recent kernels allow the minor version to be specified using the .B
>> +vers= option.
>> +For example, specifying
>> +.B vers=4.1
>> +is the same as specifying
>> +.BR vers=4,minorversion=1 .
>> +.TP 1.5i
>> .BI port= n
>> The numeric value of the server's NFS service port.
>> If the server's NFS service is not available on the specified port,
>> 
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the
>> body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at
>> http://vger.kernel.org/majordomo-info.html--
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com




--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux