Hi @gowtham
You can use either volume or qtree path for creating cifs shares. You can create a cifs share on folders under volumes also.
Please create a share at volume level than mount the share to any windows host and create subfolders on that share.
Please look at the below example.
I have created a volume name vol3 and i have created a share name of share3 on volume.
fas01> vol create vol3 aggr1 1g
Creation of volume 'vol3' with size 1g on containing aggregate
'aggr1' has completed.
fas01>
fas01>
fas01>
fas01> cifs shares -add share3 /vol/vol3
fas01>
fas01>
I have mounted that share on windows server and created a subfolder on that share called naveen.
I have entered into naveen folder and created one more folder called netapp. Now i closed that share and created a share on
fas01> priv set advanced
Warning: These advanced commands are potentially dangerous; use
them only when directed to do so by NetApp
personnel.
fas01*>
fas01*>
fas01*>
fas01*> ls /vol/vol3
.
..
Naveen
fas01*>
fas01*>
fas01*>
fas01*> ls /vol/vol3/Naveen
.
..
netapp
fas01*> ls /vol/vol3/Naveen/netapp
.
..
fas01*> ls /vol/vol3/Naveen/netapp
.
..
fas01*>
fas01*>
fas01*>
fas01*> cifs shares -add shareuser3 /vol/vol3/Naveen/netapp
The share name 'shareuser3' will not be accessible by some MS-DOS workstations
fas01*>
fas01> priv set advanced
Warning: These advanced commands are potentially dangerous; use
them only when directed to do so by NetApp
personnel.
fas01*>
fas01*>
fas01*>
fas01*> ls /vol/vol3
.
..
Naveen
fas01*>
fas01*>
fas01*>
fas01*> ls /vol/vol3/Naveen
.
..
netapp
fas01*> ls /vol/vol3/Naveen/netapp
.
..
fas01*> ls /vol/vol3/Naveen/netapp
.
..
fas01*>
fas01*>
fas01*>
fas01*> cifs shares -add shareuser3 /vol/vol3/Naveen/netapp
The share name 'shareuser3' will not be accessible by some MS-DOS workstations
fas01*>
fas01*> qtree status vol3
Volume Tree Style Oplocks Status
-------- -------- ----- -------- ---------
vol3 unix enabled normal
fas01*>
The fact is you can create a cifs shares on subfolder level also ....:)
Hope this helps you