ONTAP Rest API Discussions

General ontap snapshot deletion and clone split question

kbhonagiri
427 Views

Hi Everyone,

 

I'm facing below issue when trying to delete a snapshot from which a volume is cloned. Is this because the cloned volume has not been split from source yet ? 

 

Exception in deleting snapshot:Job failed: Snapshot copy "<snaphostid>" of volume "<volumename>" in Vserver "<hostname>" has not expired or is locked. Use the "snapshot show -fields owners, expiry-time, snaplock-expiry-time" command to view the expiry and lock status of the Snapshot copy.

 

Kalyan

1 REPLY 1

jaikumar
217 Views

Correct that is the reason why you are not able to delete the snapshot. When we do a snapshot backed volume clone or even LUN clone , the cloned volume/lun and the snapshot same data blocks and only when we split the volume, the volume have independent data blocks (& frees up the snapshot).

Public