Identifying Virtual Disks in the OS

Dan Schaefer

New Member
May 29, 2012
8
0
1
Akron, Ohio, United States
Assume that I have created a new KVM with a single 20GB Virtual Disk. After installing the OS and shutting down the machine, I add 2 more 20GB virtual drives. So now I have virtio0, virtio1, and virtio2. After booting my Linux box, how do I determine which drive is which without assuming that vda, vdb, and vdc are virtio0, virtio1, and virtio2, respectively? Perhaps I added a 4th virtual drive and removed the second to confuse the OS and didn't document that and came back to it a month later. Now which is which? Are there any commands I can run in the monitor to find the UUID of the drive?

Thank you for your help in advance.