Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Tape Library

admin1979
Super Advisor

Tape Library

Hello,

We have a Tape Library COMPAQ MSL5000 Series, connected to TRU64 system.

Getting the following error,

/usr/bin/robot show robot /dev/changer/mc1
ROBOT /dev/changer/mc1 is not responding: I/O error.

The tape was working fine until yesterday. One of the tape got stuck in the drive so we manually shutdown the tape library and started.

We can manually move the tapes to slots by using the screen interface on the library but not from the host connected to it.

Looks like /dev/changer/mc1 is not working anymore.
Please find the relevant commands output in attachment.

Anyone can give us some clue?

Thanks in advance.
admin
9 REPLIES
Ivan Ferreira
Honored Contributor

Re: Tape Library

Please run hwmgr scan scsi and hwmgr show scsi -full

Do you have Data Protector on the system? If you do, you can try using the uma command.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
admin1979
Super Advisor

Re: Tape Library

Executed the above commands and here is the relevant part of the same.

SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
436: 35 bwgc559 tape none 0 1 tape4 [9/0/0]

WWID:0c000008:00e0-9e60-000d-44c8


BUS TARGET LUN PATH STATE
---------------------------------
9 0 0 valid

SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
437: 36 bwgc559 changer none 0 1 mc1 [9/2/0]

WWID:04100024:"COMPAQ MSL5000 Series 3G31JPM2FEDP"


BUS TARGET LUN PATH STATE
---------------------------------
9 2 0 valid


Point is ..The device files for drive and changer look ok. But it just that somehow system is not able to make use of /dev/changer/mc1 to move the robot inside the library.
We could use the "mt" commands once the tape is inside the drive.
Any help would be greatly appreciated.


Thanks
Pieter 't Hart
Honored Contributor

Re: Tape Library

the output of hwmgr suggests the units are accessible from the os (devicetype is shown).

did you check if any active process still allocates the tapedrive or changer?
"ps -ef |grep mc1" (or tape4).

the scsi-port from changer and tapedrive are interconnected with a short cable, check if properly seated including terminator.

Pieter
admin1979
Super Advisor

Re: Tape Library


You are right. Even I feel, the system is able to detect the drive and changer. But there are no processes that allocates the tapedrive or changer.

ps -ef shows nothing. Moreover we have rebooted the the host system itself.

Now the attention goes to the SCSI cabling. What should we try? Replugging all the cables from the Library end only or from the host end as well??
How do you identify the cable which interconnects the changer and tapedrive?
Pieter 't Hart
Honored Contributor

Re: Tape Library

the doc calls it "library controller board" not changer.
from your output i don't think you use the fiber channel card.
it's the short cable from the board to the drive.

maybe you just need to put the library online again from the touch screen menu.

maybe video's from this site help ?http://h20464.www2.hp.com/index.html
I cannot capture pictures from this site correctly.
Select storage -? buisness class libraries -> msl5000 series

Pieter
admin1979
Super Advisor

Re: Tape Library


Right...We have a SCSI connectors/cables.

As far as putting the library online , i tried the touch screen menu. The View section gives some information about the library.

Here are few details about the library,

LIBRARY OPTIONS:

Library remains offline after power up initialisation -- Disabled

AutoPower up an installed Drive after timeout-- Enabled

Unload Mode -- Implicit

Total Reserved Slots 0

Drive/Slot Numbering Zero Based

Library Mode Random

LCD contrast adjust 16

Mail Slot Mode Enabled

Module Configuration Standalone

Here are few details about the SCSI,

SCSI options :

Drive 0 Bus ID : 0
Library SCSI Bus ID : 2
Library SCSI Bus Priority : Enabled
SCSI Mode : SCSI 2
Init Element Starts : Force Inventory
Transport Element 0X0

etc...



But the EDIT section of Library asks for the password which we dont know. Whats the default?

I am going through the videos you have suggested.

Thanks so far. But please suggest if something comes to your mind.
Pieter 't Hart
Honored Contributor

Re: Tape Library

look at this document:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=115&prodSeriesId=254838&prodTypeId=12169&prodSeriesId=254838&objectID=c00023637

"NOTE: The library ships with a default service password of 5566"

Your output shows the scsi-id matches that of the unix-hosts

check the touchscreen.
in the attached picture the button "online"
means the device is offline
NB! it not a status, it's an action!
push the button to set online.

furthermore:
- if you manually load a tape can you access the drive from the OS?
like "mt rewind tape4"
- is tape0 in the same library or is it a different unit?
- if in the library does this behave different? (as it is on another bus)
admin1979
Super Advisor

Re: Tape Library

1> I tried the ONLINE button on touch screen menu but wen pressed the front indicator kept on blinking. It stopped only when I again pressed the same tab which was now showing as OFFLINE. So i guess when it shows ONLINE then the library is indeed in ONLINE state.

2> After loading the tape onto the drive manually , the very first attempt to execute the below command gives I/O error. But the next time it runs smoothly
root@test> mt -f /dev/ntape/tape4_d1 online


root@test > mt -f /dev/ntape/tape4_d1 rew

3> But when we try to see the contents of the tape with below command it gives the below shown error.

root@test > vrestore -f /dev/ntape/tape4_d1 -i
vrestore: Date of the vdump save-set: Sat Apr 11 05:32:32 2009
vrestore: unable to use save-set; invalid or corrupt format


************* PROGRAM ABORT **************

vrestore: can't obtain fileset attributes
root@test >




4> Also please note below cam_status gives some error.


root@test > mt -f /dev/ntape/tape4_d1 status

DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_TAPE
bus DEV_SCSI
interface SCSI
device DLT8000
adpt_num 0
nexus_num 0
bus_num 3
ctlr_num 9
slave_num 35
dev_name tz
unit_num 35
soft_count 0
hard_count 2
stat 0x4
DEV_OFFLINE
category_stat 0x0
DEV_98250_BPI

DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x10000
POS_VALID
unit_status 0x182
Offline 2_FM_Close NO_Rewind Compacting Buffered
record_size 0
density (current) 98250 BPI
density (on write) 0 BPI
Filemark Cnt 0
Record Cnt 1
Class 1 - DLT (tk)

MTIOCGET ELEMENT CONTENTS
---------------- --------
mt_type MT_ISSCSI
mt_dsreg 0x4
DEV_OFFLINE
mt_erreg 0x2 Unit is not ready.
mt_resid 0
mt_fileno 0
mt_blkno 1
DEV_EEI_STATUS
version 0x2
status 0x3200 Device inoperable (needs initialize)
flags 0x1000007
CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA
cam_status 0x4 CCB request completed with an err
scsi_status 0x2 SCSI_STAT_CHECK_CONDITION
scsi_sense_data (hex)
70 0 2 0 0 0 0 16
0 0 0 0 3a 0 0 0
0 0 82 15 6e 0 0 8f
98 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
ASC/ASQ = 3a/0 Medium not present

We also tried the option off shutting down the libarary and reconnecting one end of the SCSI connector cable that is between drive and board.

Also the password worked for the EDIT options. It allows us to change the same options for Library/SCSI I posted in my previous reply. But what to change is again a question.

Kindly suggest. And yes thanks so far.


admin1979
Super Advisor

Re: Tape Library


One more update, When I was trying to run the mt and robot commands during that period , we have noticed following binary error logging on the system.


********************************* ENTRY 1. *********************************

----- EVENT INFORMATION -----

EVENT CLASS ERROR EVENT
OS EVENT TYPE 199. CAM SCSI
SEQUENCE NUMBER 151.
OPERATING SYSTEM DEC OSF/1
OCCURRED/LOGGED ON Thu Apr 16 17:19:16 2009
OCCURRED ON SYSTEM test
SYSTEM ID x000B0022
SYSTYPE x00000000
PROCESSOR COUNT 2.
PROCESSOR WHO LOGGED x00000001

----- UNIT INFORMATION -----

CLASS x0001 TAPE
SUBSYSTEM x0001 TAPE
BUS # x0009
x0240 LUN x0
TARGET x0


********************************* ENTRY 2. *********************************

----- EVENT INFORMATION -----

EVENT CLASS ERROR EVENT
OS EVENT TYPE 199. CAM SCSI
SEQUENCE NUMBER 149.
OPERATING SYSTEM DEC OSF/1
OCCURRED/LOGGED ON Thu Apr 16 17:08:24 2009
OCCURRED ON SYSTEM test
SYSTEM ID x000B0022
SYSTYPE x00000000
PROCESSOR COUNT 2.
PROCESSOR WHO LOGGED x00000001

----- UNIT INFORMATION -----

CLASS x0001 TAPE
SUBSYSTEM x0001 TAPE
BUS # x0009
x0240 LUN x0
TARGET x0