Get Hard Drive UUID’s
So far I've found for CentOS and RedHat you just need to get a listing of the directory /dev/disk/by-uuid/ as shown here:
[root@uno vhosts]# ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 9 Jan 10 15:43 3ecf7894-ef6e-4fc4-a8fb-b26d358ad775 -> ../../sdd lrwxrwxrwx 1 root root 9 Jan 10 15:43 61a9142a-b78f-4c90-a476-5ac481d5cc73 -> ../../sdc lrwxrwxrwx 1 root root 10 Jan 10 15:43 808d3e8b-b8f9-41ae-a457-4e44dede3cd1 -> ../../sdf1 lrwxrwxrwx 1 root root 10 Jan 10 15:43 9f68a4e4-b166-4b22-8292-4cb263d341aa -> ../../sde1 lrwxrwxrwx 1 root root 9 Jan 10 15:43 d0e98842-e77c-402b-998c-41de47b359ba -> ../../sdb lrwxrwxrwx 1 root root 10 Jan 10 15:43 df5e34f5-dd65-47ba-8690-2f09702d7b27 -> ../../sda1
This information could help a lot. Mounting, resizing LVM's, etc.
1 Response
[…] Get Hard Drive UUID’s […]