Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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. –  Solignis 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. –  Solignis Jul 30 '12 at 18:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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