FSTAB

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2019-10-22 20:37:09
Size: 605
Editor: xnox
Comment:
Revision 3 as of 2019-11-07 01:26:50
Size: 795
Editor: xnox
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
       * ```/dev/disk/by-id/dm-uuid-LVM-AW4vtN9Nuh503yw4izneqpuLXCui4dVmXUcfJlf355pxKjolkkDmXJhPuJHZmZhI```
       * ```/dev/disk/by-id/dm-name-vg0-vol0```
Line 22: Line 24:
== bootloader specification ==

FSTAB

This document will describe fstab stanzas for different filesystems and partitions as standardized in Ubuntu across various things that parse/create/install/consume fstab entries.

device specification

  1. By unique device-mapper UUID
    1. Linux RAID
    2. LVM
      • /dev/disk/by-id/dm-uuid-LVM-AW4vtN9Nuh503yw4izneqpuLXCui4dVmXUcfJlf355pxKjolkkDmXJhPuJHZmZhI

      • /dev/disk/by-id/dm-name-vg0-vol0

    3. Multipath
    4. Other device-mapper
  2. By stable device-mapper name
  3. By-fs UUID
  4. By-device name

fs default options

  1. any: discard
  2. rootfs: ext4 discard,errors=remount-ro 0 1
  3. /boot: ext4 discard,noatime,nodiratime 0 2
  4. /boot/efi: vfat umask=0077 0 1

bootloader specification

Examples

FSTAB (last edited 2020-01-23 09:27:47 by xnox)