000-221 · Question #123
The/app1 filesystem in appvg did not mount due to a failure replaying jfslog1. Which command will reinitialize jfslog1?
The correct answer is B. logform/dev/jfsiog1. The AIX logform command reinitializes a JFS log logical volume, clearing a corrupted or unreplayable log so the associated filesystem can be mounted.
Question
The/app1 filesystem in appvg did not mount due to a failure replaying jfslog1. Which command will reinitialize jfslog1?
Options
- Aresysnclvodm -vjfslog1
- Blogform/dev/jfsiog1
- Csynclvodm appvg jfslog1
- Dformat-d/dev/jfslog1
How the community answered
(41 responses)- A2% (1)
- B80% (33)
- C10% (4)
- D7% (3)
Why each option
The AIX logform command reinitializes a JFS log logical volume, clearing a corrupted or unreplayable log so the associated filesystem can be mounted.
resynclvodm resynchronizes the Logical Volume Manager ODM database and has no function related to JFS log content or initialization.
logform is the AIX utility specifically designed to format and reinitialize a JFS or JFS2 log device. Running logform /dev/jfslog1 writes a fresh log header to the logical volume, discarding the unresolvable journal entries that caused the mount failure. After reinitialization, the filesystem can be mounted cleanly, though a full fsck is recommended to verify filesystem integrity.
synclvodm synchronizes ODM metadata for a volume group and is not a JFS log management command.
format -d is not a valid AIX command for operating on JFS log devices.
Concept tested: AIX JFS log reinitialization using logform
Source: https://www.ibm.com/docs/en/aix/7.3?topic=l-logform-command
Topics
Community Discussion
No community discussion yet for this question.