跳转到主内容

SnapLock统一聚合如何适用于ONTAP 9.10.1及更高版本?

Views:
88
Visibility:
Public
Votes:
0
Category:
snaplock
Specialty:
dp
Last Updated:

适用场景

  • ONTAP 9.10.1及更高版本
  • SnapLock

问题解答

SnapLock统一聚合概述
  • SnapLock统一聚合是ONTAP 9 10.1及更高版本中的一项新功能。
  • SnapLock统一聚合可以在同一数据聚合中托管SnapLock Compliance、SnapLock Enterprise和非SnapLock卷。
  • 可以在集群中的任何数据聚合之间移动SnapLock卷和非SnapLock卷。

注意:要移动SnapLock卷,需要SnapLock审核卷和具有“SnapLock”角色的用户。有关详细信息、请参见归档和合规性指南。 

  • 升级到ONTAP 9 10.1及更高版本后、所有数据聚合都会自动成为SnapLock统一聚合。
新行为和日志记录
  • SnapLock类型(企业或合规性)不再在聚合级别设置、而是在创建卷时在卷级别设置。

::> volume create -volume volLock -aggregate aggr1 -size 20m -snaplock-type enterprise

  • 无法转换现有卷的SnapLock类型;但是,在ONTAP 9.1及更高版本中,可以使用与父卷不同的SnapLock类型创建FlexClone卷
  • 聚合的snaplock-type 字段 将始终反映聚合上托管的卷限制性最强的SnapLock类型。在聚合中创建的卷不会继承此属性。
    • 如果只有非SnapLock卷 、则聚合将报告SnapLock类型为"非SnapLock "。
    • 如果只有 SnapLock Enterprise卷(包含任意数量的非SnapLock卷)、则聚合将报告SnapLock类型为"Enterprise (企业)"。
    • 如果存在任何SnapLock Compliance卷(具有任意数量的其他卷类型)、则聚合将报告SnapLock类型为"Compliance (合规性)"。
    • 例如、以下聚合包含 SnapLock Enterprise卷、并且可能包含非SnapLock卷、但不包含任何SnapLock Compliance卷。

::> aggr show aggr1 -fields snaplock-type
aggregate snaplock-type
--------- -------------
aggr1    enterprise

  • 在包含SnapLock卷的聚合中创建非SnapLock卷时、ONTAP将发出警告、指出  除非在volume create 命令中明确配置、否则新卷将会是SnapLock卷。

::> volume create -volume volnew -aggregate aggr1 -size 20m

Warning: The volume is being created on a SnapLock aggregate, but the "snaplock-type" has not been specified. The volume will be created as a non-SnapLock volume.

  • 节点Shell命令aggr status  可报告聚合上存在的SnapLock Enterprise卷和合规卷的数量。

::> run -node cluster1-01 aggr status aggr1
      Aggr State       Status         Options
      aggr1 online      raid_dp, aggr      nosnap=on, snaplock_enterprise
                 64-bit

         Volumes: svm1_root, volLock, volnew
        SnapLock Compliance volume count: 0
        SnapLock Enterprise volume count: 1

         Plex /aggr1/plex0: online, normal, active
           RAID group /aggr1/plex0/rg0: normal, block checksums

追加信息

 

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.