System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

sksarangi
Occasional Visitor

How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

Hi,
I have few agile DSFs and few legacy DSFs on my server. Some agile DSFs and mapped to legacy DSFs, as follows(ioscan -m dsf). There are some additional agile DSFs which are not mapped to legacy DSFs. I would like to change these DSFs to their corresponding legacy names. Also how to reverse the action.
you can see disk3 and disk14-21 are mapped to corresponding legacy DSFs. But disk22-37 have no corresponding legacy dsf.
spea119 #ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk3 /dev/rdsk/c0t0d0
/dev/rdisk/disk3_p1 /dev/rdsk/c0t0d0s1
/dev/rdisk/disk3_p2 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk3_p3 /dev/rdsk/c0t0d0s3
/dev/rdisk/disk14 /dev/rdsk/c1t7d0
/dev/rdisk/disk15 /dev/rdsk/c1t7d1
/dev/rdisk/disk16 /dev/rdsk/c1t7d2
/dev/rdisk/disk17 /dev/rdsk/c1t7d3
/dev/rdisk/disk18 /dev/rdsk/c1t7d4
/dev/rdisk/disk19 /dev/rdsk/c1t7d5
/dev/rdisk/disk20 /dev/rdsk/c1t7d6
/dev/rdisk/disk21 /dev/rdsk/c1t7d7
spea119 #ioscan -m lun
Class I Lun H/W Path Driver S/W State H/W Type Health Description
======================================================================
disk 3 64000/0xfa00/0x0 esdisk CLAIMED DEVICE online HP DG146BB976
0/1/1/0.0x5000c5000bb0e791.0x0
/dev/disk/disk3 /dev/disk/disk3_p2 /dev/rdisk/disk3 /dev/rdisk/disk3_p2
/dev/disk/disk3_p1 /dev/disk/disk3_p3 /dev/rdisk/disk3_p1 /dev/rdisk/disk3_p3
disk 14 64000/0xfa00/0x4 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x0
/dev/disk/disk14 /dev/rdisk/disk14
disk 15 64000/0xfa00/0x5 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x1000000000000
/dev/disk/disk15 /dev/rdisk/disk15
disk 16 64000/0xfa00/0x6 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x2000000000000
/dev/disk/disk16 /dev/rdisk/disk16
disk 17 64000/0xfa00/0x7 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x3000000000000
/dev/disk/disk17 /dev/rdisk/disk17
disk 18 64000/0xfa00/0x8 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x4000000000000
/dev/disk/disk18 /dev/rdisk/disk18
disk 19 64000/0xfa00/0x9 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x5000000000000
/dev/disk/disk19 /dev/rdisk/disk19
disk 20 64000/0xfa00/0xa esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x6000000000000
/dev/disk/disk20 /dev/rdisk/disk20
disk 21 64000/0xfa00/0xb esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x7000000000000
/dev/disk/disk21 /dev/rdisk/disk21
disk 22 64000/0xfa00/0xc esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x10000000000000
/dev/disk/disk22 /dev/rdisk/disk22
disk 23 64000/0xfa00/0xd esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x11000000000000
/dev/disk/disk23 /dev/rdisk/disk23
disk 24 64000/0xfa00/0xe esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x12000000000000
/dev/disk/disk24 /dev/rdisk/disk24
disk 25 64000/0xfa00/0xf esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x13000000000000
/dev/disk/disk25 /dev/rdisk/disk25
disk 26 64000/0xfa00/0x10 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x14000000000000
/dev/disk/disk26 /dev/rdisk/disk26
disk 27 64000/0xfa00/0x11 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x15000000000000
/dev/disk/disk27 /dev/rdisk/disk27
disk 28 64000/0xfa00/0x12 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x16000000000000
/dev/disk/disk28 /dev/rdisk/disk28
disk 29 64000/0xfa00/0x13 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x17000000000000
/dev/disk/disk29 /dev/rdisk/disk29
disk 30 64000/0xfa00/0x14 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x20000000000000
/dev/disk/disk30 /dev/rdisk/disk30
disk 31 64000/0xfa00/0x15 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x21000000000000
/dev/disk/disk31 /dev/rdisk/disk31
disk 32 64000/0xfa00/0x16 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x22000000000000
/dev/disk/disk32 /dev/rdisk/disk32
disk 33 64000/0xfa00/0x17 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x23000000000000
/dev/disk/disk33 /dev/rdisk/disk33
disk 34 64000/0xfa00/0x18 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x24000000000000
/dev/disk/disk34 /dev/rdisk/disk34
disk 35 64000/0xfa00/0x19 esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x25000000000000
/dev/disk/disk35 /dev/rdisk/disk35
disk 36 64000/0xfa00/0x1a esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x26000000000000
/dev/disk/disk36 /dev/rdisk/disk36
disk 37 64000/0xfa00/0x1b esdisk CLAIMED DEVICE online EMC SYMMETRIX
0/4/1/0.0x5006048ad5efea2e.0x27000000000000
/dev/disk/disk37 /dev/rdisk/disk37

13 REPLIES
Asif Sharif
Honored Contributor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

Hi,

The best way is to download and read the manual.

www.docs.hp.com/en/MassStorageStack/The_Next_Generation_Mass_Storage_Stack.pdf

Regards,
Asif Sharif
sksarangi
Occasional Visitor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

I read the doc "The_Next_Generation_Mass_Storage_Stack.pdf ". But could not get the above task by either 'mksf' or insf' cli.
If someone can explain, it would be helpful.
-sksarangi
sujit kumar singh
Honored Contributor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

hi

What does these commands say , please post the O/P
#ioscan -kfnCdisk
and
#ioscan -kfnNCdisk
#ioscan -m hwpath
What is the HP-UX Release Version, please say that will help know the system better.
What and all are the QPK and HWenable releases.(swlist )
regards
sujit
sksarangi
Occasional Visitor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

Hi here is the details from the cmdline outputs attached in the doc "hp-dsf-screenshot.txt"
Thanks,
sksarangi
TTr
Honored Contributor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

> I would like to change these DSFs to their corresponding legacy names. Also how to reverse the action.
What exactly do you mean here? Change the physical devices that you use in your LVM? (or VxVM?)
sksarangi
Occasional Visitor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

it is something like creating a legacy DSF for an existing agile DSF and vice versa. The physical device remain the same.
For Ex:
spea119 #ioscan -m dsf /dev/rdisk/disk21
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk21 /dev/rdsk/c1t7d7
spea119 #ioscan -m dsf /dev/rdisk/disk22
spea119 #
I would like to create an equivalent legacy DSF for /dev/rdisk/disk21
Probably 'mksf' cmd may help, not sure how to do.
Simon Hargrave
Honored Contributor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

Have you tried "insf -e" to force install of all device special files? Then possible "insf -L" too?
Eric SAUBIGNAC
Honored Contributor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

Bonjour,

I am a bit surprised by the value 255 found in legacy hardware path like 0/4/1/0.1.0.255.0.7.1 and I wonder if you have correctly configured your EMC Storage.

See those thread that are speaking of SPC-2 flag at EMC side :

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1302100
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1189461
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1170752

HTH

Eric
Avinash20
Honored Contributor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

I had the same issue, and the issue needs to be addressed by EMC Vendor.

The attached doc was followed !!
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

Also please assign points to your thread if you find your answers
http://forums13.itrc.hp.com/service/forums/helptips.do?#33

No point for this please
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
HejALL
Occasional Contributor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

Try #ioscan -L
sksarangi
Occasional Visitor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

I tried setting the SPC2 bit for the device. But that did not help either.
"symmask -sid 072 set hba_flags on SPC2 -enable -wwn 5001438001321214 -dir 15C -p 1"
I am sure there is something wrong with symm configuration. if you notice the cmd output of "ioscan -m hwpath" ( attached file before), we can see "Legacy H/W Path" for few devices and also it contains something like "0/4/1/0.1.0.255.0.7.1", the no "255" looks incorrect.
Please advice any solution.
Thanks,
-Santosh.
Duncan Edmonstone
Honored Contributor

Re: How to convert agile DSF to legacy DSF and vice versa in HPUX 11.31

so EMC usually have a host connectivity guide per OS. Have you got a copy of this - no doubt it lists all the requirements for running 11iv3?

Why not just ask EMC to check your configuration? They're usually pretrty good at this sort of request.

HTH

Duncan

HTH

Duncan