linux: How can I view all UUIDs for all available disks on my system?
# / was on /dev/sda1 during installation UUID=77d8da74-a690-481a-86d5-9beab5a8e842 / ext4 errors=remount-ro 0 1
There are several other disks on this system, and not all disks are being mounted to the correct location (For example, /dev/sda1 and /dev/sdb1 are sometimes reversed).
How can I see the UUIDs for all disks on my system? Can I see the UUID for the third disk on this system?
/dev/disk/by-uuidthere are symlinks mapping each drive's UUID to its entry in
LVM already uses long UUID-like identifiers (although presented differently) in its structure. I think the only reason for using filesystem UUIDs with LVM would be as an unified interface for some sort of automation, as LVM already does the mapping of LVs to human-friendly names for you.