Operating System - HP-UX
1835854 Members
2640 Online
110085 Solutions
New Discussion

Re: scsimgr to replace disk and tapes

 
SOLVED
Go to solution
UnixT
Frequent Advisor

scsimgr to replace disk and tapes

Hi All,

Can some one give me the steps to replace the fc attached disk and tapes in hp ux 11.31.
2 REPLIES 2

Re: scsimgr to replace disk and tapes

This is all explained in this whitepaper:

http://docs.hp.com/en/scsimgr/scsimgr_whp_AR0803.pdf

See p28 onwards...

Remember you only need to do this hwne replacing an existing LUN/tape with a new one that has a diffrenet WWID

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Raj D.
Honored Contributor
Solution

Re: scsimgr to replace disk and tapes

UnixT,

Example For Tape_Drive:


Once the tapedrive (Library tape drive) has been replaced do the following:

NOTE: ioscan will be still showing the tape drive status as NO_HW , and thats the problem.

#ioscan -fnC tape | grep stape
tape 16 0/0/4/1/0.14.6.255.0.0.2 stape NO_HW DEVICE HP Ultrium 2-SCSI



To do the following:

1. First look at dmesg or syslog for the "instance id".

---------------------------
class : lunpath, instance 78
Evpd inquiry page 83h/80h failed or the current page 83h/80h data do not match the previous known page 83h/80h data on LUN id 0x0 probed beneath the target path (class = tgtpath, instance = 7) The lun path is (class = lunpath, instance 78).Run 'scsimgr replace_wwid' command to validate the change
---------------------------


2. In this case there is "instance" number 78.
(Use the instance number found in dmesg or syslog in the next command)

a. Determine the hardware path of the lunpath

#scsimgr -p get_attr -C lunpath -I 78 -a hw_path
0/3/1/0.0x100000e00242d36c.0x1000000000000

(Now the lunpath is known and can be used in the following command)



b. Determine the hardware path of the replaced LUN

# ioscan -m hwpath -H 0/3/1/0.0x100000e00242d36c.0x1000000000000

Lun H/W Path Lunpath H/W Path Legacy H/W Path
====================================================================
64000/0xfa00/0x4e
0/3/1/0.0x100000e00242d36c.0x1000000000000
(Now that hardware path is known is used in next command)



c. Validate the replacement using the hardware path of the replaced LUN

#scsimgr -f replace_wwid -H 64000/0xfa00/0x4e
scsimgr: Successfully validated binding of LUN paths with new LUN.



d. Now, everything should be fine , as ioscan can see the tape drive: (CLAIMED)


#ioscan -fnC tape | grep stape
tape 16 0/0/4/1/0.14.6.255.0.0.2 stape CLAIMED DEVICE HP Ultrium 2-SCSI



Cheers,
Raj.




" If u think u can , If u think u cannot , - You are always Right . "