lsdev -C -H -F "name status physloc locationdescription" : Get the AIX ( if present) and physical location codes.
lsdev -Cc disk -F 'name location physloc' : Get the AIX and physical location codes of all disks.
lsdev -Cl hdisk0 -F physloc : Get the location code of hdisk0.
lscfg -vpl hdisk0 : Get extended information o fhdisk0.
lsdev -C| grep hdisk0 : Get the AIX location code of hdisk0.
lsparent -Cl hdisk0 : Get the parent devices for hdisk0.
lscfg -l fcs0 : Get information about the fsc0 device.
Location Codes are divided as:
Unit enclosure type-----------Enclosure model----------Serial number-----------Location
U789C---------001------------DQD3F62---------P2-D3
U : Unit
C: Card
P : Planar
D: Device
lsdev -Cc disk -F 'name location physloc' : Get the AIX and physical location codes of all disks.
lsdev -Cl hdisk0 -F physloc : Get the location code of hdisk0.
lscfg -vpl hdisk0 : Get extended information o fhdisk0.
lsdev -C| grep hdisk0 : Get the AIX location code of hdisk0.
lsparent -Cl hdisk0 : Get the parent devices for hdisk0.
lscfg -l fcs0 : Get information about the fsc0 device.
Location Codes are divided as:
Unit enclosure type-----------Enclosure model----------Serial number-----------Location
U789C---------001------------DQD3F62---------P2-D3
U : Unit
C: Card
P : Planar
D: Device