SCSQL retention fails deleting a locked Snapshot on the Log Directory
Applies to
- SnapCenter Plug-in for SQL 5.0 and higher
- Use of Snapshot locking
Issue
During the Backup of an SQL instance, retention runs after the in-itself successful Backup has been finished and registered.
One part of the retention includes the Log Directory Snapshot retention, where the snapshot deletion fails on the older snapshot.
The error shown in the SMCore log is:
Log Backup retention failedwith error: Retention : Error: Remove Snapshot '<BACKUP_NAME>'failed on volume '<DB_SNAPINFO>'.Failed to delete Snapshotcopy "<BACKUP_NAME>" of volume "<DN_SNAPINFO>" on Vserver "<SVM_NAME>". Reason: Illegal operation on Snapshot locked by SnapLock.