Courseiva
Storage ManagementeasyMultiple ChoiceObjective-mapped

LFCS Storage Management Practice Question

An administrator wants to extend a logical volume named 'lv_data' in volume group 'vg_data' by 5GB. The volume group has free physical extents. Which command should be used?

⚠ Common exam trap

A common mix-up: candidates confuse `lvextend` with `lvresize` or forget the `+` sign in the size specification, leading them to choose Option C or D, or they might incorrectly use `pvextend` (Option A) which does not exist in LVM.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

lvextend -L +5G /dev/vg_data/lv_data

The correct command to extend a logical volume is `lvextend`. Option B uses the correct syntax with the `-L +5G` flag, which adds 5GB to the existing logical volume `/dev/vg_data/lv_data`. The volume group `vg_data` has free physical extents, so the extension can proceed without needing to add new physical volumes.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • pvextend -L +5G /dev/vg_data/lv_data

    Why it's wrong here

    pvextend is not a valid LVM command; the correct command to extend a logical volume is lvextend.

  • lvextend -L +5G /dev/vg_data/lv_data

    Why this is correct

    Correct. lvextend -L +5G adds 5GB to the existing logical volume.

  • lvresize -L +5G /dev/vg_data/lv_data

    Why it's wrong here

    lvresize is a valid LVM command that can extend or reduce logical volumes, but lvextend is the more specific command for extension. While lvresize -L +5G achieves the same result, the question expects lvextend.

  • lvextend -L 5G /dev/vg_data/lv_data

    Why it's wrong here

    lvextend -L 5G sets the new size to exactly 5GB instead of adding 5GB. The + prefix is required to add to the existing size.

About these practice questions

Courseiva writes every LFCS question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LFCS practice question is part of Courseiva's free Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LFCS exam.