Skip to main content
NetApp Knowledge Base

SCSQL retention fails deleting a locked Snapshot on the Log Directory

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

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.

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.