I am running Ubuntu 12.04 LTS inside a VM running on VMware Workstation 8.0.4.

When I try to view the disks attached to the machine by their ID nothing shows up but the CD-ROM drive. I listing the disk by running ls -la /dev/disk/by-id

I need a way to uniquely identify the disk so I create a ZFS pool to test. They recommend disk by-id but anything would work I guess.

Any idea how I can get something to work?

1 Answer 1



ls -la /dev/disk/by-uuid/

Also running the following (as root), will print the UUID of a certain partition:

blkid /dev/sda0
  • 1
    It only shows me the IDs of partitions, I need IDs or physical disks. The disks are unformatted. I am starting to think this problem may be something with VMware. Jul 30, 2012 at 15:17
  • Physical disk's don't have UUID AFAIK.
    – WhyNotHugo
    Jul 30, 2012 at 18:12
  • I found this Suse support article that I think might explain what my problem is. novell.com/support/kb/doc.php?id=7002966 When I get off work I will give this a try. Jul 30, 2012 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.