Storage and File Systems Flashcards
6 cards from real RHCE practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Storage and File Systems flashcards as text
Which command creates a volume group named `vg_data` from physical volume `/dev/sdb`?
Answer: vgcreate vg_data /dev/sdb
`vgcreate` creates a new LVM volume group from one or more physical volumes.
What mount option in `/etc/fstab` causes a file system to be mounted read-only?
Answer: ro
The `ro` mount option mounts the file system in read-only mode, preventing any write operations.
Which command scans for available LVM physical volumes on the system?
Answer: pvscan
`pvscan` scans all supported LVM block devices in the system for physical volumes.
What does the `blkid` command display?
Answer: UUID and type of block devices
`blkid` locates and prints block device attributes including UUID, label, and file system type.
Which option in `mkfs.xfs` sets a label for a new XFS file system?
Answer: -L
The `-L` option in `mkfs.xfs` sets a label (name) for the newly created XFS file system.
What command creates a swap partition and enables it immediately?
Answer: mkswap /dev/sdc1 && swapon /dev/sdc1
`mkswap` formats the partition as swap space, and `swapon` activates it for immediate use.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- redhat.com — Test delivery, renewal, score validity, exam format, score release, exam information · verified Oct 2026