cancel
Showing results for 
Search instead for 
Did you mean: 

indentify disk!

 
study unix
Regular Advisor

indentify disk!

Hello,
who can tell /dev/dsk/c4t6d0 and /dev/dsk/c7t6d0 are the same disk ? thanks!

disk 0 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336752C
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0
disk 1 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 5
/dev/dsk/c5t2d0 /dev/rdsk/c5t2d0
disk 2 1/0/1/0/0/1/1.6.0 sdisk CLAIMED DEVICE HP 36.C
/dev/dsk/c7t6d0 /dev/rdsk/c7t6d0
5 REPLIES
Manix
Honored Contributor

Re: indentify disk!

hey !!

the way to check such thing is pretty simpler
on 11.32 using ioscan -m dsf where "agile"
name will be unique and will be mapped to multiple legacy names.

For rest OS you need to find the PVID
running the command xd or ADB which ever works on the OS version you have.

#echo 0x2010?2X|adb /dev/dsk/c17t6d2|expand|tr -d " "|sed "s/2010:/PVID

Use the following command to know the PVID and VGID

#echo "0x2008?4D" | adb /dev/dsk/c17t6d2
2008: -236935368 1233043606 -236935368 1146662122

explained with an example

# xd -j8200 -N16 -tu /dev/rdsk/c1t2d0
0000000 2000252410 965817345 2000252410 965817462
PV CPU-ID PV timestamp VG CPU-ID VG time
stamp.

or run the script mentioned in the thread by bill


http://h30499.www3.hp.com/t5/System-Administration/HOW-to-know-the-PVID-and-VGID-of-disk/m-p/4620707#M377468

HP-UX been always lovable - Mani Kalra
Hakki Aydin Ucar
Honored Contributor

Re: indentify disk!

if I am not mistaken, about if you issue the command ioscan for this output, they are physically different disks.

But you mean to say about thye are merged in same VG , you can check it with command related vg group like vg00 OR vg01..
# vgdisplay -v vgXX
Hakki Aydin Ucar
Honored Contributor

Re: indentify disk!

>Manix:
#echo 0x2010?2X|adb /dev/dsk/c17t6d2|expand|tr -d " "|sed "s/2010:/PVID

must be a double quote at the end ;

#echo 0x2010?2X|adb /dev/dsk/c17t6d2|expand|tr -d " "|sed "s/2010:/PVID"

additionally ;

# echo "0x2008?4D" | adb /dev/dsk/c3t6d0
2008: 2010833916 1271329034 2010833916 1271329034
in order to sequence from left to right:
CPUID, VGID, CPUID, PVID
Torsten.
Acclaimed Contributor

Re: indentify disk!

Looks like 2 different internal scsi disks in a midrange server.

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!   
Alzhy
Honored Contributor

Re: indentify disk!

Your output already TELLS you so amigo.

Note the HW PATHs of c4t6d0 and c7t6d0. The former islijkely an internal disk. The latter is most likely on a SCSI Enclosure based DS21xxx.

Hakuna Matata.