Skip to main content
NetApp Knowledge Base

Is it possible to create one-way Snapmirror pair volumes on the existing vserver and allow access to each exclusively for different CIFS users respectively

Views:
16
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

ONTAP 9

Answer

Yes,to create one-way SnapMirror volumes "AAARW" and "BBBDP" and provide CIFS access exclusively to users existing vserver\AAAA and existing vserver\BBBB, follow the steps below:

  1. Create the "AAARW" volume with read-write access:

volume create -vserver existing vserver -volume AAARW -aggregate <AggregateName> -size <Size> -type RW

  1. Create the "BBBDP" volume with data protection type:

volume create -vserver existing vserver -volume BBBDP -aggregate <AggregateName> -size <Size> -type DP

  1. Create CIFS shares for each volume:

cifs share create -vserver existing vserver -share-name AAARW -path /AAARW
cifs share create -vserver existing vserver -share-name BBBDP -path /BBBDP

  1. Set share-level access permissions for each user:

vserver cifs share access-control create -vserver existing vserver -share AAARW -user-or-group existing vserver\AAAA -permission Full_Control
vserver cifs share access-control create -vserver existing vserver -share BBBDP -user-or-group existing vserver\BBBB -permission Full_Control

Note: Replace <existing vserver>,<AggregateName> and <Size> with the appropriate values for your environment. Adjust permissions as needed based on your operational requirements.

Additional Information

additionalInformation_text

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.