cancel
Showing results for 
Search instead for 
Did you mean: 

NBU status: 830, EMM status: No drives are available

geniumzip
Level 3

Hi

 

When I running a restore 

 

 

22/04/2013 18:34:52 - begin Restore
22/04/2013 18:34:57 - media 000683 required
22/04/2013 18:34:57 - media 000684 required
22/04/2013 18:34:57 - restoring image goiania_1365220370
22/04/2013 18:35:35 - Info bptm(pid=8396) start            
22/04/2013 18:35:35 - started process bptm (8396)
22/04/2013 18:35:35 - Info bpdm(pid=8396) reading backup image          
22/04/2013 18:35:36 - Info bptm(pid=8396) using 30 data buffers         
22/04/2013 18:35:36 - Info bptm(pid=8396) spawning a child process         
22/04/2013 18:35:36 - Info bptm(pid=8396) child pid: 8788          
22/04/2013 18:35:36 - Info bptm(pid=8788) start            
22/04/2013 18:35:36 - started process bptm (8788)
22/04/2013 18:35:38 - Error bptm(pid=8396) NBJM returned an extended error status: No drives are available (2001)  
22/04/2013 18:35:39 - requesting resource 000684
22/04/2013 18:35:39 - Error nbjm(pid=7496) NBU status: 830, EMM status: No drives are available    
22/04/2013 18:35:39 - Error nbjm(pid=7496) NBU status: 830, EMM status: No drives are available    
22/04/2013 18:35:40 - end Restore; elapsed time: 00:00:48
FlashBackup-Windows policy restore error(2817)

 

I use NBU 7.1.0.4 with Windows 2008 R2.

The tapes are in the library.

Even the tapes and the drives are density set to HCART

How I fix it?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

In addition to above 'tpconfig -d' command, please also show us output of this command:

nbemmcmd -listmedia -mediaid  000684
command is in <install-path>\veritas\netbackup\bin\admincmd

Do you have a single master/media server? or more than one media server?
Does media server that performed the backup have access to library and drives where the tape is?

View solution in original post

17 REPLIES 17

Dyneshia
Level 6
Employee

Confrim Drives are up : install_path\Volmgr\bin\tpconfig -d

Check the application event vewer for errors during the time of the back up on the server where tape drives are located at.

Run through this check list :

https://www-secure.symantec.com/connect/articles/20-steps-analyze-correct-and-troublshoot-device-issues

 

Marianne
Level 6
Partner    VIP    Accredited Certified

In addition to above 'tpconfig -d' command, please also show us output of this command:

nbemmcmd -listmedia -mediaid  000684
command is in <install-path>\veritas\netbackup\bin\admincmd

Do you have a single master/media server? or more than one media server?
Does media server that performed the backup have access to library and drives where the tape is?

geniumzip
Level 3

I have a Master and more 2 Media servers.

The robot is visible for both and the tapes are inside the library.

Here are the results of the checks.

thanks

geniumzip
Level 3

The result of TPCONFIG

 

Id  DriveName           Type   Residence
      SCSI coordinates/Path                                            Status
****************************************************************************
0   TLD000.hcart.D2      hcart  TLD(0)  DRIVE=2 
      {2,0,6,0}                                                        UP
1   TLD000.hcart.D1      hcart  TLD(0)  DRIVE=1 
      {2,0,7,0}                                                        UP
4   TLD002.hcart.D1      hcart  TLD(2)  DRIVE=1 
      {4,0,3,0}                                                        UP
 
Currently defined robotics are:
  TLD(0)     SCSI coordinates = {2,0,7,1}
  TLD(1)     SCSI coordinates = {3,0,6,1}
  TLD(2)     SCSI coordinates = {4,0,3,1}
 
EMM Server = mspbkp01f
 
 
========================================================================
 
The result of NBEMMCMD
 
NBEMMCMD, Version:7.1.0.4
====================================================================
Media GUID:                     c89042be-1dc5-43b6-bb6a-e2a9b293bf1e
Media ID:                       000684                              
Partner:                        -                                   
Media Type:                     HCART                               
Volume Group:                   001_00002_TLD                       
Application:                    Netbackup                           
Media Flags:                    1                                   
Description:                    Added by Media Manager              
Barcode:                        000684L4                            
Partner Barcode:                --------                            
Last Write Host:                msinfra02                           
Created:                        03/23/2012 13:00                    
Time Assigned:                  04/05/2013 23:41                    
First Mount:                    03/23/2012 23:41                    
Last Mount:                     04/19/2013 17:16                    
Volume Expiration:              -                                   
Data Expiration:                INFINITY                            
Last Written:                   04/06/2013 06:32                    
Last Read:                      04/19/2013 17:16                    
Robot Type:                     TLD                                 
Robot Control Host:             mspbkp01f                           
Robot Number:                   2                                   
Slot:                           17                                  
Side/Face:                      -                                   
Cleanings Remaining:            -                                   
Number of Mounts:               81                                  
Maximum Mounts Allowed:         0                                   
Media Status:                   FULL MPX                            
Kilobytes:                      1124416958                          
Images:                         570                                 
Valid Images:                   570                                 
Retention Period:               24                                  
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:                    mspbkp01f                           
Server Group:                   UNRESTRICTED_SHARING_GROUP          
Upgrade Conflicts Flag:                                             
Pool Number:                    7                                   
Volume Pool:                    Mensal                              
Previous Pool Name:             Scratch                             
Vault Flags:                    -                                   
Vault Container:                -                                   
Vault Name:                     -                                   
Vault Slot:                     -                                   
Session ID:                     -                                   
Date Vaulted:                   -                                   
Return Date:                    -                                   
====================================================================
Command completed successfully.
 

 

geniumzip
Level 3

Anyone can help me? I still have this problem.

Possible
Level 6
Accredited Certified

Hello,

Please show the output of below commands from your master server.

1. vmquery -m 000684

2..bpmedialist -m 000684 -L

Thanks.

geniumzip
Level 3

BPMEDIALIST

 

Server Group = UNRESTRICTED_SHARING_GROUP
 
media_id = 000684, partner_id = *NULL*, version = 1
density = hcart (6)
allocated = 04/05/2013 23:41:49 (1365216109)
last_written = 04/06/2013 06:32:39 (1365240759)
expiration = INFINITY       (2147483647)
last_read = 04/19/2013 17:16:46 (1366402606)
kbytes = 1124416958, nimages = 570, vimages = 570 (MPX)
retention_level = 24, num_restores = 0
status = 0x228, l_offset = 0, psize = 0, hsize = 1024, ssize = 0
vmpool = 7
res1 = 0, res2 = 0, res3 = 0, res4 = 0
 
 
========================================
 
VMQUERY
 
================================================================================
media ID:              000684
media type:            1/2" cartridge tape (6)
barcode:               000684L4
media description:     Added by Media Manager
volume pool:           Mensal (7)
robot type:            NONE - Not Robotic (0)
volume group:          ---
vault name:            ---
vault sent date:       ---
vault return date:     ---
vault slot:            ---
vault session id:      ---
vault container id:    -
created:               23/03/2012 13:00:11
assigned:              05/04/2013 23:41:49
last mounted:          19/04/2013 17:16:37
first mount:           23/03/2012 23:41:51
expiration date:       ---
number of mounts:      81
max mounts allowed:    ---
status:                0x0
================================================================================
 

 

Possible
Level 6
Accredited Certified

robot type: NONE - Not Robotic (0)

Can u please ask data centre guy to reinsert media and invetory again....looks like media is not mounted

 

geniumzip
Level 3

 Look the prints.

The tapes are in the library but it cannot mount then.....

Possible
Level 6
Accredited Certified

1) suspend job..go to robtest...execute s s

2) move that media from current slot to another free slot..m s s

3) after changing the slot..move that media from slot to drive...m s d

4) Retrigger restore.

Thanks.

geniumzip
Level 3

Gary,

NBU does not mount the tape even I moving the tape to the drive. Still appears the message about the request and the same error.

 

StefanosM
Level 6
Partner    VIP    Accredited Certified

please run the command :
bpimagelist -backupid goiania_1365220370

and also tell us the media server that is trying to mount the tape.

There is no bpbrm log at your zip file and I can not find the bptm process ID at the bptm logs. bpbrm is produced at the media server during backups and restores. If the logs are from the master and the master is not a media server then the logs are useless.

The media server that is ready only for disk, is correct ?

Ankit_Maheshwar
Level 5

 

Not a big issue.. Seems some drive issue..

 

1- Inject media from library and reinsert this .do inventory and check media is free and not in use.(nbrbutil -dump |grep media id)

2- Check the name of the media server, from where data need to restore.

3- Run vmoprcmd -d ds -h mediaserver   to check status of drive...up or down.

4-Check whether media server is Active of disk and tape or Active for disk.

 

 

 

Marianne
Level 6
Partner    VIP    Accredited Certified

If I look at nbemmcmd output, the media server is msinfra02.
Last Write Host: msinfra02

At this point, the tape was in robot 2 :


Robot Type: TLD
Robot Control Host: mspbkp01f
Robot Number: 2
Slot: 17

In the meantime this tape was taken out of the robot:
robot type: NONE - Not Robotic (0)

You seem to have more than one robot?
You need to insert the tape(s) in the robot where media server msinfra02 can access them.

Double-check device config and status on media server msinfra02:
tpconfig -l
vmoprcmd -d

StefanosM
Level 6
Partner    VIP    Accredited Certified

 msinfra02 is indeed  the last write hosts.
But maybe not the server that write the backup image he is trying to restore as he has enabled the

Server Group = UNRESTRICTED_SHARING_GROUP
 
I suspect that the media server of the image goiania_1365220370 is the media server active for disk only. This could explain why netbackup is waiting for tapes.

Ankit_Maheshwar
Level 5

geniumzip@ Kindly go with steps which given on my previous post.. This will resolve the issue.

 

Possible
Level 6
Accredited Certified

Go to the GUI---Media---Filter By that media---Right Click--- Change Media Owner---Make it as

msinfra02.

Then

bpmedia -movedb -m 000684 -old server msinfra02 -newserver msinfra02

Refire the restore.

Thanks.