multipathd error … sda: failed to get sgio uid: No such file or directory => HowToSolve !

I noticed on my ESXi Ubuntu VM’s that syslog is filling up with messages from multipathd…

multipathd[728]: sda: add missing path
multipathd[728]: sda: failed to get udev uid: Invalid argument
multipathd[728]: sda: failed to get sysfs uid: Invalid argument
multipathd[728]: sda: failed to get sgio uid: No such file or directory

This is happening every five seconds, and it’s not only annoying, I wondered what is wrong.

$ sudo fdisk -l
<…snip…>

Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2594FF21-D82C-4B56-8CD6-9E352E48770A

Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 2101247 2097152 1G Linux filesystem
/dev/sda3 2101248 104855551 102754304 49G Linux filesystem

<…snip…>

I followed the steps in this article that resolved it for me. https://www.suse.com/support/kb/doc/?id=000016951

From that page, here are the instructions I followed:

Situation

There is no link in /dev/disk/by-id for SCSI (sdx) devices. The OS is running as a guest on VMWare ESX

Resolution

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.
  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.

Note : Don’t try adding the disk.EnabledUUID on a running machine and reboot the VM afterwards. I tried this and that certainly does not work at all.

Visitor Score
[Total: 0 Average: 0]