LLI Wiki — My Digital Knowledge Base

VMware: "sda: failed to get udev uid" error on Ubuntu 20.04

Set disk.EnableUUID on the VM to fix the udev uid error on Ubuntu 20.04.

On an Ubuntu 20.04 virtual machine running on VMware ESXi, the kernel or multipath may report an error such as sda: failed to get udev uid: Invalid argument. The cause is that the virtual disk does not expose a UUID to the guest operating system.

Fix

In the ESXi / vSphere UI, power off the VM, then open Edit Settings -> Options (VM Options) -> General -> Configuration Parameters and add the parameter:

disk.EnableUUID = "TRUE"

Then restart the VM. For multipath configuration on Ubuntu 20.04, see the discussion Ubuntu 20.04 multipath configuration.

Mastodon LLIMastodon SocialFosstodon