Question 131 of 537
Configure local storagehardMultiple ChoiceObjective-mapped

LVM Size Units: Creating Large Logical Volumes

This EX200 practice question tests your understanding of configure local storage. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. A key principle to apply: lvcreate. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Network Topology
/dev/sdb myvg lvm2 a500.00g 500.00g/dev/sdc myvg lvm2 a/dev/sdd myvg lvm2 an- 1.46t 1.46tPhysical volume# lsblk# pvs# vgs# lvs# df -h# pvdisplay /dev/sddPV Name /dev/sddVG Name myvgAllocatable yesPE Size 4.00 MiBTotal PE 127999Free PE 127999Allocated PE 0

Refer to the exhibit. An administrator needs to create a 1.2 TiB logical volume named 'data' in volume group 'myvg' and mount it persistently at /data. Which sequence of commands should be used?

Network Topology
/dev/sdb myvg lvm2 a500.00g 500.00g/dev/sdc myvg lvm2 a/dev/sdd myvg lvm2 an- 1.46t 1.46tPhysical volume# lsblk# pvs# vgs# lvs# df -h# pvdisplay /dev/sddPV Name /dev/sddVG Name myvgAllocatable yesPE Size 4.00 MiBTotal PE 127999Free PE 127999Allocated PE 0

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 1200G -n data myvg mkfs.ext4 /dev/myvg/data echo '/dev/myvg/data /data ext4 defaults 0 0' >> /etc/fstab mount -a

Option D is correct because it creates a 1.2 TiB logical volume using the -L 1200G flag. LVM's -L option does not accept fractional TiB values (e.g., 1.2T), so an integer gigabyte equivalent must be used. While 1.2 TiB is exactly 1228.8 GiB, the closest integer value that does not exceed the desired size is 1200G (1.1719 TiB), which is accepted by many RHCSA exams as a valid approximation. The volume is formatted with ext4, an fstab entry with the correct device path /dev/myvg/data is added, and mount -a mounts it persistently.

Key principle: lvcreate

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 1.2T -n data myvg mkfs.ext4 /dev/myvg/data echo '/dev/myvg/data /data ext4 defaults 0 0' >> /etc/fstab mount -a

    Why it's wrong here

    The VG has 1.46 TiB free, but the LV size of 1.2 TiB is valid. However, the PE size is 4 MiB, and 1.2 TiB is not an exact multiple of 4 MiB, so lvcreate will fail with size mismatch.

  • lvcreate -l 100%FREE -n data myvg mkfs.xfs /dev/myvg/data echo '/dev/mapper/myvg-data /data xfs defaults 0 0' >> /etc/fstab mount -a

    Why it's wrong here

    Using -l 100%FREE will use all free space (1.46 TiB), not 1.2 TiB. Also, the mount entry should use /dev/myvg/data or UUID, not /dev/mapper/myvg-data.

  • lvcreate -L 1.2T -n data myvg mkfs.xfs /dev/myvg/data echo '/dev/myvg/data /data xfs defaults 0 0' >> /etc/fstab mount -a

    Why it's wrong here

    Although the syntax is correct, the size 1.2T is not an exact multiple of the PE size (4 MiB). lvcreate requires size to be a multiple of PE size.

  • lvcreate -L 1200G -n data myvg mkfs.ext4 /dev/myvg/data echo '/dev/myvg/data /data ext4 defaults 0 0' >> /etc/fstab mount -a

    Why this is correct

    1200G is approximately 1.2 TiB and is compatible with the PE size. The commands are correct.

    Related concept

    lvcreate

Common exam traps

Common exam trap: answer the scenario, not the keyword

A common pitfall on the Red Hat RHCSA exam is understanding LVM size suffixes. The -L option does not accept fractional TiB values; you must convert to an integer number of gigabytes. For 1.2 TiB, the exact integer value is 1228 GiB, but 1200 GiB is often used as an approximation. Candidates who choose options with '1.2T' incorrectly assume it is valid. This is specific to LVM on RHEL systems.

Detailed technical explanation

How to think about this question

LVM size suffixes are case-sensitive: 'G' for gibibytes, 'T' for tebibytes, but fractional values like 1.2T are not parsed correctly by lvcreate; instead, use 1200G or 1.5T (integer only). The device path /dev/myvg/data is a symbolic link to the actual device mapper path /dev/mapper/myvg-data, and both work in fstab, but /dev/myvg/data is simpler and more common. The mount -a command reads /etc/fstab and mounts all entries not already mounted, ensuring the new entry is activated.

KKey Concepts to Remember

  • lvcreate
  • mkfs.xfs
  • mkfs.ext4
  • fstab

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

lvcreate

Real-world example

How this comes up in practice

A practitioner preparing for the EX200 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. lvcreate Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Review lvcreate, then practise related EX200 questions on the same topic to reinforce the concept.

Related practice questions

Related EX200 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free EX200 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this EX200 question test?

Configure local storage — This question tests Configure local storage — lvcreate.

What is the correct answer to this question?

The correct answer is: lvcreate -L 1200G -n data myvg mkfs.ext4 /dev/myvg/data echo '/dev/myvg/data /data ext4 defaults 0 0' >> /etc/fstab mount -a — Option D is correct because it creates a 1.2 TiB logical volume using the -L 1200G flag. LVM's -L option does not accept fractional TiB values (e.g., 1.2T), so an integer gigabyte equivalent must be used. While 1.2 TiB is exactly 1228.8 GiB, the closest integer value that does not exceed the desired size is 1200G (1.1719 TiB), which is accepted by many RHCSA exams as a valid approximation. The volume is formatted with ext4, an fstab entry with the correct device path /dev/myvg/data is added, and mount -a mounts it persistently.

What should I do if I get this EX200 question wrong?

Review lvcreate, then practise related EX200 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

lvcreate

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More EX200 practice questions

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This EX200 practice question is part of Courseiva's free Red Hat 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 EX200 exam.