Wednesday, September 9, 2009

Netapp Cannot Delete Snapshot Error LUN Clone

I ran into this error whilst trying to delete a snapshot created by SME. I found this page:

http://www.oneandonemakesthree.com/?q=node/50

Which states:

When you clone a LUN, you are left with snapshots that won't be deleted even after you delete the cloned LUN. These snapshots will start to consume huge amounts of space.

If you try to delete the snapshot, it will say that the snapshot is busy and can't be deleted. You have to delete any snapshots that were taken while that LUN clone existed as the LUN clone exists in those snapshots.

Issue the command:

lun snap usage volume_name snapshot_name

The will be the snapshot that is currently busy that you are trying to delete. The results of the command will be a list of snapshots that you have to delete before the busy snapshot can be deleted, and you can reclaim all that space.

No comments: