Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

A snapshot locked by dump cannot be deleted

Views:
1,100
Visibility:
Public
Votes:
0
Category:
ndmp
Specialty:
dp
Last Updated:

Applies to

  • ONTAP 8.1x 7-mode
  • ONTAP 8.2x 7-mode
  • ONTAP 8.3x and later
  • ONTAP 9x and later
  • NDMP backup

Issue

  • When the NDMP server calls dump to perform a backup, a “snapshot_for_backup” is created
  • snapshot_for_backup is a consistency snapshot that remains in place until the dump completes or aborts
  • snapshot_for_backup is locked by dump, and will remain locked until the dump completes or aborts
  • In normal operation, snapshot_for_backup is deleted after dump notifies NDMP that it has completed, or aborted
  • In rare circmustances, the NDMP server can no longer communicate with dump
  • When the NDMP server has lost connection with its associated dump session, attempts to delete snapshot_for_backup generate the error:

Error: Snapshot copy [snapshot name] of volume [vol name] on Vserver [vserver name] has not expired or is locked.

  • Output of vol snapshot show indicates "busy" true, and "owners" dump:

::> vol snapshot show -vserver [vserver name] -volume [vol name] -snapshot snapshot* -fields create-time,owners,busy
vserver    volume snapshot                 create-time              busy owners
---------- ------ ------------------------ ------------------------ ---- ------
********** ****** snapshot_for_backup.2087 Sat Oct 26 04:23:08 2019 true dump

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support

 

  • Was this article helpful?