1753505 Members
5389 Online
108794 Solutions
New Discussion

Re: MSL Tape drive issue

 
rohit_gurjar82
Occasional Advisor

Re: MSL Tape drive issue

one more query

UWRA1 root(/dev/rdisk)>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(/dev/rdisk)>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

Why there is difference between instance no in o/p of of two commands(mark in red)

Torsten.
Acclaimed Contributor

Re: MSL Tape drive issue

My command:

 

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

 

your command:

 

>scsimgr replace_wwid -D /dev/rtape/tape10_BESTnb

 

 

So you missed the "dsf", this is the reason.

 

 

So you redirected the agile device, but not the legacy. A "io_redirect_dsf" could help now, but if you use the agile device (recommended) it should be good anyway.


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

So in my case

 

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

 

io_redirect_dsf -H 64000/0xfa00/0x2e -N 64000/0xfa00/0x37 will this work?

Torsten.
Acclaimed Contributor

Re: MSL Tape drive issue

I would try

 

# io_redirect_dsf -d  /dev/rtape/tape10_BEST -n /dev/rtape/tape12_BEST

 

and check with

 

# ioscan –m lun | grep tape


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

As per your suggestion

 

UWRA1 root(/)>io_redirect_dsf -d /dev/rtape/tape10_BEST -n /dev/rtape/tape12_BEST
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/0x37 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
/dev/rtape/tape10_BEST /dev/rtape/tape10_BESTb /dev/rtape/tape10_BESTn /dev/rtape/tape10_BESTnb
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

 

 

But o/p of  ioscan -fnC tape is still not showing all device file of drive 1 (mark in red) 

Torsten.
Acclaimed Contributor

Re: MSL Tape drive issue

You should not use them anyway, better use the agile device files.

 

However, you may try to rmsf the related device files and re-create them.


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!