Subscribe

CIFS shares mount point

 Hi I want to know how to provide the mount point name while creating a new cifs share .

 

Here is the existing cifs share  with path /vol/TaxApps_vol/Trustfile/TNFile2004

 

the volume name is /vol/TaxApps_vo . I want to know how this path was created (/vol/TaxApps_vol/Trustfile/TNFile200 ) while creating a new cifs share

 

filer1> cifs shares share

Name         Mount Point                       Description

----         -----------                       -----------

share   /vol/TaxApps_vol/Trustfile/TNFile2004

 

filer1> qtree status TaxApps_vol

Volume   Tree     Style Oplocks  Status

-------- -------- ----- -------- ---------

TaxApps_vol          ntfs  enabled  normal

 

 

Thanks

 

Re: CIFS shares mount point

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 ....Smiley Happy

 

Hope this helps you

 

 

 

Re: CIFS shares mount point

You question is not clear.

 

Are you asking how to create a share for a sub folder only? OR, are you asking how to create subfolders inside a share and then share it again with another share name?

 

Thanks,

 

Re: CIFS shares mount point

Thanks naveen

Re: CIFS shares mount point

My question was how to create shares for subfolders under a volume.

Re: CIFS shares mount point

Hi @gowtham

 

That is what i have explained you with an example. You can create a cifs share on sub folder level.

 

 

Naveenkumar pusuluru

Storage Lead | C3i Healthcare connections

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.