Skip to main content
NetApp Knowledge Base

Unable to delete volume with SnapLock-Expiry-Time set on snapshots

Views:
65
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • Non-SnapLock volumes with SnapLock-enabled snapshots

Issue

  • Attempts to delete a volume containing snapshots with a SnapLock-expiry-time result in an error:
Error: command failed: Failed to delete volume <volume_name> in Vserver <vserver_name>. The volume has one or more unexpired locked Snapshot copies.
  • Attempts to disable snapshot locking on the volume using the following command also fail:
Command Example:
 
vol modify -vserver <vserver_name> -volume <volume_name> -snapshot-locking-enabled false
 
Error Example:
 
command failed: Unable to set volume attribute "snapshot-locking-enabled" for volume <volume_name> on Vserver <vserver_name>. Reason: The specified volume operation did not succeed because the volume has unexpired locked snapshots.

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.