nerdexam
CompTIA

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…

Troubleshooting

Question

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 receives this error: Upon checking the logical volume status, the administrator receives this information: Which of the following can be said about the data logical volume, and how can this problem be resolved?

Exhibit

XK0-005 question #1133 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)
  • A
    82% (27)
  • B
    3% (1)
  • C
    3% (1)
  • D
    12% (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.

AThe logical volume is not active. The administrator should make it active withCorrect

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.

BThe logical volume file system has become corrupted. The administrator should repair it with

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.

CThe logical volume is OK but the /dev special files are missing. The administrator should

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.

DThe file system is read-only. The administrator should remount it as read-write with the command

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

#LVM#Filesystem Mounting#Troubleshooting#Disk Management

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice