Forum Discussion

DK11's avatar
DK11
Level 0
7 years ago

bpexpdate changing media expiration - media id is not assigned to this host

Hi all,

I see that there are lots of post on using bpexpdate to changing media expiration using the following command:

bpexpdate -m <media ID> -d <DATE> -host <media server> -force

This work great for most of the media we have assigned, unfortunately we are also seeing results with the following error:

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

the -host option should fix this, but it is not working for us.

Has anyone else got this issue and fixed it.

Thanks in advance

Dave

22 Replies

    • DavidKean's avatar
      DavidKean
      Level 3

      nbemmcmd -listmedia -mediaid 0211L4

      NBEMMCMD, Version: 7.6.0.3
      ====================================================================
      Media GUID: 7fb47176-cbcd-429c-a6fc-f0e5007fa270
      Media ID: 0211L4
      Partner: -
      Media Type: HCART3
      Volume Group: ---
      Application: Netbackup
      Media Flags: 1
      Description: Added by Media Manager
      Barcode: QT0211L4
      Partner Barcode: --------
      Last Write Host: aijyms03.ai.local
      Created: 23/10/2014 14:21
      Time Assigned: 27/10/2014 19:31
      First Mount: 27/10/2014 19:32
      Last Mount: 05/06/2015 23:58
      Volume Expiration: -
      Data Expiration: INFINITY
      Last Written: 06/06/2015 02:58
      Last Read: -
      Robot Type: NONE
      Robot Control Host: -
      Robot Number: -
      Slot: -
      Side/Face: -
      Cleanings Remaining: -
      Number of Mounts: 9
      Maximum Mounts Allowed: 20000
      Media Status:
      Kilobytes: 1060539720
      Images: 33
      Valid Images: 1
      Retention Period: 8
      Number of Restores: 0
      Optical Header Size Bytes: 1024
      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: aijyms06
      Server Group: NO_SHARING_GROUP
      Upgrade Conflicts Flag:
      Pool Number: 9
      Volume Pool: ENCR_EOM
      Previous Pool Name: Scratch_Pool
      Vault Flags: -
      Vault Container: -
      Vault Name: -
      Vault Slot: -
      Session ID: -
      Date Vaulted: -
      Return Date: -
      Media on Hold: 0
      ====================================================================
      Command completed successfully.

      • Marianne's avatar
        Marianne
        Level 6
        Please show us the bpexpdate command that you ran against this media-id.
  • DK11

    Any chance you are using SLPs in the environment?

    And that these media-ids are under SLP control? 

    • DavidKean's avatar
      DavidKean
      Level 3

      The media status for some is active, but we also have status of Full, Full MPX and imported