On Sun, 25 Nov 2007 15:26:27 +0100, ansar <ansar.basha.shaik at fmr.com> wrote:

> Hi,
> Can you help me about the issues I have NFS version 4
>
> What's the main diff b/n nfs version 4 and 3
> what's the advantage of version 4
> I am not able get the output from dfmounts and also not getting the logs 
> generated when I use "log=gloabl" option when I share a directory and mount 
> the directory on the client side. I am able to get the above information only 
> if I use "mount -o vers=3 ?? "  when I mount the shared folder
> So unless on the client side the user mounts it with version 3 (which is 
> optional, he can mount and access the shared files even with out vers=3 ) I 
> don't get logs generated on the nfs server which I can monitor. Is there a 
> option using which I can force the user on the client to use vers=3 argument 
> and with out using it he must not be able to mount the shared file-system or 
> Is there a way to make dfmounts and log feature work with vers=4. Any 
> suggestions would help me .

- for dfmounts(1M) and NFSv4:

<snip>
      less of file system type. However, the dfmounts command does
      not display the names of NFS Version 4 clients.
<snip end>

- for nfslogd(1M) and NFSv4:

<snip>
      NFS server logging is not supported on Solaris machines that
      are using NFS Version 4.
<snip end>

- for restricting to V3 mounts:

on the server edit /etc/default/nfs the line:

# Sets the maximum version of the NFS protocol that will be registered
# and offered by the server.  The default is 4.
#NFS_SERVER_VERSMAX=4

and change it to:
NFS_SERVER_VERSMAX=3

---
frankB





Reply via email to