Forum Discussion

Kai2209's avatar
Kai2209
Level 4
7 years ago

How to delete images on a disk pool which is no longer accessible

Since we moved from a nbu 7.1 to 8.0 and another hardware we still do have a DataDomain with existing images which cannot be accessed within the new environment due to incompatibility issues. I woul...
  • Nicolai's avatar
    7 years ago

    I am not 100% sure on this so cation is needed - consider to open a support request with Veritas

    Before starting the operation obtain the media id for the now gone data domain. Media is @aaaa{something}.

    Try using the -nodelete to the bpexpdate command.  bpexpdate -nodelete will remove images from the catalog but not try to delete the image itself.

    See : https://www.veritas.com/support/en_US/article.000117798

    Subsequent you need to clean up the EMM table as it keep track of images it can't delete. The -fore option to nbdelete will remove the image from EMM, deletable or not.

    /usr/openv/netbackup/bin/admincmd/bpimage -cleanup -allclients
    /usr/openv/netbackup/bin/admincmd/nbdelete -allvolumes -force

    Verify afterwards clean up is complete by running 

    nbdelete -deletion_stats [-U] -media_id name (name is @aaaaa{something} again.

    Also check the image clean job in Netbackup.