My /etc/fstab
contains this:
# / 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?
Best Answer
In
/dev/disk/by-uuid
there are symlinks mapping each drive's UUID to its entry in/dev
(e.g./dev/sda1
)You can view these with the command
ls -lha /dev/disk/by-uuid