โ† All RHCSA Flashcard Decks

RHCSA LVM Storage Management Flashcards

7 cards from real RHCSA practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 RHCSA LVM Storage Management flashcards as text
  1. After importing physical disks from another system, which command makes the volume group available on the new system?

    Answer: vgimport vg0 && vgchange -ay vg0

    vgimport re-registers the VG with the system, then vgchange -ay activates it so LVs can be mounted.

  2. What is the purpose of the 'vgcfgrestore' command?

    Answer: Restores VG metadata from an archived configuration file

    vgcfgrestore restores the LVM metadata for a volume group from a backup stored in /etc/lvm/backup/.

  3. Which option with 'lvcreate' creates a thin-provisioned pool named 'thin_pool' in vg0?

    Answer: Both A and C are correct

    -T and --thin are equivalent flags for creating a thin pool; both commands produce the same result.

  4. A volume group shows 'partial' status. What does this indicate?

    Answer: One or more PVs in the VG are missing or unavailable

    A 'partial' VG means at least one physical volume member is missing, making some LV data inaccessible.

  5. Which lvs output column shows the type of a logical volume (e.g., linear, thin, snapshot)?

    Answer: Attr

    The 'Attr' column in lvs output encodes LV type and state using a multi-character attribute string.

  6. When shrinking an ext4 logical volume, what must be done BEFORE running lvreduce?

    Answer: Unmount and run resize2fs to shrink the filesystem first

    The filesystem must be shrunk with resize2fs before lvreduce, or data at the end of the LV will be truncated.

  7. What is the effect of running 'vgchange -an vg0'?

    Answer: Deactivates all logical volumes in vg0

    vgchange -an deactivates all logical volumes in the specified volume group, making their device nodes unavailable.