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:
- Start the vSphere Client, and log in to a vCenter Server.
- Select Virtual Machines and Templates and click the Virtual Machines tab.
- Right-click the virtual machine for which you are enabling the disk UUID attribute, and select Power > Power Off.The virtual machine powers off.
- Right-click the virtual machine, and click Edit Settings.
- Click the Options tab, and select the General entry in the settings column.
- Click Configuration Parameters. The Configuration Parameters window appears.
- Click Add Row.
- In the Name column, enter disk.EnableUUID.
- In the Value column, enter TRUE.
- Click OK and click Save.
- Power on the virtual machine.