Courseiva
Block Devices, Filesystems and Advanced StoragehardMultiple ChoiceObjective-mapped

LPIC-2 Practice Question: Block Devices, Filesystems and Advanced Storage

An administrator wants to create a thin provisioned LVM pool and a thin volume. Which sequence of commands is correct?

⚠ Common exam trap

A common mix-up: candidates confuse the `-T` flag (which can create both thin pools and thin volumes depending on context) with the explicit `--thinpool` and `--thin` flags, and often forget that creating a thin volume requires specifying the pool path (e.g., `vg/pool/thinvol`) and the `--thin` flag, not just a regular `lvcreate` with `-n`.

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

lvcreate -L 10G --thinpool vg/pool; lvcreate -V 5G --thin vg/pool/thinvol

It uses the correct LVM commands to create a thin provisioned pool and a thin volume. The first command, `lvcreate -L 10G --thinpool vg/pool`, creates a thin pool named 'pool' in volume group 'vg' with a 10G metadata and data area. The second command, `lvcreate -V 5G --thin vg/pool/thinvol`, creates a thin volume named 'thinvol' within that pool, specifying the virtual size with `-V`. The `--thinpool` and `--thin` flags are the proper LVM2 syntax for thin provisioning.

Answer analysis

Option-by-option breakdown

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

  • lvcreate -L 10G -T vg/pool; lvcreate -V 5G -T vg/pool/thinvol

    Why it's wrong here

    -V with -T expects a pool, not a thin volume name.

  • lvcreate -L 10G --thinpool vg/pool; lvcreate -V 5G --thin vg/pool/thinvol

    Why this is correct

    Correct syntax for thin pool and thin volume.

  • lvcreate -L 10G -T vg/pool; lvcreate -n thinvol -V 5G vg/pool

    Why it's wrong here

    This also creates a regular volume.

  • lvcreate -L 10G -T vg/pool; lvcreate -V 5G -n thinvol vg/pool

    Why it's wrong here

    This creates a regular volume, not a thin volume.

About these practice questions

Courseiva writes every LPIC-2 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 LPIC-2 practice question is part of Courseiva's free LPI 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 LPIC-2 exam.