How to find orphaned images on disk for netbackup? ( dedup disk or advanced disk full problem )

If you believe that the disk is too full that should be more than normally.(I had this problem on 3 netbackup 5220 appliance that version 2.5.2 and 2 windows media server that version 7.5.0.5, I found and deleted them,then 50TB space was freed from dedup disks of three apliances.) We need a bpimmedia list from the master server, and catalog lists from the deduplication media servers to compare and find out if there are orphaned images. Follow the steps below:

1) Identify the disk pool name and then collect NetBackup Image list from the Master Server:

For Windows master server:-

<install path>\veritas\Netbackup\bin\admincmd\bpimmedia -stype PureDisk -dp <POOLNAME> >c:\NBU_Images.txt

or for UNIX master server:-

/usr/openv/netbackup/bin/admincdmd/bpimmedia -stype PureDisk -dp <POOLNAME> >/tmp/NBU_Images.txt

 

2) Gather deduplication image list (replace “mediaservername” in the commands below with the actual media server name)

a) For Windows MSDP storage server:

Change to “<STORAGE_LOCATION>\databases\catalog” folder and run:

dir /b /s /a-d |findstr /vi “__” >c:\DEDUPE_IMAGES-mediaservername.txt

 b) For Unix MSDP storage server change to “<STORAGE_LOCATION>/databases/catalog” and run:

find -not -name “__*__*” -type f >/tmp/DEDUPE_IMAGES-mediaservername.txt

3) Compare output files NBU_Images.txt and DEDUPE_IMAGES.txt files.

If you find extra image names in NBU_Images.txt, so, you have orphaned images.

Create a technical case in my.symantec.com or contact me to delete these images.

Regards.

9 thoughts on “How to find orphaned images on disk for netbackup? ( dedup disk or advanced disk full problem )

    1. Hi,
      You can see puredisks names with “Netbackup Administration Console”, under “Media and Device Management” -> “Devices” -> “Disk Pools”
      or you can use
      nbdevquery -listdp -l
      command
      Regards.

  1. We deleted the orphaned images but space is not being reclaimed? How do we get the space back? The processqueue always is at busy status.

  2. Hi there,I check your blog named “How to find orphaned images on disk for netbackup? ( dedup disk or advanced disk full problem ) – System Articles” daily.Your style is awesome, keep doing what you’re doing!

  3. Wonderful blog you have here but I was wanting to know if you knew of any
    discussion boards that cover the same topics talked about here?
    I’d really like to be a part of online community where I can get advice from other knowledgeable people that
    share the same interest. If you have any suggestions, please let me know.
    Cheers!

  4. Hello,

    I have run the command :
    ○ /usr/openv/pdde/pdcr/bin/dedupecatutil –FORCE_DEDUPE_METADATA_CONSISTENCY –dry_run

    Ihave identify and check with the catalog and backlog the OrpahnImage, but the backupid i have of the Orphan Image is unknow by the system, for example :
    When i run this command :
    ○ nbstlutil –cancel backupid
    => result : “No entity was found”

    So how can i delete them ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.