Skip to main content
NetApp Knowledge Base

Can a volume clone Snapshot be deleted manually?

Views:
477
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cloud
Last Updated:

Applies to

  • ONTAP 9
  • Snapshot
  • Volume Clone

Answer

No, ONTAP creates a new Snapshot for the cloned volume. ONTAP will give an error, when trying to delete the cloned volumes Snapshot: 
 
cluster1::> snapshot delete -vserver svm1 -volume vol1 -snapshot clone_clonevol1.2022-06-30_055101.0
 
Warning: Deleting a Snapshot copy permanently removes data that is stored only in that Snapshot copy. Are you sure you want to delete Snapshot copy
"clone_clonevol1.2022-06-30_055101.0" for volume "clonevol1" in Vserver "svm1" ? {y|n}: y
 
Error: command failed: Snapshot copy "clone_clonevol1.2022-06-30_055101.0" of volume "clonevol1" in Vserver "svm1" has not  expired or is locked. Use the "snapshot show -fields owners, expiry-time" command to view the expiry and lock status of the  Snapshot copy.

Additional Information

additionalInformation_text

 

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.