Labels

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

Wednesday, December 31, 2014

Identify new Lun’s added in 11.31 on EMC SYMMETRIX storage + HPUX

How to identify new Lun’s added in 11.31 on EMC SYMMETRIX storage:

   Device name       Size   

        9da                30GB   
       
Here Device name/Lun id is 9da.

{Note :

EMC SYMMETRIX - No need to convert it into hexadecimal to get Lun ID 

EMC SYMMETRIX - convert it into hexadecimal to get Lun ID }


Steps:

1.       #ioscan –fnCdisk  

2.       #insf   -e disk   

3.       #ls –lt /dev/disk |more
brw-r-----   1 bin        sys          1 0x000013 Sep 20 16:57 disk411


See the timestamp to identify newly added disks.

4.       #ioscan –m dsf /dev/disk/disk411

5.       #ioscan -m lun  

6.       #strings /etc/lvmtab |grep –i disk411 


7.    # /usr/local/bin/inq.HPUXIA64 -showvol |grep -i 9da
        ........../dev/rdisk/disk411  :EMC     :SYMMETRIX       :5874  :02009da000 :   009DA:    40266240
        /dev/rdsk/c25t8d2   :EMC     :SYMMETRIX       :5874  :02009da000 :   009DA:    40266240
        /dev/rdsk/c28t8d2   :EMC     :SYMMETRIX       :5874  :02009da000 :   009DA:    40266240


8.       #scsimgr -v get_info all_lun   < To get all status information of all the LUNs>


or       #scsimgr get_info -D /dev/rdisk/disk411 |grep "SCSI services internal state"


"SCSI services internal state" is UNOPEN then that is unused disk. If disk is used then the state will be ONLINE



Thanks...
Kiran Jadhav

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

No comments:

Post a Comment