โ† All RHCSA Flashcard Decks

RHCSA Filesystem and Mount Configuration 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 Filesystem and Mount Configuration flashcards as text
  1. Which command creates a new XFS filesystem on /dev/sdc1?

    Answer: mkfs.xfs /dev/sdc1

    mkfs.xfs is the standard command to create an XFS filesystem on a specified block device.

  2. A disk partition /dev/sdb2 is formatted as XFS and mounted at /backup. Which command repairs it if corrupted?

    Answer: xfs_repair /dev/sdb2

    xfs_repair is the correct tool to repair a corrupted XFS filesystem; fsck.xfs exists but only calls xfs_repair.

  3. Which /etc/fstab option makes a filesystem mount only when explicitly requested with 'mount -a' or accessed?

    Answer: noauto

    The 'noauto' option prevents the filesystem from being mounted automatically during boot or when 'mount -a' is run.

  4. What does 'mount --bind /source /destination' accomplish?

    Answer: Makes the same directory tree accessible at a second location

    A bind mount makes the same directory tree visible at two different mount points without copying data.

  5. Which command extends an XFS filesystem on /dev/vg1/lv1 that is mounted at /data to use all available space?

    Answer: xfs_growfs /data

    xfs_growfs extends an XFS filesystem online using the mount point; the underlying LV must already be extended first.

  6. What type of filesystem is created by the command 'mkfs.vfat /dev/sdc1'?

    Answer: FAT32/FAT filesystem compatible with Windows

    mkfs.vfat creates a FAT filesystem (commonly FAT32) on the partition, widely compatible with Windows and USB drives.

  7. Which systemd unit type is automatically generated from /etc/fstab entries to manage mounts?

    Answer: .mount units

    systemd-fstab-generator converts /etc/fstab entries into .mount units that systemd uses to manage filesystems.