Identifying the orphan images stored on the lost disk volume
If a disk volume is lost and cannot be recovered, resulting in data loss, you can forcibly remove it from the MVG volume. This process also includes identifying and cleaning up the orphaned backup images that remain in the NetBackup catalog but are no longer accessible.
Ensure that all other disk volumes in the MVG configuration are functional and accessible.
To identify the orphan images stored on the lost disk volume
- Run the following command on the MVG server or a load balancing media server to list the images that are associated with the MVG volume:
/usr/openv/netbackup/bin/admincmd/bpstsinfo -ii -stype PureDisk -storage_server <mvg-server> -lsuname <mvg-volume>
- List the images from the NetBackup catalog.
Run the following command on the MVG server, a load-balanced media server, or the primary server. Use a sufficiently old start date to ensure that all backup images are included:
/usr/openv/netbackup/bin/admincmd/bpimmedia -d 01/01/2000 -stype PureDisk -dp <mvg-dp> -dv <mvg-volume>
- Identify the orphaned images.
Compare the results from the previous steps to identify the orphaned images that are present in the NetBackup catalog but missing from the MVG volume, and carefully verify the accuracy of the list.
- Run the following command to delete the orphan images from the NetBackup catalog.
/usr/openv/netbackup/bin/admincmd/bpexpdate -backupid <backup_id> -copy <copy_number> -nodelete -force -d 0 -force_not_complete -do_not_follow_dependee [-try_expire_worm_copy]
You can contact Cohesity Support for assistance with cleaning up orphaned images.