跳转到主内容

是否可以在现有Vserver上创建单向SnapMirror对卷、并允许不同的CIFS用户分别单独访问每个卷

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

适用场景

ONTAP 9

问题解答

是、要创建单向SnapMirror卷"AAARW"和"BBBDBA"、并以独占方式为现有Vserver\AAAA现有Vserver\BBBB用户提供CIFS访问权限、请执行以下步骤:

  1. 创建具有读写访问权限的"AAARW"卷:

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

  1. 创建数据保护类型为:

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

  1. 为每个卷创建CIFS共享:

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

  1. 为每个用户设置共享级访问权限:

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

注意:将<existing vserver>、<AggregateName>和<Size>替换为适用于您环境的值。根据您的操作要求、根据需要调整权限。

追加信息

其他信息文本
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.