跳转到主内容

使用-snapsnapsnapsnap-expy-time改进程序创建SnapLock无法按预期运行

Views:
Visibility:
Public
Votes:
0
Category:
snaplock
Specialty:
DP
Last Updated:

适用场景

  • ONTAP 9.12.1 或更高版本
  • SnapLock
  • Snapshot副本锁定
  • 防篡改快照

问题描述

如果将 snapSnapshot create与-snap-expy-time结合使用,则+-个SnapLock  键无法按预期工作。

用法:

[-snaplock-expiry-time {MM/DD/YYYY HH:MM:SS [{+|-}hh:mm] | infinite}]

示例:

如果将可选的+或-修饰符与时间参数结合使用、则+修饰符似乎会从定义的HH:MM:SS中减去时间、而-修饰符则会增加时间。

示例:  

snapshot create "test_snapshot" -snaplock-expiry-time -5m -vserver svm1_cluster1 -snapshot test1' 

Error: "-5m" is an invalid value for field "-snaplock-expiry-time <"MM/DD/YYYYHH:MM:SS [{+|-}hh:mm] | infinite">"

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.