This post is more than 5 years old
7 Posts
0
4001
figure out disk identity from aix servers
I got a mail from a SA ..hez getting hardware error from wrongly assigned disks to two aix servers ( unix platform ) one server is connected to clarrion and the other oen to symmetrix, now he wants me to deallocate them ...
he dosen't know the decimal lunid and has just posted the o/p of the
cmd .... lscfg -vl hdisk4..
how do i figure out the decimal lun ID of the disks and remove them
he dosen't know the decimal lunid and has just posted the o/p of the
cmd .... lscfg -vl hdisk4..
how do i figure out the decimal lun ID of the disks and remove them
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
March 6th, 2008 07:00
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
March 6th, 2008 04:00
inq -clar_wwn
you will see something like this:
from this ouput if you take for example last LUN 0x0100 and convert from hex to decimal ..that will corresponde to lun 256 in Navisphere.
for Symmetrix run:
inq -sym_wwn
and output should look something like this:
Third column is your symmetrix device id
xe2sdc
2 Intern
2 Intern
•
2.8K Posts
0
March 6th, 2008 05:00
Message was edited by:
Stefano Del Corno
xe2sdc
2 Intern
2 Intern
•
2.8K Posts
0
March 6th, 2008 06:00
ria1
7 Posts
0
March 6th, 2008 06:00
Thanx for the reply ...
the syminq o/p gave us the lun id .. but looks like the hdisks he wants to be removed from both the servers have all 0s as their value
/dev/rhdisk4 :DGC :LUNZ :0207 :00000000 : FAILED
/dev/rhdisk5 :DGC :LUNZ :0207 :00000000 : FAILED
/dev/rhdisk6 :DGC :LUNZ :0207 :00000000 : FAILED
/dev/rhdisk7 :DGC :LUNZ :0207 :00000000 : FAILED
... moreover when he did a lsattr -El hdisk4 and lsattr -El hdisk78 he got the values as
lun_id 0x0 Logical Unit Number ID FALSE
does this mean that these are ghost devices ...
xe2sdc
2 Intern
2 Intern
•
2.8K Posts
0
March 6th, 2008 06:00
lscfg -vpl hdisk0
hdisk0 U9113.550.65FE44A-V6-C2-T1-L810000000000 Virtual SCSI Disk Drive
JasonBailey
147 Posts
0
March 6th, 2008 19:00
in this case, it looks like its device 000 which is usually the vcmdb, which is a dummy device you dont have to worry about
ria1
7 Posts
0
March 6th, 2008 19:00
/dev/rhdisk4 :EMC :SYMMETRIX :5670 :5100000000 : FAILED
/dev/rhdisk78 :EMC :SYMMETRIX :5670 :5100000000 : FAILED
lsattr -El hdisk4
lun_id 0x0 Logical Unit Number ID False
JasonBailey
147 Posts
0
March 6th, 2008 19:00
So just unzone it from the Clariion, then LUNZ won't be presented from the Clariion anymore.
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
March 6th, 2008 19:00
ria1
7 Posts
0
March 6th, 2008 20:00
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
March 6th, 2008 20:00
ria1
7 Posts
0
March 6th, 2008 20:00
looks like wht u inferred is true .. all those luns are ghost luns ..
In case of clariion ... LUNz should disappear once a LUN zero is bound, or when Storage Group access has been attained
Thanx for ur help .. but wht can a aix SA do to get rid of the errors cropping up ..
ria1
7 Posts
0
March 6th, 2008 20:00
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
March 6th, 2008 20:00