Forum Discussion

Moley's avatar
Moley
Level 3
13 years ago

requested media id is not assigned to this host in the EMM database

Hi, I am having an issue where I can't delete a tape from Netbackup from the command line. You can delete OK from the GUI. I have a bulk load of tapes I want to delete from the command line. On...
  • Marianne's avatar
    13 years ago

    The message is 100% correct: "requested media id is not assigned ..."

    There is nothing to expire - bpexpdate expires images associated with media-id. Have another look at the output:

    Last Write Host:                NONE                               
    Created:                        12/29/2009 13:43                   
    Time Assigned:                  -                                  
    First Mount:                    01/07/2010 02:47                   
    Last Mount:                     09/16/2010 10:38                   
    Volume Expiration:              -                                  
    Data Expiration:                -                                 

     

    If you want to delete the media-id from EMM database, use vmdelete:

    Usage: vmdelete [-h <EMM_server> | <volume_database_host>]
               [-m <media_id> | -v <volume_group>]