Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

Try:

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

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

blkid /dev/sda0
share|improve this answer
    
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. – ianc1215 Jul 30 '12 at 15:17
    
Physical disk's don't have UUID AFAIK. – Hugo Jul 30 '12 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. – ianc1215 Jul 30 '12 at 18:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .