cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup 7.x inventory robot - old tapes doesn't delete.

b1gg1e
Level 4
Partner Accredited

Hello.

I have IBM TS3200 tape library and netbackup 7.6.0.1 (both master and media).

 

Last year one of our employee manually removed some tapes (without data I think) from TS3200.

But in Netbackup this tapes are still in Netbackup pool (default pool after inventory made with default parameters).

The parameters of these tapes are:

Media Type:                     HCART3                              
Volume Group:                   ---                                 
Application:                    Netbackup                           
Media Flags:                    1                                   
Description:                    Added by Media Manager              
Barcode:                        A0004L2                            
Partner Barcode:                --------                            
Last Write Host:                NONE                                
Created:                        08/13/2014 14:16                    
Time Assigned:                  -                                   
First Mount:                    -                                   
Last Mount:                     -                                   
Volume Expiration:              -                                   
Data Expiration:                -                                   
Last Written:                   -                                   
Last Read:                      -                                   
Robot Type:                     NONE                                
Robot Control Host:             -                                   
Robot Number:                   -                                   
Slot:                           -                                   
Side/Face:                      -                                   
Cleanings Remaining:            -                                   
Number of Mounts:               0                                   
Maximum Mounts Allowed:         0                                   
Media Status:                   ACTIVE                              
Kilobytes:                      0                                   
Images:                         0                                   
Valid Images:                   0                                   
Retention Period:               -                                   
Number of Restores:             0                                   
Optical Header Size Bytes:      0                                   
Optical Sector Size Bytes:      0                                   
Optical Partition Size Bytes:   0                                   
Last Header Offset:             0                                   
Adamm Guid:                     00000000-0000-0000-0000-000000000000
Rsm Guid:                       00000000-0000-0000-0000-000000000000
Origin Host:                    NONE                                
Master Host:                    netbackup-master01                      
Server Group:                   -                                   
Upgrade Conflicts Flag:                                             
Pool Number:                    1                                   
Volume Pool:                    NetBackup                           
Previous Pool Name:             -                                   
Vault Flags:                    -                                   
Vault Container:                -                                   
Vault Name:                     -                                   
Vault Slot:                     -                                   
Session ID:                     -                                   
Date Vaulted:                   -                                   
Return Date:                    -                                   
Media on Hold:                  0

 

Inventory robot doesn't delete them.

So how can I correctly delete them and why inventory didn't delete them. There was no mount and data at all..

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Once a tape is added to NBU, it never gets deleted automatically. You need to delete it when the tape is permanently removed from the environment. Robot Inventory will merely update the location of the tapes. Tapes no longer in the robot will have location of NONE. Lots of users take tapes offsite after backup to a Vault for safekeeping. No way you want Inventory to delete knowledge of those tapes!

View solution in original post

3 REPLIES 3

Nicolai
Moderator
Moderator
Partner    VIP   

Netbackup does not think the tape is in a robot (robot type NONE).

Tape does not contain any backups since volume pool is "---" (also known as scratch)

Volume Group:                   ---        

Robot Type:                     NONE       

In the Netbackup GUI under media managem -  A0004L2 -  right click and delete volume.

mph999
Level 6
Employee Accredited

Further to Nicolais correct answer ...

The volume group is a logical representation of location.  It looks something like this :

000_00000_TLD

This would represent robot TLD(0) ...

and this ...

000_00001_TLD would represent robot TLD(1)

The first three digits are a bit harder, but not much ...  they represent the 'instance' of different density (hcart, hcart2 etc )

So if I first configre with only hcart tapes/ drives on robot 0 I will have 

000_00000_TLD (hcart)

If I then add an hcart2 drive, and tapes I will have 

001_00000_TLD - (some other density other than what was 000_00000_TLD)

So it shows the number of different densities, but not what they are ...

So on my system the two vol pools represent hcart and hcart2, but on Nicolais system, he may have 4mm and DLT, but this would lead to the same two volume groups.

Helpfully, the vol pool --- means none robotic and you can have others that you name yourself if you use Vault.

Sometimes things can get a bit mixed up with vol groups (usually only if you fiddle and force things) eg. change the density of a tape with the vmchange command.  Simply making the tapes 'NONE' robotic and a reinventory usually sorts things out.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Once a tape is added to NBU, it never gets deleted automatically. You need to delete it when the tape is permanently removed from the environment. Robot Inventory will merely update the location of the tapes. Tapes no longer in the robot will have location of NONE. Lots of users take tapes offsite after backup to a Vault for safekeeping. No way you want Inventory to delete knowledge of those tapes!