Skip to main content
NetApp Knowledge Base

Unable to delete Snapshots on SnapLock volume Error "Snapshot operation not allowed on a read-only volume"

Views:
2,105
Visibility:
Public
Votes:
3
Category:
snaplock
Specialty:
DP
Last Updated:

Applies to

ONTAP 9.0 and above

Issue

  • Unable to delete Snapshot on SnapLock volume 

Cluster::> snapshot delete -vserver <vserver> -volume <volume> -snapshot <snapshot>
Warning: Deleting a Snapshot copy permanently removes any data that is stored only in that Snapshot copy. Are you sure you want to delete Snapshot copy
         "<snapshot>" for volume "<volume>" in Vserver "I<vserver>" ? {y|n}: y
Error: command failed: Failed to delete snapshot "<snapshot>" of volume "<volume>" on Vserver "<vserver>". Reason: Snapshot operation not allowed on a read-only volume.

  • Below error in snaplock-volume.xml proves that SnapLock state is inconsistent:

Error "Unknown...inconsistent SnapLock Snapshot state"

  • The below command shows the SnapLock volume in an Unknown...inconsistent state

::*> vol snaplock show -vserver <vserver> -volume * -fields expiry-time vserver volume expiry-time

 

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.

 

  • Was this article helpful?