cancel
Showing results for 
Search instead for 
Did you mean: 

Restore not able to start due to Drives are in use.

Sachii
Level 3
Certified

Hello All,

Can some one has any solution on this, I can see that the drives are busy with another backup.

 

#############################################################

Logs :

06/24/2015 10:46:37 - awaiting resource C30697. Waiting for resources.
          Reason: Drives are in use, Media server: ddcln01,
          Robot Type(Number): ACS(0), Media ID: N/A, Drive Name: N/A,
          Volume Pool: N/A, Storage Unit: N/A, Drive Scan Host: N/A,
          Disk Pool: N/A, Disk Volume: N/A

###############################################################

Note : Media id C30697 is virtual tape which in backend writes data to physical media.

Vmoprcmd output :

[bpadm@wdclnbp01 bin]$ sudo ./vmoprcmd -d -h ddcln01

                                PENDING REQUESTS

                                     <NONE>

                                  DRIVE STATUS

Drv Type   Control  User      Label  RecMID  ExtMID  Ready   Wr.Enbl.  ReqId
  0 hcart    ACS               No            C38855   Yes     Yes        0
  1 hcart    ACS               No            C38858   Yes     Yes        0
  2 hcart    ACS               No            C38864   Yes     Yes        0
  3 hcart    ACS               No            C38851   Yes     Yes        0
  4 hcart    ACS               No            C38852   Yes     Yes        0
  5 hcart    ACS               No            C38866   Yes     Yes        0
  6 hcart    ACS               No            C38863   Yes     Yes        0
  7 hcart    ACS               No            C38867   Yes     Yes        0
  8 hcart    ACS               No            C38865   Yes     Yes        0
  9 hcart    ACS               No            C38854   Yes     Yes        0
 10 hcart    ACS               No            C38861   Yes     Yes        0
 11 hcart    ACS               No            C38857   Yes     Yes        0
 12 hcart    ACS               No            C38862   Yes     Yes        0
 13 hcart    ACS               No            C38856   Yes     Yes        0
 14 hcart    ACS               No            C38860   Yes     Yes        0
 15 hcart    ACS               No            C38859   Yes     Yes        0

                             ADDITIONAL DRIVE STATUS

Drv DriveName            Shared    Assigned        Comment
  0 IBM.ULTRIUM-TD4.000   No       ddcln01
  1 IBM.ULTRIUM-TD4.001   No       ddcln01
  2 IBM.ULTRIUM-TD4.002   No       ddcln01
  3 IBM.ULTRIUM-TD4.003   No       ddcln01
  4 IBM.ULTRIUM-TD4.004   No       ddcln01
  5 IBM.ULTRIUM-TD4.005   No       ddcln01
  6 IBM.ULTRIUM-TD4.006   No       ddcln01
  7 IBM.ULTRIUM-TD4.007   No       ddcln01
  8 IBM.ULTRIUM-TD4.008   No       ddcln01
  9 IBM.ULTRIUM-TD4.009   No       ddcln01
 10 IBM.ULTRIUM-TD4.010   No       ddcln01
 11 IBM.ULTRIUM-TD4.011   No       ddcln01
 12 IBM.ULTRIUM-TD4.012   No       ddcln01
 13 IBM.ULTRIUM-TD4.013   No       ddcln01
 14 IBM.ULTRIUM-TD4.014   No       ddcln01
 15 IBM.ULTRIUM-TD4.015   No       ddcln01

 

1 ACCEPTED SOLUTION

Accepted Solutions

Prem_Kishan_Kat
Level 2
Certified

Hi Sachii,

Looks like all the drives in your library are in use, you can release any one drive for your restore using the command Revaroo suggested "nbrbutil"...the syntax is as below

nbrubtil -releasedrive <drive name>

eg : nbrubtil -releasedrive IBM.ULTRIUM-TD4.000  (this command releases your drive 0)

you might have release the MDS allocation of the drive as well, you can get the allocation key by running the command "nbrbutil -dump". If you find the allocation key just for the drive which you want to use for the restore (as in the above example drive 0) release the MDS allocation by using the below command..

nbrbutil -releaseMDS <allocation key>

Let us know how if that works for you.

 

View solution in original post

2 REPLIES 2

revarooo
Level 6
Employee

Has this ever worked before? Have you confirmed if there are actual backups writing to these drives?

If there are no backups running (including restores and duplications) you could try:

nbrbutil -resetAll     - please note this will remove all device and media allocations so any jobs running will fail immediately, so ensure NO jobs are running.

Prem_Kishan_Kat
Level 2
Certified

Hi Sachii,

Looks like all the drives in your library are in use, you can release any one drive for your restore using the command Revaroo suggested "nbrbutil"...the syntax is as below

nbrubtil -releasedrive <drive name>

eg : nbrubtil -releasedrive IBM.ULTRIUM-TD4.000  (this command releases your drive 0)

you might have release the MDS allocation of the drive as well, you can get the allocation key by running the command "nbrbutil -dump". If you find the allocation key just for the drive which you want to use for the restore (as in the above example drive 0) release the MDS allocation by using the below command..

nbrbutil -releaseMDS <allocation key>

Let us know how if that works for you.