XK0-005 · Question #1133
An administrator is troubleshooting an application that has failed to start after the server was rebooted. Noticing the data volume is not mounted, the administrator attempts to mount it and…
The correct answer is A. The logical volume is not active. The administrator should make it active with. If an LVM logical volume fails to mount after a reboot and its status indicates it is inactive, the problem is that the operating system has not recognized or brought the logical volume online. The resolution involves explicitly activating the logical volume using the lvchange…
Question
Exhibit
Options
- AThe logical volume is not active. The administrator should make it active with
- BThe logical volume file system has become corrupted. The administrator should repair it with
- CThe logical volume is OK but the /dev special files are missing. The administrator should
- DThe file system is read-only. The administrator should remount it as read-write with the command
How the community answered
(33 responses)- A82% (27)
- B3% (1)
- C3% (1)
- D12% (4)
Why each option
If an LVM logical volume fails to mount after a reboot and its status indicates it is inactive, the problem is that the operating system has not recognized or brought the logical volume online. The resolution involves explicitly activating the logical volume using the `lvchange -ay` command.
When an LVM logical volume is inactive, its device special file (e.g., `/dev/vgname/lvname`) does not exist or is not available, preventing it from being mounted. The `lvchange -ay <logical_volume_path>` command activates the logical volume, making it available for mounting by the system.
While filesystem corruption can prevent mounting, the specific error 'logical volume is not active' directly points to an LVM state issue, not necessarily filesystem corruption as the primary problem.
Missing `/dev` special files is a symptom of an inactive logical volume; the cause is the LV's inactive status, not that the files are just arbitrarily missing. Activating the LV would recreate these special files.
A read-only filesystem might mount but refuse writes, but the problem here is that the volume is not mounted at all, indicating a more fundamental issue than just permissions.
Concept tested: LVM logical volume activation
Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_storage_devices/managing-lvm-logical-volumes_managing-storage_devices#activating-and-deactivating-logical-volumes_managing-lvm-logical-volumes
Topics
Community Discussion
No community discussion yet for this question.
