How to enable nfs on Netapp Filer ?

In this article, I am going to show how to enable NFS service on Netapp.

Step 1 : First verify whether license is installed for NFS or not.

In my case I have added the license for both NFS and CIFS.

filer1> license
Serial Number: 4082368-50-8
Owner: filer1
Package           Type    Description           Expiration
—————– ——- ——————— ——————–
NFS               license NFS License           –
CIFS              license CIFS License          –

If it’s not already added you need to add the license using below command.

filer > license add LICENSE-NUMBER

Step 2 : After the verify whether nfs is running or not. I verified it was not running, I started it and after that it’s showing in “running” state.

filer1> nfs status
NFS server is NOT running.

filer1> nfs on
NFS server is running.

filer1> nfs status
NFS server is running.

Step 3 : After enabling the nfs service, I was able to mount the NFS share on client using NFSv3 option. It was not getting mounted with NFSv4.

If you look carefully in below output I have used nfs4 option to mount it with NFSv4 but it got mounted with NFSv3.

[root@nfsclient ~]# mount -t nfs4 /mnt

[root@nfsclient ~]# df -h /mnt
Filesystem                      Size  Used Avail Use% Mounted on   95M   64K   95M   1% /mnt

[root@nfsclient ~]# nfsstat -m
/mnt from
Flags: rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=,mountvers=3,mountport=4046,mountproto=udp,local_lock=none,addr=

Step 4 : To mount it with NFSv4 we need to enable one nfs option on filer.

a) After issuing below command you will find that it will show nfs.v4.enable in off status. Note : Below output is truncated to show only one option.

filer1> options nfs

nfs.v4.enable                off

b) We need to enable this to support NFSv4.

filer1> options nfs.v4.enable on

Step 5 : Now, I am able to mount it using NFSv4 option.

[root@nfsclient ~]# mount -t nfs4 /mnt

[root@nfsclient ~]# nfsstat -m
/mnt from
Flags: rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=,local_lock=none,addr=


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s