FSTAB
Differences between revisions 1 and 8 (spanning 7 versions)
605
Comment:
|
1013
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
1. By unique device-mapper UUID 1. Linux RAID 1. LVM 1. Multipath |
1. By-id with uuid 1. Linux RAID ```/dev/disk/by-id/md-uuid-2df6ae19:d2b8f232:a92a12e1:ff5884f0-part1``` 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``` |
Line 11: | Line 13: |
1. By stable device-mapper name | |
Line 22: | Line 23: |
== 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
- By-id with uuid
Linux RAID /dev/disk/by-id/md-uuid-2df6ae19:d2b8f232:a92a12e1:ff5884f0-part1
LVM /dev/disk/by-id/dm-uuid-LVM-AW4vtN9Nuh503yw4izneqpuLXCui4dVmXUcfJlf355pxKjolkkDmXJhPuJHZmZhI
Multipath /dev/disk/by-id/dm-uuid-part1-mpath-35000c50015ea71ad
LUKS1 /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-85cd9f053c264a9b919a6cf780818425-foobar
LUKS2 /dev/disk/by-id/dm-uuid-CRYPT-LUKS2-85cd9f053c264a9b919a6cf780818425-foobar
- Other device-mapper
- By-fs UUID
- By-device name
fs default options
- any: discard
- rootfs: ext4 discard,errors=remount-ro 0 1
- /boot: ext4 discard,noatime,nodiratime 0 2
- /boot/efi: vfat umask=0077 0 1
bootloader specification
Examples
FSTAB (last edited 2020-01-23 09:27:47 by xnox)