CIFS Share Creation in Netapp | SMB Share & Volume Creation in Netapp

CIFS SHARE CREATION IN NETAPP STORAGE ARRAY


Introduction


The Common Internet File System (CIFS) is the standard way that computer users share files across corporate intranets and the Internet. A Cifs share works on the Server Message Block (SMB) protocolCIFS is a native file-sharing protocol in Windows 2000.

The Server Message Block (SMB) Protocol is a network file sharing protocol, and as implemented in Microsoft Windows is known as Microsoft SMB Protocol. The set of message packets that defines a particular version of the protocol is called a dialect.

The Server Message Block (SMB) protocol is a network file sharing protocol that allows applications on a computer to read and write to files and to request services from server programs in a computer network. The SMB protocol can be used on top of its TCP/IP protocol or other network protocols.

TCP port 445 rather than TCP port 139 have to be enable to access the CIFS share throught the SMB Protocol.

Procedure to Create a CIFS Share


Login to the filer with the Putty session 

To check the available space in the aggregate, run the command 

Netapp> df -Ah

Aggregate_in_Netapp_filer
Aggregate List

To create a volume of size 10 GB, run the command 

Netapp> vol create /vol/CIFS_TEST/ -s volume agg2 10g

Volume_creation
Volume creation

NOTE: By default while creating a Volume a snapshot will reserve the 5 % space of a volume size.

To check the snapshot  details, run the command

Netapp> snap reserve CIFS_TEST

Snap_Reserve_details
Snap Reserve

If you don’t need a snapshot for particular volume, we can change to zero by using the command

Netapp> snap reserve CIFS_TEST 0

Snap_Reserve_details
Snap Reserve

To check the snap schedules are created, run the command

 Netapp>  snap sched CIFS_TEST

Snap_Schedule_details
Snap Schedule

To change to zero, run the command 

Netapp> snap sched CIFS_TEST 0 0 0

Snap_Schedules
Snap Schedules

To create a Qtree, run the command

Netapp> qtree create /vol/CIFS_TEST/test_qtree

Qtree_Creation_in_Netapp
Qtree Creation

To check the Qtree security, run the command

Netapp> qtree status CIFS_TEST

Qtree_Status_in_Netapp
Qtree Status

To change the volume security style to NTFS, run the command

Netapp> qtree security /vol/CIFS_TEST ntfs

Volume_security
Volume Security

To check the security status, run the command

Netapp> qtree status CIFS_TEST

Qtree_Security_status
Qtree Security Status

To change the Qtree security style to NTFS, run the command

Netapp> qtree security /vol/CIFS_TEST/test_qtree ntfs

Qtree_Security_status
Qtree Security status

To check the Qtree status, run the command

Netapp> qtree status CIFS_TEST

Qtree_Security_status
Qtree Security status

To create a cifs share, run the command

Netapp> cifs shares -add test_share /vol/CIFS_TEST/test_qtree

Cifs_share_creation
Cifs share creation

To provide user access to the cifs share as full control, run the command

Netapp> cifs access "test_share" EMP ID full control

Cifs_share_access
Cifs share access

To provide user access to the cifs share by GUI,  go to the filer IP using the run option

GUI_Cifs_share_access
GUI Cifs Share access

Right click on the created share and select the properties option.

GUI_Cifs_share_access
GUI Cifs share access

Go to security tab and click on edit option

security_tab
Security tab


Click on add option to entry the user or groups id details to access the share and at last click on OK. 

GUI_cifs_share_access
Access page




Share this

Related Posts

Previous
Next Post »

1 comments:

comments
May 4, 2017 at 10:51 AM delete

very informative article, thanks for sharing knowledge.
Sarkari-Naukri-Results-info

Reply
avatar