Forum Discussion

marcymarc24's avatar
15 years ago
Solved

bpimport error status 252

Hello,

 

We are looking to run an import of a tape but get the errors below.  The media server is listed in the bp.conf.

 

10/29/2010 15:44:32 - begin Import
10/29/2010 15:45:00 - started process bptm (pid=29631)
10/29/2010 15:45:00 - requesting resource G03616
10/29/2010 15:45:28 - Error bptm (pid=29631) NBJM returned an extended error status: resource request failed (800)
10/29/2010 15:45:28 - Error bptm (pid=29631) NBEMM returned an extended error status: invalid error number (2005023)
10/29/2010 15:45:28 - Error bpimport (pid=29625) Status = extended error status has been encountered, check logs.
10/29/2010 15:45:28 - end Import; elapsed time 0:00:56
10/29/2010 15:45:28 - Error nbjm (pid=5115) NBU status: 800, EMM status: Media is assigned to another server
10/29/2010 15:45:28 - Error nbjm (pid=5115) NBU status: 800, EMM status: Media is assigned to another server
An extended error status has been encountered, check detailed status (252)

This is on NetBackup 6.0MP6, Solaris 10.

-Marc

  • Status 800: Media is assigned to another server

    NBU 6.0 does not have media sharing (introduced in 6.5). Media is assigned to a media server the first time it is used for a backup.

    If you do 'bpmedialist -m G03616', you will see the name of the media server that 'owns' it.

    Are there a mix of expired and unexpired images on the media? Are you trying to import some of the expired images on a different media server?

    If the media belongs to Server-A and you are trying to import on Server-B, you will have to move 'ownership' of the tape to Server-B using the bpmedia command:

    bpmedia  -movedb -m G03616 -newserver Server-B -oldserver Server-A

8 Replies

  • When initiating import(Phase I), did you specified correct reading media server?

    Check which media server keeps the volume in its media DB using "bpimagelist -U"

     

    # bpmedialist -U

    Server Host = media_server_A

    id  ....

    ----------------------------

      :

    (volumes media_server_A keeps)

      :

    Server Host = media_server_B

    id   ....

    ----------------------------

      :

    (volumes media_server_B keeps)

      :

  • The Status 800 will indicate a failure to get an available drive for the backup, or the drive requested is the wrong density, or a storage unit is disabled.

    it refers to resources managed by the EMM server.  

    So kindly check all things related to Drive,Density,STU. 

     

     

    Verify the Tape drive is UP or Down


    # /usr/openv/volmgr/bin/tpconfig -d   OR programFiles\Veritas\volmgr\bin\tpconfig -d
    Id DriveName            Type  Residence
        Drive Path                            Status
    *************************************************
    0  QUANTUM.DLT8000.000  dlt2  Standalone
        /dev/rmt/0cbn                          DOWN

     

     

    (Have you done Robot inventory? , does available_media showing the tape media ?)

  • Status 800: Media is assigned to another server

    NBU 6.0 does not have media sharing (introduced in 6.5). Media is assigned to a media server the first time it is used for a backup.

    If you do 'bpmedialist -m G03616', you will see the name of the media server that 'owns' it.

    Are there a mix of expired and unexpired images on the media? Are you trying to import some of the expired images on a different media server?

    If the media belongs to Server-A and you are trying to import on Server-B, you will have to move 'ownership' of the tape to Server-B using the bpmedia command:

    bpmedia  -movedb -m G03616 -newserver Server-B -oldserver Server-A

  • If I do a bpmedialist I have noticed the tape is SUSPENDED.  Will this make any difference to the import?

    bash-3.00# bpmedialist -m G04929
    Server Host = xxxnbumed02

     id     rl  images   allocated        last updated      density  kbytes restores
               vimages   expiration       last read         <------- STATUS ------->
    --------------------------------------------------------------------------------
    G04929   5     79   09/16/2008 08:03  09/18/2008 08:03  hcart2   738909441     5
                  MPX   INFINITY        09/27/2010 12:15    FULL    SUSPENDED

  • If I attempt to move the tape it says it is not found...

    bash-3.00# bpmedia -movedb -m G04929 -newserver longs2nbumst
    requested media id was not found in the EMM database
     

  • SUSPENDED means that you cannot add more backups to this tape until all images have expired. Restores from SUSPENDED media works fine.

    You seem to have 5 valid, unexpired INFINITY images on this media id that is assigned to xxxnbumed02. All restore requests will be directed to xxxnbumed02.

    Please explain your reason for trying to import on another media server?

    If you want to restore via another media server, you can either assign ownership of the media to another media server (use bpmedia command as per my previous post), or add FORCE_RESTORE_MEDIA_SERVER entry in bp.conf. (Details in NBU Admin Guide I.)

  • I wasn't trying to move the tape to a new location, that was a mistake on my part.

    To get this to work I used the command line and specified the -server tag and it seemed to work ok, thanks for all you help above.

    bpimport -create_db_info -id G04929 -server <media server>

     

    -Marc