Drag or tap steps into the slots.
LFCS Operation of Running Systems Practice Question
Order the steps to set up a LVM logical volume from a new disk.
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
Create physical volume (pvcreate), then volume group (vgcreate), then logical volume (lvcreate), then format with filesystem (mkfs), then mount.
The correct sequence for setting up an LVM logical volume from a new disk is: first create a physical volume (PV) using pvcreate, then create a volume group (VG) with vgcreate, then create a logical volume (LV) with lvcreate, then format the LV with a filesystem using mkfs, and finally mount it to a directory. This order ensures all dependencies are satisfied: the VG requires the PV, the LV requires the VG, and the filesystem requires the LV.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create physical volume (pvcreate), then volume group (vgcreate), then logical volume (lvcreate), then format with filesystem (mkfs), then mount.
Why this is correct
This is the correct order because LVM requires initializing the disk as a physical volume first, then adding it to a volume group, then creating a logical volume from that group, then formatting it with a filesystem, and finally mounting it for use.
- ✗
Create volume group (vgcreate), then physical volume (pvcreate), then logical volume (lvcreate), then format, then mount.
Why it's wrong here
This is incorrect because you cannot create a volume group before the physical volume exists. The volume group is a collection of physical volumes, so pvcreate must precede vgcreate.
- ✗
Create physical volume (pvcreate), then format (mkfs), then volume group (vgcreate), then logical volume (lvcreate), then mount.
Why it's wrong here
This is incorrect because filesystem formatting should be done on the logical volume, not on the physical volume. Also, the volume group must be created before the logical volume.
- ✗
Create logical volume (lvcreate), then physical volume (pvcreate), then volume group (vgcreate), then format, then mount.
Why it's wrong here
This is incorrect because the logical volume depends on the volume group, which depends on the physical volume. You cannot create a logical volume without first having a physical volume and a volume group.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LFCS question from scratch — 406 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 →
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.