Operating System - HP-UX
1848988 Members
8046 Online
104040 Solutions
New Discussion

Re: Identify Alternate Paths

 
SOLVED
Go to solution
Neil Wilson_2
Valued Contributor

Identify Alternate Paths

How do I identify alternate disk paths for disks that are not part of a volume group?
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Identify Alternate Paths

At boot, you can run the sea command, that will identify all possible boot paths.

While running the os:

ioscan -fnC disk

That will show all disks that are working. Compare that to strings /etc/lvmtab and those that appear in ioscan but not /etc/lvmtab are your suspects.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Neil Wilson_2
Valued Contributor

Re: Identify Alternate Paths

I am looking at disks that are presented from a disk array and not specifically bootable. In this instance these are EMC disks and I want to correctly identify those disks that are alternates... how?
RAC_1
Honored Contributor

Re: Identify Alternate Paths

What is this SAN?? HP, EMC?? They supply utilities to check such things. In addition tothat you may use disk (not very correct) and check sizes of the disk.

My notes also have following. (But not sure if it works on pvs, that are not part of nay vg.) you can try them.

echo "0x2008?4D" |adb /dev/dsk/c20t0d0 --disk1
echo "0x2008?4D" |adb /dev/dsk/c19t0d0 â disk2


A
There is no substitute to HARDWORK
Geoff Wild
Honored Contributor
Solution

Re: Identify Alternate Paths

Use the EMC utility syminq

Example:

/dev/dsk/c60t5d4 is in your VG - is there and alternate path?

syminq |grep c60t5d4

Reveals:

/dev/rdsk/c60t5d4 M(4) EMC SYMMETRIX 5670 65103000 35354880

Columns are:
Name Type Vendor ID Rev Ser Num Cap (KB)

The Ser Num - is actually the EMC disk...

In my example 65103000 - 65 is the frame number and 103 is the disk number...

So:

# syminq |grep 103
/dev/rdsk/c56t5d4 M(4) EMC SYMMETRIX 5670 65103000 35354880
/dev/rdsk/c58t5d4 M(4) EMC SYMMETRIX 5670 65103000 35354880
/dev/rdsk/c60t5d4 M(4) EMC SYMMETRIX 5670 65103000 35354880
/dev/rdsk/c62t5d4 M(4) EMC SYMMETRIX 5670 65103000 35354880

There are 3 alternate paths to c60t5d4.

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Neil Wilson_2
Valued Contributor

Re: Identify Alternate Paths

syminq seems to do the trick