Showing posts with label UMA. Show all posts
Showing posts with label UMA. Show all posts

Sunday, February 16, 2014

[Critical] [90:63] Cannot load exchanger medium (Target drive is busy.)

It can be interesting in troubleshooting a device issue sometimes. Let's deal with the devices in this post..

Error Message:

[Normal] From: BMA@Mediasrv01.in.com "Drive01"  Time: 2/13/2014 5:41:04 PM
                By: UMA@Mediasrv01.in.com@Changer0:7:0:1
                Loading medium from slot 2 to device Tape0:7:0:0C

[Critical] From: BMA@Mediasrv01.in.com " Drive01"  Time: 2/13/2014 5:41:24 PM
[90:63]                  By: UMA@Mediasrv01.in.com@Changer0:7:0:1
                Cannot load exchanger medium (Target drive is busy.)

From the error message, we could find that the "Target drive is busy". 

>> Login to the media server from where the tape library/autoloader is connected
>> Run devbra -dev, the output would be the drives and exchanger detected from the device manager.
>> Use the uma along with the scsi path of exchanger (here it is Changer0:7:0:1) in cmd line (please see below).
>> Check if there is stuck tape in drive. Move the tape to a free slot either from GUI/CLI and run the backup.
>> there are chances that the library might be fully loaded and the drive too is holding a tape. So manually remove the tape from slot/drive.

Using UMA utility for device management:

Example of fully loaded autoloader which needs manually unload media from drive.

C:\uma -ioctl  Changer0:7:0:1
Changer0:7:0:1> stat d
          1 D1    Full  "" ""
Changer0:7:0:1> stat s
        1001 S1   Full  "" ""
        1002 S2   Full  "" ""
        1003 S3   Full  "" ""
        1004 S4   Full  "" ""
        1005 S5   Full  "" ""
        1006 S6   Full  "" ""
        1007 S7   Full  "" ""
        1008 S8   Full  "" ""

(OR)

Example of unloading media from drive to empty slot.

C:\uma -ioctl  Changer0:7:0:1
Changer0:7:0:1> stat d
          1 D1    Full  "" ""
Changer0:7:0:1> stat s
        1001 S1   Full  "" ""
        1002 S2   Full  "" ""
        1003 S3   Empty  "" ""
        1004 S4   Full  "" ""
        1005 S5   Full  "" ""
        1006 S6   Full  "" ""
        1007 S7   Full  "" ""
        1008 S8   Full  "" ""
Changer0:7:0:1> move D1 S3
Changer0:7:0:1> stat d
          1 D1    Empty  "" ""



>> This is one of many cases for 'Cannot load exchanger medium' error.

Tuesday, February 11, 2014

[90:54] Cannot unload medium, target slot (255) appears to be occupied

[Warning] From: BMA@server01.na.com "ESLE01_D1"  Time: 2/9/2014 1:13:44 PM
[90:54]   /dev/nst1
Cannot open device (Unit not ready.)

[Major] From: BMA@server01.na.com "ESLE01_D1"  Time: 2/9/2014 1:13:55 PM
[90:114]   By: UMA@cellserver01.na.com@/dev/autoch3
Cannot unload medium, target slot (255) appears to be occupied

> The above error is due to DP couldn't unload the media from where it was actually loaded to the drive.

> Move the tape manually from the drive using UMA
/dev/autoch3> move D3 S13

> Then retry the backup, which should be successful/the error will not repeat.