Ask The Experts

CIFS share creation

harshitmarwah

Hi All,

 

I got a requirement from customer to share create CIFS similar qtree configuration but i don't want keep the share on same volume as both are pointing 2 different environment.

 

Problem :

 

CIFS share requirement and customer wants the share to be created

 

Share 1 Prd env - \\SVM1\XYZ\Share1
Share 2 UAT env - \\SVM1\XYZ\Share2

 

I'm not sure how to provide solution to this request. Looking for some expert advices and help

1 ACCEPTED SOLUTION

Junction paths are the answer you seek. I agree with that answer.

View solution in original post

9 REPLIES 9

SpindleNinja

You can technically create two shares like that,  but you'd be crossing prod and uta.  

 

Would a flexclone of the prod volume be an option?   

Are Prod and UTA on two different networks? 

Can you break out UTA in to it's own seperate SVM?   

yes these are Database share. And prod (production) and UAT(test) are 2 different environment.

But are on same network. We have only 1 SVM for the domain the CIFS is needed. 

 

The only feasible which i can think of is create cifs share name "XYZ" and create 2 qtree on the volume so that customer see 2 shares different under the same folder.

 

But the concern here for me as Storage Admin is, if we keep PROD and UAT data on same volume. Then we won't be able  do a snap restore for the mentioned qtrees.

 

So that's why looking for some advice to make it work.

If they're two different environments, why the need to put these on the same volume?  Putting them together kinda nulls the "separate environments" thing, no?  

 

 

There's ways to work with the restoring.  SnapCenter,  Snaprestore file or just view the snapshot and copy out what you want.   

But I would still separate them out in to separate volumes.

 

 

 

 

 

 

Yea i also agree with you on putting then on different volume will the best practice. 

 

But how to meet the condition set by customer that they need both shares under common folders "XYZ".

 

Share needs to accessed as follows:

 

\\SVM1\XYZ\Share1

\\SVM1\XYZ\Share2

 

So i was confused how to create above shares on different volumes.

csalitros

If I understand your request correctly,  can you solve the problem with junction paths?

- Create a small XYZ volume, and share it out as "XYZ"

- Create Share1 volume, mount under XYZ

- Create Share2 volume, mount under XYZ

 

 

harshitmarwah

Yea this sounds a good option but i don't have test environment to check. Appologies for troubling more my next question is if i create an XYZ vol and create CIFS share on it.

 

Next i will create a Share 1  and Share 2  volumes and mount it on XYZ volume,  as its windows environment will the customer be able to view Share 1 and Share 2 volumes as folders  inside XYZ share and ACL will work as normal.

 

It would have been much easier in NFS and definitely worked in Linux. But i'm pretty new to Windows and CIFS!!

Junction paths are the answer you seek. I agree with that answer.

View solution in original post

Thanks it was so simple i was beating around the bush!!

Glad to help. Sometimes it is the simpliest answers which are best. 🙂

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public