SC 无法在应用保留期间删除 Snapshot,出现删除 Snapshot 错误:102
适用于
问题描述
- 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.
- 这些可以在备份作业期间记录数百次,并且备份作业的长度可以从几分钟的持续时间增加到几小时。