FSTAB

Differences between revisions 4 and 5
Revision 4 as of 2019-11-08 13:52:12
Size: 895
Editor: xnox
Comment:
Revision 5 as of 2019-11-15 19:44:47
Size: 947
Editor: xnox
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
    1. LVM
       Unique * ```/dev/disk/by-id/dm-uuid-LVM-AW4vtN9Nuh503yw4izneqpuLXCui4dVmXUcfJlf355pxKjolkkDmXJhPuJHZmZhI```
       Stable * ```/dev/disk/by-id/dm-name-vg0-vol0```
    1. Multipath
       * Unique ```/dev/disk/by-id/dm-uuid-mpath-35000c50015ea71ad```
       * Stable ```/dev/disk/by-id/dm-name-mpatha```
    1. Other device-mapperbl
    1. LVM ```/dev/disk/by-id/dm-uuid-LVM-AW4vtN9Nuh503yw4izneqpuLXCui4dVmXUcfJlf355pxKjolkkDmXJhPuJHZmZhI```
    1. Multipath ```/dev/disk/by-id/dm-uuid-part1-mpath-35000c50015ea71ad```
    1. LUKS1 ```/dev/disk/by-id/dm-uuid-CRYPT-LUKS1-85cd9f053c264a9b919a6cf780818425-foobar```
    1. LUKS2 ```/dev/disk/by-id/dm-uuid-CRYPT-LUKS2-85cd9f053c264a9b919a6cf780818425-foobar```
    1. Other device-mapper

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 device-mapper name
    1. Linux RAID
    2. LVM /dev/disk/by-id/dm-uuid-LVM-AW4vtN9Nuh503yw4izneqpuLXCui4dVmXUcfJlf355pxKjolkkDmXJhPuJHZmZhI

    3. Multipath /dev/disk/by-id/dm-uuid-part1-mpath-35000c50015ea71ad

    4. LUKS1 /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-85cd9f053c264a9b919a6cf780818425-foobar

    5. LUKS2 /dev/disk/by-id/dm-uuid-CRYPT-LUKS2-85cd9f053c264a9b919a6cf780818425-foobar

    6. Other device-mapper
  2. By-fs UUID
  3. 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)