LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

How do you make a regular (non-Stratis) filesystem mount automatically at boot via /etc/fstab?

Add one line per filesystem to /etc/fstab — device (best by UUID), mount point, type, options, dump, pass — then test with mount -a before rebooting.

Six titled fields of an fstab line — device, mount point, type, options, dump, pass — with example values.

* The six fields of an /etc/fstab record. *

/etc/fstab is the table the system reads at boot to mount filesystems automatically. Each line has six fields:

<device>  <mount_point>  <type>  <options>  <dump>  <pass>
/dev/vg01/lv01    /mnt/data    xfs    defaults    0 0     # LVM LV, safe by name
UUID=abc123...    /mnt/backup  ext4   defaults    0 0     # plain FS, by UUID

Field notes:

  • device — prefer a UUID over /dev/sdX, since device letters can shift between boots and mount the wrong thing. (LVM paths like /dev/vg01/lv01 are an exception — they're already stable, because LVM tracks its PVs by their own internal UUIDs.)
  • optionsdefaults expands to a sane set: rw,suid,dev,exec,auto,nouser,async.
  • dump / pass — legacy backup flag and the fsck order at boot (0 to skip, 1 for root, 2 for others).

Always test before you trust it:

mount -a                 # mount every fstab entry now — surfaces typos
systemctl daemon-reload  # if you used systemd-specific options

Why mount -a first is non-negotiable: a broken fstab line can drop the machine into emergency mode on the next boot. Testing live lets you catch the error while you still have a shell.

Go deeper:

From Quiz: LIOS / Disk and Block Device Management | Updated: Jul 05, 2026