I personally prefer FreeBSD operating system to Linux, however, there are applications which is better to run on top of Linux. When playing with Linux, I usually choose Ubuntu. After fresh Ubuntu installation, I realized a lot of entries within log (/var/log/syslog) which is annoying.
Mar 1 00:00:05 newrelic multipathd[689]: sda: add missing path
Mar 1 00:00:05 newrelic multipathd[689]: sda: failed to get udev uid: Invalid argument
Mar 1 00:00:05 newrelic multipathd[689]: sda: failed to get sysfs uid: Invalid argument
Mar 1 00:00:05 newrelic multipathd[689]: sda: failed to get sgio uid: No such file or directory
Mar 1 00:00:10 newrelic multipathd[689]: sda: add missing path
Mar 1 00:00:10 newrelic multipathd[689]: sda: failed to get udev uid: Invalid argument
Mar 1 00:00:10 newrelic multipathd[689]: sda: failed to get sysfs uid: Invalid argument
Mar 1 00:00:10 newrelic multipathd[689]: sda: failed to get sgio uid: No such file or directory
Mar 1 00:00:05 newrelic multipathd[689]: sda: failed to get udev uid: Invalid argument
Mar 1 00:00:05 newrelic multipathd[689]: sda: failed to get sysfs uid: Invalid argument
Mar 1 00:00:05 newrelic multipathd[689]: sda: failed to get sgio uid: No such file or directory
Mar 1 00:00:10 newrelic multipathd[689]: sda: add missing path
Mar 1 00:00:10 newrelic multipathd[689]: sda: failed to get udev uid: Invalid argument
Mar 1 00:00:10 newrelic multipathd[689]: sda: failed to get sysfs uid: Invalid argument
Mar 1 00:00:10 newrelic multipathd[689]: sda: failed to get sgio uid: No such file or directory
It is worth mentioning that Ubuntu Linux is the Guest OS within a virtual machine running on top of VMware vSphere Hypervisor (ESXi host).
After a quick googling I have found several articles with the solution ...
The solution is very simple ...
The problem is that VMWare by default doesn't provide the information needed by udev to generate /dev/disk/by-id entries. The resolution is to put
disk.EnableUUID = "TRUE"
into VM advanced settings.
If you use vSphere Client connected to vCenter, you have to
- Power Off particular Virtual Machine
- Go to Virtual Machine -> Edit Settings
- Select tab VM Options
- Expand Advanced section
- Click EDIT CONFIGURATION
- Add New Configuration Parameter (disk.EnableUUID with the value TRUE)
- Save the advanced settings
- Power On Virtual machine
Below are screenshots from my home lab ...
Hope this helps someone else within the VMware community.
No comments:
Post a Comment