nerdexam
IBM

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.

System Management

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)
  • A
    4% (1)
  • B
    73% (19)
  • C
    15% (4)
  • D
    8% (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.

AIsdev

lsdev lists devices and their operational status but does not report physical location codes or virtual slot numbers.

BIscfgCorrect

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.

CIsattr

lsattr lists configurable attribute values for a named device but does not display parent topology or slot assignments.

DIsmap

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

#lscfg#virtual SCSI#hdisk parent#device configuration

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice