Skip to content

Get information about devices in AIX

Table 1. Commands to get information about your devices

Command Description
lsdev -C -H -F "name status physloc location description" 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.