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
Applies to
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:
- Create the "AAARW" volume with read-write access:
volume create -vserver existing vserver -volume AAARW -aggregate <AggregateName> -size <Size> -type RW
- Create the "BBBDP" volume with data protection type:
volume create -vserver existing vserver -volume BBBDP -aggregate <AggregateName> -size <Size> -type DP
- 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
- 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.