โ† 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. When using lvextend with the '-r' flag, what additional action does it perform automatically?

    Answer: Resizes the filesystem on the LV

    The -r (--resizefs) flag causes lvextend to automatically resize the filesystem after extending the LV.

  2. Which LVM configuration file is the primary source for system-wide LVM settings such as filter rules for devices?

    Answer: /etc/lvm/lvm.conf

    /etc/lvm/lvm.conf is the main LVM configuration file controlling filters, logging, and global settings.

  3. A logical volume is inactive. Which command activates it so it can be mounted?

    Answer: lvchange -ay /dev/vg0/lv0

    lvchange -ay activates a specific logical volume, making its device node available for mounting.

  4. What happens to a snapshot LV when it reaches 100% usage of its allocated space?

    Answer: It becomes invalid and can no longer be used

    When a snapshot runs out of space, it becomes invalid and cannot be used for recovery or mounting.

  5. Which pvdisplay field shows how many physical extents on a PV are currently allocated to logical volumes?

    Answer: Allocated PE

    The 'Allocated PE' field shows how many physical extents are currently in use by logical volumes.

  6. You want to create a striped logical volume across /dev/sdb and /dev/sdc with 2 stripes. Which command is correct?

    Answer: lvcreate -L 10G -n lv_stripe -i 2 /dev/sdb /dev/sdc vg0

    Use -i to specify stripe count and list the specific PVs to stripe across at the end of the command.

  7. Which command exports a volume group so it can be imported on another system?

    Answer: vgexport vg0

    vgexport marks a VG as exported and prevents it from being activated, allowing its disks to be moved to another system.