SCSQL snapshot retention failure - volume does not exist in Vserver
Applies to
- SnapCenter Plugin for SCSQL (SCSQL)
- SnapCenter Server (SC)
Issue
- Snapshots are not being deleted on the database volumes per the SCSQL backup policy retention settings.
- The corresponding SnapDriveSALDebug.log (SnapCenter 4.8 and lower) or SMCoreService.log (SnapCenter 4.9 and higher) on the SnapCenter Server shows that the snapshot delete ZAPI failed as the volume and snapshot was not found on the SVM as well as duplicate entries for the same SVM with different IP addresses:
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