No drives are available 问题处理

Problem

The maximum job count has been reached for the storage unit.

Error Message

9/13/2011 3:12:19 AM - Info nbjm(pid=3972) requesting STANDARD_RESOURCE resources from RB for backup job (jobid=7442, request id:{AC15471C-F54E-4656-8DB3-20F6CEDCA1E0})
9/13/2011 3:12:19 AM - requesting resource nbmedia01-hcart3-robot-tld-0
9/13/2011 3:12:19 AM - requesting resource nbmedia01.NBU_CLIENT.MAXJOBS.nbclient01
9/13/2011 3:12:19 AM - requesting resource nbmedia01.NBU_POLICY.MAXJOBS.ExchangeDAG-Full
9/13/2011 3:12:19 AM - awaiting resource nbmedia01-hcart3-robot-tld-0 - No drives are available
9/13/2011 6:59:35 AM - awaiting resource nbmedia01-hcart3-robot-tld-0 Reason:
Drives are in use, Media Server: nbmedia01,
Robot Number: 0, Robot Type: TLD, Media ID: N/A, Drive Name: N/A,
Volume Pool: Exchange-VP, Storage Unit: nbmedia01-hcart3-robot-tld-0, Drive Scan Host: N/A
9/13/2011 6:59:35 AM - awaiting resource nbmedia01-hcart3-robot-tld-0 - No drives are available
9/13/2011 7:03:12 AM - awaiting resource

Cause

Potential hung allocation in the NetBackup resource broker (nbrb).

Solution

If it is known that the media is not physically in use, perform the following nbrbutil commands.

Note: The nbrbutil command resides in the following directories:
Windows: install_path\NetBackup\bin\admincmd
UNIX: /usr/openv/netbackup/bin/admincmd

    1. Run the following command and redirect it to a text file:
1
nbrbutil -dump

Example: Within this “dump” output, look for the following section…

MDS allocations in EMM:

MdsAllocation allocationKey=29 jobType=1 mediaKey=4000001 mediaId=A00001 driveKey=2000001 driveName=Single_DDS drivePath={3,0,6,0} stuName=Magg masterServerName=1time mediaServerName=1time ndmpTapeServerName=

    1. Within this section, find the media ID. In this example, A00001 is the media ID that can not be expired (bolded in the above output).

Note: the allocationKey (bolded above) for the media ID in question

    1. Run the following command, noting the MDS allocation key of the media. In this example, it would be “29”, for the allocationKey.
1
nbrbutil -releaseMDS <id>

资料来源:https://www.veritas.com/support/en_US/article.100006603