000-221 · Question #1
Which AIX command will display the virtual SCSI slot number that is the parent of hdisk0?
The correct answer is B. Iscfg. The lscfg command in AIX displays hardware configuration data stored in the ODM, including device hierarchy and physical location codes that reveal parent slot information.
Question
Which AIX command will display the virtual SCSI slot number that is the parent of hdisk0?
Options
- AIsdev
- BIscfg
- CIsattr
- DIsmap
How the community answered
(26 responses)- A4% (1)
- B73% (19)
- C15% (4)
- D8% (2)
Why each option
The lscfg command in AIX displays hardware configuration data stored in the ODM, including device hierarchy and physical location codes that reveal parent slot information.
lsdev lists devices and their operational status but does not report physical location codes or virtual slot numbers.
lscfg retrieves detailed hardware configuration data from the Object Data Manager (ODM) and, when run against hdisk0, displays the physical location code in a format that encodes the virtual SCSI adapter slot number (e.g., V4-C3 indicates virtual adapter 4, slot 3). This makes it the correct tool for identifying the parent virtual SCSI slot. No other listed command surfaces location codes in this manner.
lsattr lists configurable attribute values for a named device but does not display parent topology or slot assignments.
lsmap shows the mapping between a virtual SCSI adapter and its backed physical devices but requires the adapter name as input, not the child disk.
Concept tested: AIX lscfg command for device slot identification
Source: https://www.ibm.com/docs/en/aix/7.3?topic=l-lscfg-command
Topics
Community Discussion
No community discussion yet for this question.