Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (11) AWS (5) numerology (5)

Monday, August 4, 2014

How to Identify Luns on EMC- Clariion Storage + HPUX

How to Identify Luns on EMC- Clariion Storage (DGC     :CX4-240WDR5) in HP11iV3

1.       Device name/Lun id’s are : 404/402/400 and 114
Convert it into Hexadecimal:  194/192/190 and 72

2.       Try to grep the hex number :

testserver:/dev/disk# /usr/local/bin/inq.HPUXIA64 -clariion -no_dots |egrep '194|192|190|72'

/dev/rdisk/disk115    :DGC     :CX4-240WDR5     :HP03  :Ch2 CONT   :    41943040:  16: 2a0:ASSIGNED
/dev/rdisk/disk172    :DGC     :CX4-240WDR5     :HP03  :Ch2 CONT   :    37748736:  1a:  33:ASSIGNED
/dev/rdisk/disk234    :DGC     :CX4-240WDR5     :HP03  :Ch2 CONT   :    37748736:  27:  72:ASSIGNED
/dev/rdisk/disk246    :DGC     :CX4-240WDR5     :HP03  :Ch2 CONT   :    37748736:  28: 190:ASSIGNED
/dev/rdisk/disk247    :DGC     :CX4-240WDR5     :HP03  :Ch2 CONT   :    37748736:  29: 192:ASSIGNED
/dev/rdisk/disk249    :DGC     :CX4-240WDR5     :HP03  :Ch2 CONT   :    37748736:  2a: 194:ASSIGNED

3.       We can verify the same in /dev/disk directory:

testserver:/dev/disk# ls -lt |more
total 0
brw-r-----   1 bin        sys          1 0x000034 May  2 14:34 disk249
brw-r-----   1 bin        sys          1 0x000033 May  2 14:34 disk247
brw-r-----   1 bin        sys          1 0x000032 May  2 14:34 disk246
brw-r-----   1 bin        sys          1 0x000031 May  2 14:34 disk234

4.       Also the disks in scsimgr output; the ‘SCSI services internal state should be UNOPEN’


#scsimgr -v get_info all_lun |more

or 

#scsimgr get_info -D /dev/rdisk/disk249 |grep -i "SCSI services internal state"



Thanks...
Kiran Jadhav

**Let's Share our knowledge and keep visiting here**

No comments:

Post a Comment