- 1 Hyper-V 2012 R2: Pros and Cons of Generation 1 vs. Generation 2 VMs
- 2 Harnessing the Power of Hyper-V Network Virtual Switches
- 3 Working with SSH and Secure FTP Servers in Windows
- 4 Discover Windows 8's Hidden Server Features
- 5 Server Virtualization Customer Reviews: VMware, Hyper-V, XenServer and More
Using UUID to Deal With Disks
OK, so, first, how do you find out the UUID of your disk? The command blkid can be used here's its output for one of my disks:
# blkid /dev/hda1 /dev/hda1: UUID="0ef96300-36c0-4575-8a1d-2d36ff4cd585" SEC_TYPE="ext2" TYPE="ext3"
You can also do this the other way around, starting from the UUID: findfs UUID=uuid will tell you which disk is associated with that UUID.
Once you have the UUID of a device, you can use it with mount by using the -U switch:
mount -U 0ef96300-36c0-4575-8a1d-2d36ff4cd585 /mnt/disk1
To assign a UUID to a disk, use tunefs. You can generate your own UUID with the command uuidgen. Then type:
tune2fs -U uuid /dev/sda2