跳转到主内容

无法删除转储锁定的快照

Views:
79
Visibility:
Public
Votes:
1
Category:
ndmp
Specialty:
dp
Last Updated:

状态信息

适用场景

  • ONTAP 8.1x7- 模式
  • ONTAP 8.2x7- 模式
  • ONTAP 8.3x及更高版本
  • ONTAP 9x及更高版本
  • NDMP备份

问题描述

  • 当NDMP服务器调用转储来执行备份时、会创建一个"snapshot_for_backup"
  • snapshot_for_backup是一个一致性快照、在转储完成或中止之前、此快照将一直保持不变
  • snapshot_for_backup被转储锁定、并将保持锁定状态、直到转储完成或中止为止
  • 在正常操作下、在转储通知NDMP已完成或中止后、snapshot_for_backup将被删除
  • 在极少数情况下、NDMP服务器无法再与转储进行通信
  • 如果NDMP服务器与其关联转储会话断开连接、则尝试删除snapshot_for_backup时会生成错误:

Error: Snapshot copy [snapshot name] of volume [vol name] on Vserver [vserver name] has not expired or is locked.

  • 输出 vol snapshot show 表示"busy" true、"owners" dump:

::> vol snapshot show -vserver [vserver name] -volume [vol name] -snapshot snapshot* -fields create-time,owners,busy
vserver    volume snapshot                 create-time              busy owners
---------- ------ ------------------------ ------------------------ ---- ------
********** ****** snapshot_for_backup.2087 Sat Oct 26 04:23:08 2019 true dump

 

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.