- A
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 wrong: 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.
- B
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 wrong: 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.
- C
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 wrong: 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.
- D
lvcreate -L 1200G -n data myvg mkfs.ext4 /dev/myvg/data echo '/dev/myvg/data /data ext4 defaults 0 0' >> /etc/fstab mount -a
1200G is approximately 1.2 TiB and is compatible with the PE size. The commands are correct.
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.
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?
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.
- →
Configure local storage — study guide chapter
Learn the concepts, then practise the questions
- →
Configure local storage practice questions
Targeted practice on this topic area only
- →
All EX200 questions
537 questions across all exam domains
- →
Red Hat Certified System Administrator EX200 study guide
Full concept coverage aligned to exam objectives
- →
EX200 practice test guide
How to use practice tests most effectively before exam day
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.
Operate running systems practice questions
Practise EX200 questions linked to Operate running systems.
Configure local storage practice questions
Practise EX200 questions linked to Configure local storage.
Create and configure file systems practice questions
Practise EX200 questions linked to Create and configure file systems.
Deploy, configure, and maintain systems practice questions
Practise EX200 questions linked to Deploy, configure, and maintain systems.
Manage users and groups practice questions
Practise EX200 questions linked to Manage users and groups.
Manage security practice questions
Practise EX200 questions linked to Manage security.
Manage containers practice questions
Practise EX200 questions linked to Manage containers.
Create simple shell scripts practice questions
Practise EX200 questions linked to Create simple shell scripts.
Essential Tools practice questions
Practise EX200 questions linked to Essential Tools.
EX200 fundamentals practice questions
Practise EX200 questions linked to EX200 fundamentals.
EX200 scenario practice questions
Practise EX200 questions linked to EX200 scenario.
EX200 troubleshooting practice questions
Practise EX200 questions linked to EX200 troubleshooting.
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 →
Keep practising
More EX200 practice questions
- A system administrator needs to find all regular files larger than 10MB in /var/log. Which find command should they use?
- A user needs to view the last 15 lines of a log file that is constantly being updated. Which command should they use?
- Which TWO statements about systemd journal and rsyslog are correct?
- A system administrator needs to ensure that a web server running Apache httpd starts automatically after a system reboot…
- Refer to the exhibit. The administrator wants to create a single file system that spans the entire 20 GB disk /dev/sdb.…
- A system administrator needs to ensure that the user 'jdoe' cannot log in via SSH but can still use other services like…
Last reviewed: Jul 4, 2026
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.
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.
Sign in to join the discussion.