nerdexam
CompTIA

XK0-005 · Question #808

An administrator completes maintenance on a server but cannot remount the logical volume. Given the following output: Which of the following commands should the administrator execute to resolve the…

The correct answer is A. vgchange -ay data. 'vgchange -ay data' activates all logical volumes within the volume group named 'data' (the '-a y' flag means 'set active to yes'). During maintenance, volume groups are commonly deactivated so the disk can be safely manipulated. Without the volume group being active, its…

System Management

Question

An administrator completes maintenance on a server but cannot remount the logical volume. Given the following output:

Which of the following commands should the administrator execute to resolve the issue?

Options

  • Avgchange -ay data
  • Blvscan --all
  • Cvgimport data
  • Dlvchange -ay /dev/data/files

How the community answered

(35 responses)
  • A
    83% (29)
  • B
    3% (1)
  • C
    9% (3)
  • D
    6% (2)

Explanation

'vgchange -ay data' activates all logical volumes within the volume group named 'data' (the '-a y' flag means 'set active to yes'). During maintenance, volume groups are commonly deactivated so the disk can be safely manipulated. Without the volume group being active, its logical volumes are unavailable and cannot be mounted. Option B (lvscan --all) only scans and lists LVs without activating them. Option C (vgimport) is used when moving a VG from another system that was previously exported with 'vgexport'. Option D (lvchange -ay) activates a single LV rather than the entire VG, which may be insufficient if the VG itself is inactive.

Topics

#LVM#Volume Group#System Administration#Disk Management

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice