Courseiva
Storage ManagementhardMultiple ChoiceObjective-mapped

LFCS Storage Management Practice Question

Network Topology
/dev/sda2 vg_root lvm2 a19.00g 0/dev/sdb1 vg_data lvm2 a10.00g 0n- 19.00g 0n- 10.00g 0Refer to the exhibit.# lsblk -o NAME,SIZE,TYPE,MOUNTPOINTNAME SIZE TYPE MOUNTPOINTsda 20G disk├─sda1 1G part /boot└─sda2 19G part└─vg_root-lv_root 19G lvm /sdb 10G disk└─sdb1 10G part└─vg_data-lv_data 10G lvm /data# pvs# vgs

The administrator wants to create a new logical volume of 5GB for /var/log. Which of the following is the most appropriate first step?

⚠ Common exam trap

Many candidates assume lvcreate can always create a new logical volume in an existing volume group, forgetting that the VG must have sufficient free space; they overlook the prerequisite of adding a new PV when the VG is full.

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

Add a new disk (e.g., /dev/sdc) to the system, create a PV, and extend vg_root.

The volume group vg_root currently has no free space to create a new logical volume. Adding a new disk, creating a physical volume (PV) on it, and extending vg_root with vgextend provides the necessary free extents. Only then can lvcreate be used to create the 5GB lv_var_log logical volume for /var/log.

Answer analysis

Option-by-option breakdown

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

  • Use lvresize to shrink lv_root by 5G and then create lv_var_log

    Why it's wrong here

    Shrinking root LV is risky and not straightforward.

  • Add a new disk (e.g., /dev/sdc) to the system, create a PV, and extend vg_root.

    Why this is correct

    This provides free space to create the new LV.

  • Mount a new filesystem directly on a new partition /dev/sdc1

    Why it's wrong here

    No new disk is mentioned; also not using LVM.

  • Use lvcreate -L 5G vg_root -n lv_var_log

    Why it's wrong here

    vg_root has no free space.

About these practice questions

One of 507 original LFCS practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.