Fstab

Description of image

/etc/fstab configuration

/etc/fstab file begins on debian as

 1# /etc/fstab: static file system information.
 2#
 3# Use 'blkid' to print the universally unique identifier for a
 4# device; this may be used with UUID= as a more robust way to name devices
 5# that works even if disks are added and removed. See fstab(5).
 6#
 7# systemd generates mount units based on this file, see systemd.mount(5).
 8# Please run 'systemctl daemon-reload' after making changes here.
 9#
10# <file system> <mount point>   <type>  <options>       <dump>  <pass>
11# / was on /dev/sda2 during installation
12# /boot/efi was on /dev/sda1 during installation

Common fstab entries

fat32/vfat for boot

1UUID=ABAC-2915  /boot/efi       vfat    umask=0077      0       1

btrfs

1UUID=142abb53-edaf-dd43-caac-9ba6ca37731e /               btrfs   rw,noatime,space_cache=v2,compress=zstd,ssd,discard=async,subvol=@ 0       0
2UUID=142abb53-edaf-dd43-caac-9ba6ca37731e /home           btrfs   rw,noatime,space_cache=v2,compress=zstd,ssd,discard=async,subvol=@home 0       0
3UUID=142abb53-edaf-dd43-caac-9ba6ca37731e /var/lib/lxd/storage-pools           btrfs   rw,noatime,space_cache=v2,compress=zstd,ssd,discard=async,subvol=@lxd 0       0

Special folders

  1. /var/lib/lxd/storage-pools
  2. /var/lib/docker/btrfs

Not needed but can be considered

  1. /var/lib/libvirt/images

Reference :-

  1. Archwiki Fstab