ADSM-L

Re: devices and location code question in aix

2002-11-27 14:16:31
Subject: Re: devices and location code question in aix
From: David Stabler <dstabler AT MORRISONHOMES DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 27 Nov 2002 14:13:25 -0500
The bulk of your disks are SSA, so you are looking at the logical disks
(hdisk) assignments.  Try running

lsdev -Cc pdisk

to see the physical disk locations.  They are also identified as part of
a specific drawer.  Are they internal to your device (some internal SSA
slots/sixpacks) or is there a D40 style drawer in your rack or a T40
sitting along side?

If you want to know which pdisk matches which hdisk, try this shell
(ksh)

for i in `lsdev -CS1 -c pdisk -F name`
do
  print -n "$i: "
  /usr/sbin/ssaxlate -l $i
done

(on the lsdev command, the S1 flag means State-Available)

If you just want to know where a particular ssa disk is, run the
ssaidentify command, which will flash the light on the drive

ssaidentify -lpdisk9 -y  (or -n to turn off)

If you are looking to identify what 11-08 or 40-60 means, you need to
tell us what class of machine you are using.  Each RS/6000 has slightly
different identification schemes for the bus, and knowing which adapter
is which is predicated on knowing the model type of the server.

I do hope that was helpful, though.

-drs-

David Stabler, CATE/AIX, CNCE
Senior Systems Analyst
>>> justin.bleistein AT SUNGARD DOT COM 11/27/02 13:58 PM >>>
Below is output of an "lsdev" command in AIX. Anyone have any good
documentation or can someone sum up for me how to physically locate
these
disks/adapters physically in the system by these location codes in this
output. Can anyone make sense out of this. I am mainly interested in PCI
readings for obvious reasons. Any input would be appreciated thanks!

# lsdev -Cc disk
hdisk0  Available 40-60-00-4,0 16 Bit SCSI Disk Drive
hdisk1  Available 11-08-L      SSA Logical Disk Drive
hdisk5  Available 11-08-L      SSA Logical Disk Drive
hdisk6  Available 21-08-L      SSA Logical Disk Drive
hdisk13 Available 21-08-L      SSA Logical Disk Drive
hdisk14 Available 11-08-L      SSA Logical Disk Drive
hdisk2  Available 40-60-00-8,0 16 Bit SCSI Disk Drive
hdisk3  Available 21-08-L      SSA Logical Disk Drive
hdisk4  Available 11-08-L      SSA Logical Disk Drive
hdisk7  Available 21-08-L      SSA Logical Disk Drive
hdisk8  Available 11-08-L      SSA Logical Disk Drive
hdisk9  Available 21-08-L      SSA Logical Disk Drive
hdisk10 Available 21-08-L      SSA Logical Disk Drive
hdisk11 Available 11-08-L      SSA Logical Disk Drive
hdisk12 Available 21-08-L      SSA Logical Disk Drive

--Justin