Command to get lun number in hp ux hp ux
download & install "evainfo" for HP EVA storage systems, or "xpinfo" for HP XP storage.
Command to get lun number in EMC
#syminq
or
#syminq -pdevfile
Fire the following command if you have EMC storage.But it will not work for 10.20.
#inq -nodots -clar_wwn
---------------------------------------
Ex:-
ynefa11n:root [/root] inq -nodots -clar_wwn
Inquiry utility, Version V7.3-771 (Rev 0.0) (SIL Version V6.3.0.0 (Edit Level 771)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.
--------------------------------------------------
CLARiiON Device Array Serial # SP IP Address LUN WWN (all 32 hex digits required)
--------------------------------------------------
/dev/rdsk/c32t0d0 APM00074202510 A xxx.xxx.xxx.xxx 0x009a 6006016068cf1a0088f85d0491a3dc11
/dev/rdsk/c32t0d1 APM00074202510 A xxx.xxx.xxx.xxx 0x03e8 6006016068cf1a006830077707e0dc11
/dev/rdsk/c32t0d2 APM00074202510 A xxx.xxx.xxx.xxx 0x03e9 6006016068cf1a006930077707e0dc11
/dev/rdsk/c32t0d3 APM00074202510 A xxx.xxx.xxx.xxx 0x03ea 6006016068cf1a004e359f8507e0dc11
LUN Identification command:-
------------------------------------
syminq |grep -i "ABCD"
Where ABCD = 4 digit unique number of disk. It is for EMC
For HP XP Storage .
xpinfo |grep -i "ABCD"
Where ABCD = 4 digit unique number of disk.
0 comments:
Post a Comment