000-221 · Question #36
An administrator created a log logical volume named dbfs2loglv. Given the following output, why did the system create and use a new log logical volume rather than the log logical volume that the…
The correct answer is B. The administrator created the db2fsloglv log but neglected to format it with the logform command. A JFS2 log logical volume must be initialized with the logform command before it can be used; without this step the system ignores it and automatically creates a new formatted log LV.
Question
An administrator created a log logical volume named dbfs2loglv. Given the following output, why did the system create and use a new log logical volume rather than the log logical volume that the administrator specified?
Exhibit
Options
- AThe filesystem was built with a mirrored logical volume and 2 log logical volumes are needed.
- BThe administrator created the db2fsloglv log but neglected to format it with the logform command.
- CThe db2fsloglv log was created as a JFS log and a JFS2 log was needed.
- DThere was already another filesystem using the db2fsloglv when the filesystem was created
How the community answered
(42 responses)- A7% (3)
- B76% (32)
- C12% (5)
- D5% (2)
Why each option
A JFS2 log logical volume must be initialized with the logform command before it can be used; without this step the system ignores it and automatically creates a new formatted log LV.
Mirroring a logical volume does not require two separate log LVs; a single properly formatted JFS2 log is sufficient for a mirrored JFS2 filesystem.
After creating a JFS2 log logical volume, the administrator must run logform against it to write the log header and initialize its internal structure. If logform is skipped, the volume contains no valid log data and the system treats it as unusable, so when a JFS2 filesystem references that log during creation, the OS bypasses it and creates a new, properly initialized log logical volume in its place.
A JFS log type cannot be used with a JFS2 filesystem, but this mismatch would produce an explicit error rather than silently causing the system to create a replacement log.
If another filesystem were already consuming the log LV, the filesystem creation command would fail with an error rather than transparently provisioning a new log LV.
Concept tested: JFS2 log logical volume initialization with logform
Source: https://www.ibm.com/docs/en/aix/7.2?topic=l-logform-command
Topics
Community Discussion
No community discussion yet for this question.
