Can a volume clone Snapshot be deleted manually?
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