Solved: Ubuntu Linux multipathd invalid argument

Solved: Ubuntu Linux multipathd invalid argument

If your VMware ESXi virtual Linux server syslog is filled with these kind of errors:

Apr 26 16:09:53 ubuntu2004 multipathd[728]: sda: failed to get udev uid: Invalid argument
Apr 26 16:09:53 ubuntu2004 multipathd[728]: sda: failed to get unknown uid: Invalid argument
Apr 26 16:09:53 ubuntu2004 multipathd[728]: sda: failed to get path uid

This might solve the issue.

By default VMWare doesn’t provide information needed by udev to generate /dev/disk/by-id. This can be done by setting the following:

  1. Start the vSphere Client, and log in to a vCenter Server.
  2. Select Virtual Machines and Templates and click the Virtual Machines tab.
  3. Right-click the virtual machine for which you are enabling the disk UUID attribute, and select Power > Power Off.The virtual machine powers off.
  4. Right-click the virtual machine, and click Edit Settings.
  5. Click the Options tab, and select the General entry in the settings column.
  6. Click Configuration Parameters. The Configuration Parameters window appears.
  7. Click Add Row.
  8. In the Name column, enter disk.EnableUUID.
  9. In the Value column, enter TRUE.
  10. Click OK and click Save.
  11. Power on the virtual machine.