Tatyaso wrote:
> What is the default NFS server version available on Solaris 10?
> When I do rpcinfo it shows version3. Is it correct? How can I have NFS v4 on 
> Solaris?
> # rpcinfo -u localhost  nfs
> program 100003 version 2 ready and waiting
> program 100003 version 3 ready and waiting
>
> --
> Tatyaso
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> opensolaris-discuss at opensolaris.org
>   



Tatyaso,

NFS questions should go to nfs-discuss. I'm going to push the discussion 
there and BCC opensolaris-discuss.

Anyway, NFSv4 is the default version on both Solaris 10 and OpenSolaris.

Here is some interesting data:


[tdh at ultralord ~]> rpcinfo -u localhost nfs
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
[tdh at ultralord ~]> rpcinfo localhost | grep 100003
    100003    2    udp6      ::.8.1              nfs        1
    100003    3    udp6      ::.8.1              nfs        1
    100003    2    tcp6      ::.8.1              nfs        1
    100003    3    tcp6      ::.8.1              nfs        1
    100003    4    tcp6      ::.8.1              nfs        1
    100003    2    udp       0.0.0.0.8.1         nfs        1
    100003    3    udp       0.0.0.0.8.1         nfs        1
    100003    2    tcp       0.0.0.0.8.1         nfs        1
    100003    3    tcp       0.0.0.0.8.1         nfs        1
    100003    4    tcp       0.0.0.0.8.1         nfs        1
[tdh at ultralord ~]> rpcinfo -s | grep nfs
    100003  4,3,2     tcp,udp,tcp6,udp6                nfs         1
    100227  3,2       tcp,udp,tcp6,udp6                nfs_acl     1
[tdh at ultralord ~]> rpcinfo -T tcp localhost 100003
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
program 100003 version 4 ready and waiting
[tdh at ultralord ~]> rpcinfo -T tcp localhost nfs
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
program 100003 version 4 ready and waiting

I think that you have found a bug with the 'rpcinfo -u'. You should file 
a bug report.

Another area for you to look at would be /etc/default/nfs, it would tell 
you the min and
max version of NFS on your system:
#NFS_SERVER_VERSMIN=2
#NFS_SERVER_VERSMAX=4
#NFS_CLIENT_VERSMIN=2
#NFS_CLIENT_VERSMAX=4

Enjoy,
Tom



Reply via email to