000-221 · Question #61
On a system that currently boots from hdisk0, what command will extend the boot order to include hdisk1?
The correct answer is C. bootlist-m normal hdisk0 hdisk1. The bootlist -m normal command sets the normal-mode boot device list in AIX, and specifying both disks extends the boot order to include hdisk1 as a fallback. The syntax requires the -m flag followed by the boot mode.
Question
On a system that currently boots from hdisk0, what command will extend the boot order to include hdisk1?
Options
- Abootlist-ahdisk0 hdisk1
- Bbosboot-M norm hdisk0 hdisk1
- Cbootlist-m normal hdisk0 hdisk1
- Dbosboot-e hdisk0 hdisk1
How the community answered
(29 responses)- A10% (3)
- B3% (1)
- C79% (23)
- D7% (2)
Why each option
The `bootlist -m normal` command sets the normal-mode boot device list in AIX, and specifying both disks extends the boot order to include hdisk1 as a fallback. The syntax requires the `-m` flag followed by the boot mode.
`bootlist -a` is used to add a single device to the existing boot list, and the syntax shown does not correctly represent extending the full boot order with two disks.
`bosboot` creates a boot image on a disk but does not manage the boot device priority list stored in NVRAM; it also does not accept multiple disk arguments in this manner.
The `bootlist` command with the `-m normal` flag modifies the normal boot device list stored in NVRAM. Specifying `hdisk0 hdisk1` in sequence sets hdisk0 as the primary boot device and hdisk1 as the secondary, effectively extending the boot order to include both disks. This is the correct AIX syntax for this operation.
`bosboot -e` is not a valid flag combination for managing boot device order; `bosboot` is for writing boot images, not setting device priority.
Concept tested: AIX bootlist command for managing boot device order
Source: https://www.ibm.com/docs/en/aix/7.3?topic=b-bootlist-command
Topics
Community Discussion
No community discussion yet for this question.