Unable to delete Snapshot because of nested FlexClone
Applies to
ONTAP 9
Issue
- Snapshot delete fails with error message:
Snapshot copy "snapshot_name" of volume "volume_name" in Vserver "svm_name" 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.
- Volume clone split fails due to locked Snapshots:
cluster::> volume clone split start -flexclone volume_name -vserver svm_name
Warning: Are you sure you want to split clone volume volume_name in Vserver svm_name ? {y|n}: y
[Job #######] Job is queued: Split volume_name.
cluster::> job show -id ####### -instance
Job ID: #######
Owning Vserver: REDACTED
Name: Clone Split
Description: Split volume_name
Priority: High
Node: REDACTED
Affinity: Cluster
Schedule: @now
Queue Time: 12/04 09:52:10
Start Time: 12/04 09:52:10
End Time: 12/04 09:52:23
Drop-dead Time: -
Restarted?: false
State: Failure
Status Code: 1
Completion String: Volume has locked snapshots
Job Type: VOL_CLONE_SPLIT
Job Category: VOPL
UUID: REDACTED
Execution Progress: Complete: Volume has locked snapshots [1]
User Name: REDACTED