SCSQL快照保留失败- SVserver中不存在卷
适用场景
- 适用于SCSQL的SnapCenter插件(SCSQL)
- SnapCenter服务器(SC)
问题描述
- 未按照SCSQL备份策略保留设置删除数据库卷上的快照。
- SnapCenter服务器上相应的SnapDriveSALDebug.log (SnapCenter 4.8及更低版本)或SMCoreService.log (SnapCenter 4.9及更高版本)显示、由于在SVM上未找到卷和快照、以及同一SVM具有不同IP地址的重复条目、Snapshot删除ZAPI失败:
Verbose SAL PID=[XXXX] TID=[XXXX] Command starts: Remove-NcSnapshot -Volume <VOLUME_NAME> -Snapshot <SNAPSHOT_NAME>
Verbose SAL PID=[XXXX] TID=[XXXX] [Resource pool] [SNAPSTAR_MODE] Get resource 'StorageSystemId: 'XXX.XX.XX.XXX', Controller: 'XXX.XX.XX.XXX'' for the identity 'Name : [XXX.XX.XX.XXX]
Aliases :
Alias : [<SVM_NAME>]
Alias : [<SVM_NAME>-mc]
IPAddresses :
Address : [XXX.XX.XX.XXX]
…
…
Verbose SAL PID=[XXXX] TID=[XXXX] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Volume "<VOLUME_NAME>" does not exist in Vserver "<SVM_NAME>". Reason: entry doesn't exist.
Verbose SAL PID=[XXXX] TID=[XXXX] No retry condition match found or max retry reached. Throwing error The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Volume "<VOLUME_NAME>" does not exist in Vserver "<SVM_NAME>". Reason: entry doesn't exist.
Verbose SAL PID=[XXXX] TID=[XXXX] --PSHelper::RunCommand
Critical SAL PID=[XXXX] TID=[XXXX] at SnapDrive.Nsf.Common.PowerShell.PSHelper.ProcessGenericException(Exception ex, String exceptionMessage, Int64 maxRetry, Int64 retry, Int32 retryInterval)
ell.PSHelper.RunCommand(Command command, IEnumerable input, Boolean isRetryAllowed)
napshotManagementServiceProvider.<>c__DisplayClass1_0.<RemoveSnapshot>b__0(String volume)
Verbose SAL PID=[XXXX] TID=[XXXX] ++RemoveSnapshotExtensions::GenerateRemoveSnapshotResult
Verbose SAL PID=[XXXX] TID=[XXXX] Remove Snapshot <SNAPSHOT_NAME> on <VOLUME_NAME> is failed. Error: 102