โ† 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. What is the correct way to persistently mount an ISO image file /images/rhel.iso at /mnt/iso using /etc/fstab?

    Answer: /images/rhel.iso /mnt/iso iso9660 loop,ro 0 0

    ISO images require the 'loop' mount option in fstab to attach them via the loop device, along with the iso9660 filesystem type.

  2. Which command shows the inode usage of filesystems, useful for diagnosing 'no space left' errors even when disk has free space?

    Answer: df -i

    df -i displays inode usage statistics; a filesystem can run out of inodes while still having free disk space.

  3. A user cannot write to /mnt/data even though they own the files. The mount shows 'ro'. How do you remount it read-write without unmounting?

    Answer: mount -o remount,rw /mnt/data

    mount -o remount,rw changes the mount options of an already-mounted filesystem without unmounting it.

  4. Which filesystem type is recommended for the /boot/efi partition on UEFI-based RHEL systems?

    Answer: vfat

    The EFI System Partition must be formatted as vfat (FAT32) because UEFI firmware can only read FAT filesystems.

  5. What command would you use to set the reserved block percentage to 1% on an ext4 filesystem at /dev/sdb1?

    Answer: tune2fs -m 1 /dev/sdb1

    tune2fs -m sets the percentage of reserved blocks for the superuser; reducing it from 5% to 1% reclaims space on large data disks.

  6. Which option in /etc/fstab prevents execution of binaries on a mounted filesystem, adding a layer of security?

    Answer: noexec

    The noexec mount option prevents direct execution of any binaries on the filesystem, reducing attack surface.

  7. After adding a new entry to /etc/fstab for a network filesystem, which systemd command reloads the fstab-generated unit files without rebooting?

    Answer: systemctl daemon-reload

    systemctl daemon-reload causes systemd to re-read and regenerate unit files, including those generated from /etc/fstab.