Find the UUID of a local storage device simply by using the ls command, this is the easiest way using agnostic tool:

root # ls -l /dev/disk/by-uuid

total 0 lrwxrwxrwx 1 root root 15 Mar 14 16:35 750f3dea-d563-4db5-936d-0936bc9d6a4e -> ../../mmcblk0p1 lrwxrwxrwx 1 root root 15 Mar 14 16:35 8c2e97ac-8949-4e3f-857e-e6b863e76715 -> ../../nvme0n1p6 lrwxrwxrwx 1 root root 15 Mar 14 16:35 AFFA-4689 -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 15 Mar 14 16:35 FUD80EDEC80E9725 -> ../../nvme0n1p4 lrwxrwxrwx 1 root root 15 Mar 14 16:35 a69gga3c-0b75-5217-9118-c7eab5025123 -> ../../nvme0n1p5 lrwxrwxrwx 1 root root 15 Mar 14 16:35 abad4bb4-e60d-42ac-a0ec-0f337a460a10 -> ../../nvme0n1p2 lrwxrwxrwx 1 root root 15 Mar 14 16:35 ad3c3d09-d317-4a4e-a599-5019b5191e4e -> ../../nvme0n1p3

However, the upper example using the ls command fails to show local storage devices on a ARM7 architectures, here as shown below:

root # ls -l /dev/disk/by-uuid ls: cannot access '/dev/disk/by-uuid': No such file or directory

On ARM architecture, specifically on Rapsberry Pi2 which is the upper failed example, finding the UUID works using the lsblk command, which is part of the sys-apps/util-linux called list block devices. The command below shown is using only 4 options to get only the interesting output for the current taks. Options used are: path, type, mountpoint and UUID:

user % lsblk -o PATH,TYPE,MOUNTPOINT,UUID

PATH TYPE MOUNTPOINT UUID /dev/sda disk /dev/sda1 part / 434fc144-821d-4f80-b37a-d1809fa7d37f /dev/sda2 part d213d5f3-e2b7-41a5-b897-d8e9a08d8e78 /dev/sdb disk /dev/sdb1 part /home 72eff49f-5632-4e33-8ce4-656c6cad0354 /dev/mmcblk0 disk /dev/mmcblk0p1 part /boot 5734-2D42