VMware VM multipath sda missing path error

If encounter multipath error in syslog when running Ubuntu VM in VMware ESXi, there is 2 option to resolve the issue.

Dec 29 13:18:37 ubuntu multipathd[633]: sda: add missing path
Dec 29 13:18:37 ubuntu multipathd[633]: sda: failed to get udev uid: Invalid argument
Dec 29 13:18:37 ubuntu multipathd[633]: sda: failed to get sysfs uid: Invalid argument
Dec 29 13:18:37 ubuntu multipathd[633]: sda: failed to get sgio uid: No such file or directory
Dec 29 13:18:42 ubuntu multipathd[633]: sda: add missing path
Dec 29 13:18:42 ubuntu multipathd[633]: sda: failed to get udev uid: Invalid argument
Dec 29 13:18:42 ubuntu multipathd[633]: sda: failed to get sysfs uid: Invalid argument
Dec 29 13:18:42 ubuntu multipathd[633]: sda: failed to get sgio uid: No such file or directory

Option 1:

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.

4. The virtual machine powers off.

5. Right-click the virtual machine, and click Edit Settings.

6. Click the Options tab, and select the General entry in the settings column.

7. Click Configuration Parameters. The Configuration Parameters window appears.

8. Click Add Row.

9. In the Name column, enter disk.EnableUUID.

10. In the Value column, enter TRUE.

11. Click OK and click Save.

12. Power on the virtual machine.

Option 2:

1. Edit /etc/multipath.conf with below update.

defaults {
    user_friendly_names yes
}
blacklist {
    devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st|sda)[0-9]*"
}

2. Restart multipathd service.

sudo systemctl restart multipathd 

Comments