000-221 · Question #105
A system that will be re-installed has the following characteristics: If the following target_disk_data stanza is defined in the bosinst.data file used for the install, which disk will be installed…
The correct answer is C. hdisk2. In AIX BOS installation, the LOCATION field in target_disk_data takes highest priority over HDISKNAME when selecting the target disk, so the disk whose hardware identifier matches the LOCATION value is installed regardless of the HDISKNAME entry.
Question
A system that will be re-installed has the following characteristics:
If the following target_disk_data stanza is defined in the bosinst.data file used for the install, which disk will be installed with the operating system? target_disk_data:
LOCATION = 0006bf1c3d817913 SIZE_MB = HDISKNAME = hdisk1
Exhibit
Options
- Ahdisk0
- Bhdisk1
- Chdisk2
- Dhdisk3
How the community answered
(34 responses)- A9% (3)
- B3% (1)
- C71% (24)
- D18% (6)
Why each option
In AIX BOS installation, the LOCATION field in target_disk_data takes highest priority over HDISKNAME when selecting the target disk, so the disk whose hardware identifier matches the LOCATION value is installed regardless of the HDISKNAME entry.
hdisk0 is not referenced by name in the stanza and does not match the specified LOCATION code, so it is not a candidate.
Although HDISKNAME=hdisk1 is explicitly set, LOCATION takes precedence in AIX disk selection logic and resolves to a different physical disk.
The LOCATION value 0006bf1c3d817913 is the unique hardware identifier belonging to hdisk2, not hdisk1. AIX evaluates target_disk_data fields in priority order - LOCATION first, then SIZE_MB, then HDISKNAME - so the disk physically identified by that location code is selected as the installation target, overriding the HDISKNAME=hdisk1 entry in the stanza.
hdisk3 is neither named nor matched by the LOCATION identifier in the stanza and plays no role in the selection.
Concept tested: AIX bosinst.data target_disk_data stanza disk selection priority
Source: https://www.ibm.com/docs/en/aix/7.3?topic=file-bosinst-data-file
Topics
Community Discussion
No community discussion yet for this question.
