Forum Discussion

Netbackup_NEW's avatar
8 months ago

Restore from a standalone drive fail

I have old NetBackup setup and we have restore request now.
FS Backup was done using a robotic library few years back and now the robot has broken.

Tape devices are working fine, so we have configure the tape drive as stand alone drive for restore only.
the required tape is loaded in the tape drive but the restore is failing with below error.

Feb 25, 2024 2:34:49 PM - Info bpbrm (pid=1789312) start tar32 on client
Feb 25, 2024 2:34:49 PM - Error bptm (pid=1787068) NBJM returned an extended error status: No drives are available (2001)
Feb 25, 2024 2:34:49 PM - requesting resource  A01587
Feb 25, 2024 2:34:49 PM - Error nbjm (pid=1337864) NBU status: 830, EMM status: No drives are available
Feb 25, 2024 2:34:49 PM - Error nbjm (pid=1337864) NBU status: 830, EMM status: No drives are available
Feb 25, 2024 2:34:54 PM - Info tar32 (pid=1787616) Restore started.
Feb 25, 2024 2:34:54 PM - connected; connect time: 0:00:00
Feb 25, 2024 2:34:54 PM - Info bpbrm (pid=1789780) got ERROR 252 from media manager
Feb 25, 2024 2:34:54 PM - Info bpbrm (pid=1789780) terminating bpbrm child 1789312 jobid=805914
Feb 25, 2024 2:34:54 PM - restored from image XXXXXXXX_1445871572; restore time: 0:00:09
Feb 25, 2024 2:34:55 PM - Warning bprd (pid=1783544) Restore must be resumed prior to first image expiration on INFINITY      
Feb 25, 2024 2:34:56 PM - end Restore; elapsed time 0:00:19
Restore error  (2850)


I tried to run below 

vmphyinv -u 2 -h <MEDIASERVER> -verbose

Generating list of recommended changes ...

Following error detected:

Cannot change the media type of assigned media id XXXXXX

how do we fix the issue ?

  • quebek's avatar
    quebek
    8 months ago
    Hi
    Run this
    vmchange - m A01594 -new_mt hcart2
    By doing So the tape will match the drive type, than your restore should progress.
  • Hi

    is the new storage unit of the same type as tape used with this restore?

    • quebek's avatar
      quebek
      Moderator
      Hi
      Storage Unit listing can be provided by bpstulist -U
      Media info vmquery -m mediaid
      • Netbackup_NEW's avatar
        Netbackup_NEW
        Level 3

        quebek 
        Please find the attached tape details and drive details.

        Nicolai 
        tape is already is stand alone. you can see in the attachments.

        Do i have to change the drive type in Drivers or tape type something please suggestion and also I request you to send me the process to do the same.

  • Looks like the robot is still defined in the NBU. If correct mark all the tapes defined in the robot using media manager and move the tapes to "stand alone".  Consider to remove the robot configuration from Netbackup.

    /Nicolai

  • I did the reverse, the tape drive was for restore only and I changed it to hcart type and restore has completed.

    • quebek's avatar
      quebek
      Moderator

      Hi

      Well ofc you could do it, but this requires the MediaManager related processes to be restarted on the server hosting the drive - by doing the tape - you don't have to restart any deamons.

      Nonetheless I am glad you sorted out your issue.