跳转到主内容

SC 无法在应用保留期间删除 Snapshot,出现删除 Snapshot 错误:102

Views:
22
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

适用于

SnapCenter Server (SC) 5.x 及更高版本

问题描述

  • SC 备份作业尝试应用保留并失败,错误为 Remove SnapShot failed Error: 102
  • <installation_path>\Program Files\NetApp\SnapCenter\SMCore\SnapDriveSALDebug.log 出现下列条目:
Command starts: Remove-NcSnapshot -Volume <volume> -Snapshot <snapshot_name>
Verbose SAL PID=[7152] TID=[4504] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: entry doesn't exist
Verbose SAL PID=[7152] TID=[4504] Remove Snapshot <snapshot_name> on <volume> is failed. Error: 102
  • 也可能在 <installation_path>\NetApp\SnapCenter\App_Data\log\SnapManagerWeb_<id>.log 中看到以下错误:

ERROR SnapManagerWeb_1576494 PID=[8592] TID=[70] ErrorCode (-1), ErrorMessage (A root ambient transaction was completed before the nested transaction. The nested transactions should be completed first.)
ERROR SnapManagerWeb_1576494 PID=[8592] TID=[70] System.Exception: Unable to delete the backup <backup_name>. Reason : A root ambient transaction was completed before the nested transaction. The nested transactions should be completed first.
  at SnapManager.SMSDAL.BackupDAL.DeleteMainBackups(List`1 backups, SmDeleteBackupsResponse response, SmDeleteBackupContext context, SmSnapManagerDBEntities entities, DbContext pluginSpecificEntities, String objectStorageBackupDeletionResult)
  at SnapManager.SMSDAL.BackupDAL.<>c__DisplayClass41_0.<DeleteBackup>b__0()
DEBUG SnapManagerWeb_1576494 PID=[8592] TID=[70] BackupBiz - DeleteBackup failed with error: The transaction has aborted.

  • 这些可以在备份作业期间记录数百次,并且备份作业的长度可以从几分钟的持续时间增加到几小时。

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.