跳转到主内容

是否可以在卷到期之前删除SnapLock 卷中的文件?

Views:
Visibility:
Public
Votes:
0
Category:
snaplock<a>用于</a><a>翻译</a><a>的2009-183942 </a>
Specialty:
dp
Last Updated:

适用场景

  • ONTAP 9
  • SnapLock

问题解答

是在文件级别强制实施SnapLock 保留。卷的到期时间取决于其保留时间最长的文件。
 
示例:
文件"F12"可以删除、因为它已过期(2015)、即使卷到期时间为2025。
 

cluster1::> volume file retention show -vserver vs1 -file /vol/vol_slc/f12

                  Vserver : vs1
                    Path : /vol/nfs_slc/f12
      Retention Time (Secs from Epoch) : 1439111404
          Formatted Retention Time : Sun Aug  9 09:10:04 GMT 2015
        Is Retention Time Wraparound : false

              
cluster1::> volume snaplock show -vserver vs1 -volume vol_slc

         Vserver Name: vs1
          Volume Name: vol_slc
         SnapLock Type: compliance
   Minimum Retention Period: 1 years
   Default Retention Period: max
   Maximum Retention Period: 30 years
       Autocommit Period: 12 hours
Is Volume Append Mode Enabled: false
       Privileged Delete: permanently-disabled
          Expiry Time: Thu May 11 14:37:2 GMT 2025
 ............

追加信息

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.