multipathd and vmware

Posted on Apr 21, 2021

do you use linux based systems with vmware?

ever seen something like this in your syslog?

Apr 21 03:51:46 database multipathd[712]: sda: add missing path
Apr 21 03:51:46 database multipathd[712]: sda: failed to get udev uid: Invalid argument
Apr 21 03:51:46 database multipathd[712]: sda: failed to get sysfs uid: Invalid argument
Apr 21 03:51:46 database multipathd[712]: sda: failed to get sgio uid: No such file or directory

it’s actually easy to fix.

login to esxi or vsphere and locate the troublesome VM.

  1. Edit Settings
  2. Options tab
  3. General
  4. Configuration Parameters

in there creat a ’new paramenter’ and use this:

disk.EnableUUID = "TRUE"

lastly, you’ll need to cold start the VM for this to take, reboots don’t work. shutdown/startup and you’re done.