UUID
Cheat sheet · https://pcornel.dk/topic.php?topic=2752
Answer
A UUID is a unique ID stored in a filesystem, LVM or RAID superblock. /etc/fstab and boot parameters should refer to UUIDs (or labels), because /dev/sdX names can change between boots.
Remember
Cloning a disk copies its UUIDs — two filesystems with the same UUID confuse mounting; give the copy a new one (tune2fs -U random, xfs_admin -U generate). Filesystem UUID differs from PARTUUID (partition).
First checks
lsblk -f— disks, partitions, filesystems, UUIDs and mount pointsblkid— UUIDs, labels and typesfdisk -l / parted -l— partition tablesudevadm info /dev/<dev>— device properties
Commands
lsblkmount -o nouuid
Verify in this order
filesystem created with a UUID → fstab/root= refer to it → mount finds the device by UUID
Where it usually breaks
First mismatch in hardware/block device → kernel driver/mapper/RAID/LVM → filesystem → mount namespace/options → path permissions/MAC → consumer I/O; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2752