跳转到主内容

SMHV 会在删除失败后保留过期的备份快照

Views:
23
Visibility:
Public
Votes:
0
Category:
snapmanager-for-hyper-v
Specialty:
snapx
Last Updated:

适用于

  • SnapManager for Hyper-V (SMHV) 2.1.4
  • SnapDrive for Windows 7.1.5
  • ONTAP 9.5

问题

  • SMHV 保留了保留期内的备份快照。
  • SMHV 备份报告显示删除备份快照失败。

Processing deletion of backup snapshots..
Deleting snapshot: [Snapshot: <SNAPSHOT_NAME>,VolumeID: <VOLUME_ID>,Storage system: <SVM_NAME>,Volume: <VOLUME_NAME>,LunPath: <LUNPATH> ]
An error occurred while deleting snapshots <SNAPSHOT_NAME>

  • SnapDriveDebug.log 显示Remove-NcSnapshot命令因以下错误而失败。

General Verbose Command starts: Remove-NcSnapshot -Volume <VOLUME_NAME> -Snapshot <SNAPSHOT_NAME>
General Verbose ++PSHelper::RunCommand
General Critical Failed to run a command Remove-NcSnapshot.
 Exception : Message    : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Snapshot is in use
Source     : System.Management.Automation
StackTrace :    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
Data :
General Verbose --PSHelper::RunCommand

  • 由于snapshot-delete ONTAP 中的 ZAPI 而返回以下错误/mroot/etc/log/mlog/audit.log

<netapp version='1.7' xmlns='http://www.netapp.com/filer/admin' vfiler='<SVM_NAME>'><snapshot-delete>  <snapshot><SNAPSHOT_NAME></snapshot>  <volume><VOLUME_NAME></volume></snapshot-delete></netapp>  :: Pending
Snapshot copy "<SNAPSHOT_NAME>" of volume "<VOLUME_NAME>" on Vserver "<SVM_NAME>" has not expired or is locked. Use the "snapshot show -fields owners, expiry-time" command to view the expiry and lock status of the Snapshot copy. :: ONTAPI :: Error

 

 

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.