1753701 Members
4895 Online
108799 Solutions
New Discussion юеВ

Re: MSL Tape drive issue

 
rohit_gurjar82
Occasional Advisor

MSL Tape drive issue

We have MSL 6000 series tape library. Few days back drive0 showing no_hw state. Upon replacement of tape drive device files are not showing properly. Server model Rx8640

below is the o/p ioscan -fnC tape command on one vpar

root(/)>ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tape 4 1/0/6/1/0/4/0.2.0 stape CLAIMED DEVICE HP C5683A-------DAT Drive
/dev/rmt/4m /dev/rmt/4mn /dev/rmt/c14t2d0BEST /dev/rmt/c14t2d0BESTn
/dev/rmt/4mb /dev/rmt/4mnb /dev/rmt/c14t2d0BESTb /dev/rmt/c14t2d0BESTnb
tape 11 1/0/12/1/0/4/0.1.12.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/11m /dev/rmt/11mn /dev/rmt/c53t0d1BEST /dev/rmt/c53t0d1BESTn
/dev/rmt/11mb /dev/rmt/11mnb /dev/rmt/c53t0d1BESTb /dev/rmt/c53t0d1BESTnb
tape 8 1/0/12/1/0/4/1.233.11.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/c49t0d0BEST /dev/rmt/c49t0d0BESTb /dev/rmt/c49t0d0BESTn /dev/rmt/c49t0d0BESTnb

 

on other vpar o/p is 

root</>ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tape 6 1/0/4/1/0/4/0.4.0 stape CLAIMED DEVICE HP C5683A--------- DAT drive
/dev/rmt/c12t4d0BEST /dev/rmt/c12t4d0BESTb /dev/rmt/c12t4d0BESTn /dev/rmt/c12t4d0BESTnb
tape 21 1/0/14/1/0/4/0.1.12.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/21m /dev/rmt/21mn /dev/rmt/c59t0d1BEST /dev/rmt/c59t0d1BESTn
/dev/rmt/21mb /dev/rmt/21mnb /dev/rmt/c59t0d1BESTb /dev/rmt/c59t0d1BESTnb
tape 10 1/0/14/1/0/4/1.233.11.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/10m /dev/rmt/10mn /dev/rmt/c50t0d0BEST /dev/rmt/c50t0d0BESTn
/dev/rmt/10mb /dev/rmt/10mnb /dev/rmt/c50t0d0BESTb /dev/rmt/c50t0d0BESTnb

 

 

Please help

 

15 REPLIES 15
Torsten.
Acclaimed Contributor

Re: MSL Tape drive issue

What OS version is running on the server?

Did you reboot the OS after replacing the tape drive?


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rohit_gurjar82
Occasional Advisor

Re: MSL Tape drive issue

OS version is 11.3. As these are production server hence not reboot yet but planning for the same.
Torsten.
Acclaimed Contributor

Re: MSL Tape drive issue

No need for reboot now.

 

Try this:

 

# ioscan -m lun | grep tape

 

Post the result!

 

Any "NO_HW" entry?

 

 

 

The new device will get a new device file, so you need to adjust the device files again - both, legacy and agile.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rohit_gurjar82
Occasional Advisor

Re: MSL Tape drive issue

Below are o/p of ioscan -fnC tape & ioscan -m lun | grep tapeUWRA1
UWRA1 root(/)>ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tape 4 1/0/6/1/0/4/0.2.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/4m /dev/rmt/4mn /dev/rmt/c14t2d0BEST /dev/rmt/c14t2d0BESTn
/dev/rmt/4mb /dev/rmt/4mnb /dev/rmt/c14t2d0BESTb /dev/rmt/c14t2d0BESTnb
tape 11 1/0/12/1/0/4/0.1.12.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/11m /dev/rmt/11mn /dev/rmt/c53t0d1BEST /dev/rmt/c53t0d1BESTn
/dev/rmt/11mb /dev/rmt/11mnb /dev/rmt/c53t0d1BESTb /dev/rmt/c53t0d1BESTnb
tape 8 1/0/12/1/0/4/1.233.11.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/c49t0d0BEST /dev/rmt/c49t0d0BESTb /dev/rmt/c49t0d0BESTn /dev/rmt/c49t0d0BESTnb
UWRA1 root(/)>ioscan -m lun | grep tape
tape 5 64000/0xfa00/0x19 estape CLAIMED DEVICE online HP C5683A
/dev/rtape/tape5_BEST /dev/rtape/tape5_BESTb /dev/rtape/tape5_BESTn /dev/rtape/tape5_BESTnb
tape 7 64000/0xfa00/0x21 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape7_BEST /dev/rtape/tape7_BESTb /dev/rtape/tape7_BESTn /dev/rtape/tape7_BESTnb
tape 10 64000/0xfa00/0x2e estape NO_HW DEVICE offline HP Ultrium 4-SCSI
/dev/rtape/tape10_BEST /dev/rtape/tape10_BESTb /dev/rtape/tape10_BESTn /dev/rtape/tape10_BESTnb
tape 12 64000/0xfa00/0x37 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape12_BEST /dev/rtape/tape12_BESTb /dev/rtape/tape12_BESTn /dev/rtape/tape12_BESTnb
UWRA1 root(/)>
UWRD1
UWRD1:root</>ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tape 1 0/0/6/1/0/4/0.0.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/1m /dev/rmt/1mn /dev/rmt/c6t0d0BEST /dev/rmt/c6t0d0BESTn
/dev/rmt/1mb /dev/rmt/1mnb /dev/rmt/c6t0d0BESTb /dev/rmt/c6t0d0BESTnb
tape 9 0/0/12/1/0/4/0.1.12.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/9m /dev/rmt/9mn /dev/rmt/c57t0d1BEST /dev/rmt/c57t0d1BESTn
/dev/rmt/9mb /dev/rmt/9mnb /dev/rmt/c57t0d1BESTb /dev/rmt/c57t0d1BESTnb
tape 6 0/0/12/1/0/4/1.233.11.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/c49t0d0BEST /dev/rmt/c49t0d0BESTb /dev/rmt/c49t0d0BESTn /dev/rmt/c49t0d0BESTnb
UWRD1:root</>ioscan -m lun | grep tape
tape 3 64000/0xfa00/0x3 estape CLAIMED DEVICE online HP C5683A
/dev/rtape/tape3_BEST /dev/rtape/tape3_BESTb /dev/rtape/tape3_BESTn /dev/rtape/tape3_BESTnb
tape 5 64000/0xfa00/0x48 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape5_BEST /dev/rtape/tape5_BESTb /dev/rtape/tape5_BESTn /dev/rtape/tape5_BESTnb
tape 8 64000/0xfa00/0xa1 estape NO_HW DEVICE offline HP Ultrium 4-SCSI
/dev/rtape/tape8_BEST /dev/rtape/tape8_BESTb /dev/rtape/tape8_BESTn /dev/rtape/tape8_BESTnb
tape 10 64000/0xfa00/0xbb estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape10_BEST /dev/rtape/tape10_BESTb /dev/rtape/tape10_BESTn /dev/rtape/tape10_BESTnb
UWRD1:root</>

UWRR1
UWRR1:root</>ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tape 8 0/0/4/1/0/4/0.0.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/c4t0d0BEST /dev/rmt/c4t0d0BESTb /dev/rmt/c4t0d0BESTn /dev/rmt/c4t0d0BESTnb
tape 10 0/0/14/1/0/4/0.1.12.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/10m /dev/rmt/10mn /dev/rmt/c57t0d1BEST /dev/rmt/c57t0d1BESTn
/dev/rmt/10mb /dev/rmt/10mnb /dev/rmt/c57t0d1BESTb /dev/rmt/c57t0d1BESTnb
tape 4 0/0/14/1/0/4/1.233.11.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/4m /dev/rmt/4mn /dev/rmt/c50t0d0BEST /dev/rmt/c50t0d0BESTn
/dev/rmt/4mb /dev/rmt/4mnb /dev/rmt/c50t0d0BESTb /dev/rmt/c50t0d0BESTnb
UWRR1:root</>ioscan -m lun | grep tape
tape 2 64000/0xfa00/0x1 estape CLAIMED DEVICE online HP C5683A
/dev/rtape/tape2_BEST /dev/rtape/tape2_BESTb /dev/rtape/tape2_BESTn /dev/rtape/tape2_BESTnb
tape 7 64000/0xfa00/0x4d estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape7_BEST /dev/rtape/tape7_BESTb /dev/rtape/tape7_BESTn /dev/rtape/tape7_BESTnb
tape 9 64000/0xfa00/0xa2 estape NO_HW DEVICE offline HP Ultrium 4-SCSI
/dev/rtape/tape9_BEST /dev/rtape/tape9_BESTb /dev/rtape/tape9_BESTn /dev/rtape/tape9_BESTnb
tape 11 64000/0xfa00/0xbc estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape11_BEST /dev/rtape/tape11_BESTb /dev/rtape/tape11_BESTn /dev/rtape/tape11_BESTnb
UWRR1:root</>
UWRT1
UWRT1:root</>ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tape 14 1/0/4/1/0/4/0.3.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/14m /dev/rmt/14mn /dev/rmt/c12t3d0BEST /dev/rmt/c12t3d0BESTn
/dev/rmt/14mb /dev/rmt/14mnb /dev/rmt/c12t3d0BESTb /dev/rmt/c12t3d0BESTnb
tape 4 1/0/14/1/0/4/0.1.12.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/c53t0d1BEST /dev/rmt/c53t0d1BESTb /dev/rmt/c53t0d1BESTn /dev/rmt/c53t0d1BESTnb
tape 12 1/0/14/1/0/4/1.233.11.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/12m /dev/rmt/12mn /dev/rmt/c50t0d0BEST /dev/rmt/c50t0d0BESTn
/dev/rmt/12mb /dev/rmt/12mnb /dev/rmt/c50t0d0BESTb /dev/rmt/c50t0d0BESTnb
UWRT1:root</>ioscan -m lun | grep tape
tape 11 64000/0xfa00/0x85 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape11_BEST /dev/rtape/tape11_BESTb /dev/rtape/tape11_BESTn /dev/rtape/tape11_BESTnb
tape 10 64000/0xfa00/0xa6 estape NO_HW DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape10_BEST /dev/rtape/tape10_BESTb /dev/rtape/tape10_BESTn /dev/rtape/tape10_BESTnb
tape 15 64000/0xfa00/0xad estape CLAIMED DEVICE online HP C5683A
/dev/rtape/tape15_BEST /dev/rtape/tape15_BESTb /dev/rtape/tape15_BESTn /dev/rtape/tape15_BESTnb
tape 13 64000/0xfa00/0xb7 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape13_BEST /dev/rtape/tape13_BESTb /dev/rtape/tape13_BESTn /dev/rtape/tape13_BESTnb
UWRT1:root</>

UWRT2
UWRT2:root</>ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tape 6 1/0/4/1/0/4/0.4.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/c12t4d0BEST /dev/rmt/c12t4d0BESTb /dev/rmt/c12t4d0BESTn /dev/rmt/c12t4d0BESTnb
tape 21 1/0/14/1/0/4/0.1.12.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/21m /dev/rmt/21mn /dev/rmt/c59t0d1BEST /dev/rmt/c59t0d1BESTn
/dev/rmt/21mb /dev/rmt/21mnb /dev/rmt/c59t0d1BESTb /dev/rmt/c59t0d1BESTnb
tape 10 1/0/14/1/0/4/1.233.11.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/10m /dev/rmt/10mn /dev/rmt/c50t0d0BEST /dev/rmt/c50t0d0BESTn
/dev/rmt/10mb /dev/rmt/10mnb /dev/rmt/c50t0d0BESTb /dev/rmt/c50t0d0BESTnb
UWRT2:root</>ioscan -m lun | grep tape
tape 7 64000/0xfa00/0x79 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape7_BEST /dev/rtape/tape7_BESTb /dev/rtape/tape7_BESTn /dev/rtape/tape7_BESTnb
tape 9 64000/0xfa00/0x7d estape CLAIMED DEVICE online HP C5683A
/dev/rtape/tape9_BEST /dev/rtape/tape9_BESTb /dev/rtape/tape9_BESTn /dev/rtape/tape9_BESTnb
tape 20 64000/0xfa00/0xcd estape NO_HW DEVICE offline HP Ultrium 4-SCSI
/dev/rtape/tape20_BEST /dev/rtape/tape20_BESTb /dev/rtape/tape20_BESTn /dev/rtape/tape20_BESTnb
tape 22 64000/0xfa00/0xe8 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape22_BEST /dev/rtape/tape22_BESTb /dev/rtape/tape22_BESTn /dev/rtape/tape22_BESTnb
UWRT2:root</>
Torsten.
Acclaimed Contributor

Re: MSL Tape drive issue

On UWRA1:

 

this is the old device file

 

tape 10 64000/0xfa00/0x2e estape NO_HW DEVICE offline HP Ultrium 4-SCSI
/dev/rtape/tape10_BEST /dev/rtape/tape10_BESTb /dev/rtape/tape10_BESTn /dev/rtape/tape10_BESTnb

 

and this the new:

 

tape 12 64000/0xfa00/0x37 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape12_BEST /dev/rtape/tape12_BESTb /dev/rtape/tape12_BESTn /dev/rtape/tape12_BESTnb

 

Now try

 

 # scsimgr -f replace_wwid -D  /dev/rtape/tape10_BEST dsf

 

and do the check again.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rohit_gurjar82
Occasional Advisor

Re: MSL Tape drive issue


#scsimgr -f replace_wwid-D /dev/rtape/tape10_BEST dsf
It gives below error
scsimgr: ERROR: Mapping of LUN /dev/rtape/tape10_BEST to LUN paths failed.
The system may not be properly installed or configured.
rohit_gurjar82
Occasional Advisor

Re: MSL Tape drive issue

#scsimgr -f replace_wwid-D /dev/rtape/tape10_BEST dsf
It gives below error
scsimgr: ERROR: Mapping of LUN /dev/rtape/tape10_BEST to LUN paths failed.
The system may not be properly installed or configured.
Torsten.
Acclaimed Contributor

Re: MSL Tape drive issue

Did you run any device file related command before (after the drive replacement)?


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rohit_gurjar82
Occasional Advisor

Re: MSL Tape drive issue

Yes I have run the following command

UWRA1 root(/)>ioscan -m dsf |grep -i /dev/rmt/c53t0d1BESTn

/dev/rtape/tape10_BESTn   /dev/rmt/c53t0d1BESTn

/dev/rtape/tape10_BESTnb   /dev/rmt/c53t0d1BESTnb

UWRA1 root(/)>scsimgr replace_wwid -D /dev/rtape/tape10_BESTnb

scsimgr:WARNING: Performing replace_wwid on the resource may have some impact on

Do you really want to replace? (y/[n])? y

scsimgr: Successfully validated binding of LUN paths with new LUN.

 

Original issue was tape drive showing no_hw state, upon all log checks HP backend team suggest tape drive need to replace. After replacing tape drive as per suggestion by HP engineer I ran the above mention commands.

 

Query: If I run ioscan -fn command after removing of old drive & before insatlling new drive does it make any difference?

In this case I ran it after replacement.