Inconsistent or stale NetBackup snapshot catalog image for Replication Director

Article: 100023979
Last Published: 2015-06-15
Ratings: 0 0
Product(s): NetBackup & Alta Data Protection

Problem

NetBackup operations performed on a catalog image fail as there is no snapshot associated with that image. The following is a list of operations that fail:
  1. Replication fails with error 34.
  2. Backup From Snapshot, Index From Snapshot, Restore From Snapshot, and Browse operations fail with status code 4213 (Snapshot import failed) reported.

Error Message

The following are the bpfis error logs in the bpfis log folder when the operations fail:
15:41:07.523 [1431] <2> onlfi_vfms_logf: INF - snapshot services: ostfi:Mon May 18 2015 15:41:07.523215 <Thread id - 1> OST Library call failed with message (STS API sts_create_export failed with error code : 2060001)

...

COSTPlugin::importTreeNode - Could not import device[<ostfi><snapinst><type>CREATE_HANDLE</type><version>1.1</version>​​<RV>1.1</RV>​​<ds_mem_info><path>/test_san_vol4</path><src_volname>primary_filer:/test_san_vol4</src_volname>​​​<dir_path>INVALID_PATH</dir_path>​​<qtree>NOT_A_QTREE_PATH</qtree​>​<dsmem_path>primary_filer:/test_san_vol4/-</dsmem_path>​<snap_name>NBU_primary_filer_1548852015_05_13_11_56_07</snap_name>​<filer>primary_filer</filer>​​​<share_name>2FiNE]DzTRPx</share_name>​<storage_type>SAN</storage_type><lun_name>LUN14</lun_name></ds_mem_info><dataset name="NetBackup_11395584F93811E4B3A1B58EFA06168A_1_1" backup_id="8442"/><backup_version>1431498351</backup_version>​​<NBU_RECV_EXPORT_HOST>primary_filer</NBU_RECV_EXPORT_HOST>​<size_used>1617293312</size_used>​<snaptype>primary</snaptype></snapinst>]


The following entry appears in the NBU_Plugin error logs:
0 RESTORE :-368526448 65535   0 132903 2015/05/18 18:59:03 Clone creation failed : Error num -13021 and Reason Snapshot ' ‘NBU_primary_filer_1548852015_05_13_11_56_07’ was not found in volume 'test_san_vol4'

Cause

NetBackup Replication Director initiates a snapshot request for NetApp volumes based on the NetBackup policy configuration. The snapshots on the filer are associated with a corresponding image on NetBackup. These snapshots can be deleted manually or when the Snapshot Autodelete option is enabled on NetApp.

The Snapshot Autodelete option is enabled by default on NetApp volumes to reclaim storage space. To avoid catalog inconsistency for volumes that are protected by NetBackup, it is advisable to disable the Snapshot Autodelete option.

The following figure shows that Snapshot Autodelete is enabled on volume test_san_vol4:

The following log statement in the System Diagnostics log shows the deletion of the snapshot:

NetBackup is not aware about the deletion of this snapshot and the associated catalog image becomes stale. When any operation on this stale image is attempted, the operation fails due to the unavailability of that snapshot.

Solution

Disable the Snapshot Autodelete option for the volumes that are protected by NetBackup.

Reference:
Refer to  NetApp documentation to learn more about the Snapshot Autodelete option.

References

Etrack : 3788743

Was this content helpful?