Signal9Signal9 — home
online
back to labs

VFAT: Format a Shared Volume and Mount It by UUID with Owners

MediumRHCSA Prep15 min
The brief

The finance team swaps files with Windows laptops, so their shared volume has to be FAT. Partition 1 of a new disk is set aside for it: /dev/s9disk1 (200 MiB).

1. Create a VFAT filesystem on /dev/s9disk1 with the label FINANCE.

2. Add an /etc/fstab entry that mounts it at /mnt/finance at boot. Refer to it by UUID or label, never by device name.

3. FAT stores no owners or permission bits, so set them with mount options: files belong to user alice and group finance, and other users get no access.

About this lab box: its kernel has no VFAT driver, so a real mount answers "unknown filesystem type 'vfat'" here, and that is not your mistake. Everything up to the kernel call still works: mount --fake -v /mnt/finance reads your fstab line and finds the device exactly like a real boot would, then stops. Grading uses that dry run, the filesystem itself (blkid), and your mount options. On a real RHEL host the same fstab line mounts with mount /mnt/finance. The ticket is in /root/case/brief.txt.

What you'll do
  • Create a labelled VFAT filesystem on a partition
  • Write a persistent fstab entry by UUID
  • Give a permissionless filesystem owners and a umask through mount options

Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.