How To Create CIFS Share In SVM – Netapp Cluster Mode

In this post, we will learn how to create a CIFS share in the NetApp cluster mode. In Netapp Cluster Mode CIFS share belongs to an SVM (Storage Virtual Machine). End-User uses CIFS share for various purposes in Windows Server such as reading and writing.

A user can access a CIFS share in any windows machine. However, Netapp admin can restrict permission for users and groups from share level or from security level.

How To Create CIFS Share In NetApp Cluster Mode
How To Create CIFS Share In NetApp Cluster Mode

Steps To Create CIFS Share In NetApp SVM

In order to create a CIFS share in SVM, we need to perform two steps. The first step is to create a volume with a security style NTFS. The second step is to use the newly created volume and create a share.

We are assuming you already have a CIFS server in the SVM. If not then you need to set up a CIFS server and then proceed with the below steps.

We can use On Command System Manager or Command-Line to create CIFS share in SVM. In this blog, we will use the Command line approach. You can follow our post on creating an NFS share in NetApp SVM.

You can also watch the below video from sannasTechie to see complete steps for CIFS share creation. Subscribe to Channel for more such videos.

Step 1: Create Volume In SVM Netapp Cluster Mode

The volume belongs to an SVM and we can use both command line and On-Command System Manager to create it. In this case, we will create a volume named vol1 of size 30MB from aggregate aggr01 in SVM SVM1.

We need to select a security style NTFS. As we are using the command line to create a volume we need to provide a junction path. You must use data aggregate to create the volume.

volume create -vserver SVM1 -volume vol1 -size 30MB -aggregate aggr01 -security-style ntfs -junction-path /vol1

In the above command, the junction path is /vol1 where / is the junction path for the root volume of SVM. If you are using on command system manager there is no need to provide any junction path. All newly created volumes are mounted over root volume.

Step 2: Create CIFS Share Using Volume

In this case, we will create the CIFS share with the name as share01. While creating share we need to mention an SVM name and a junction path. We need to use the below command for CIFS share creation using a volume.

vserver cifs share create -vserver SVM1 -share-name share01 -path /vol1

Step 3: Create CIFS Share Using Qtree

We can also create a CIFS share using Qtree but first, we need to create a qtree. Qtrees are logical partitions of volumes. Hence, we can create qtree over a volume. Execute the below command to create a qtree.

cluster1::> volume qtree create -vserver SVM1 -volume vol1 -qtree qtree1 -security-style ntfs

Once you create Qtree you need the qtree path. You can use the below command to get the qtree path.

qtree show -qtree-name qtree1 -vserver SVM1 -fields path

After getting the qtree path from the output of the above command, use the below command for CIFS share creation from qtree.

vserver CIFS share create -vserver SVM1 -share-name share01 -path /vol1/qtree

Now, we need to use the UNC path to access the CIFS share in a windows system. Below is an example of the UNC Path.

\\FQDN_Of_Lif_Or_SVMIpaddress\Share_name


Now I would like to highlight here that whatever share we create the default permission is full_control for Everyone. In order to achieve security compliance in your environment, you need to modify it.

You have to provide permission to necessary users before sharing the UNC path to the end-user.

Check out the post on ISCSI LUN creation in NetApp SVM.

Leave a Reply

Your email address will not be published. Required fields are marked *