[OmniOS-discuss] Centos 7 LX brand -- lvmetad filling the system log -- instructions to disable it
Geoff Nordli
geoffn at gnaa.net
Sat Apr 15 01:13:02 UTC 2017
I am doing some testing on r151020 with the LX Brand.
I downloaded the latest Centos7 image.
https://docs.joyent.com/public-cloud/instances/infrastructure/images/centos#centos-7-20161213
I logged in and I was able to do a yum update on the image so everything
looks good.
One thing I noticed is the /var/log/messages is filling up with messages
like:
Apr 14 23:30:00 test2 lvmetad[7365]: Failed to accept connection errno 11.
Apr 14 23:30:00 test2 lvmetad[7365]: Failed to accept connection errno 11.
Apr 14 23:30:00 test2 lvmetad[7365]: Failed to accept connection errno 11.
Apr 14 23:30:00 test2 lvmetad[7365]: Failed to accept connection errno 11.
Apr 14 23:30:00 test2 lvmetad[7365]: Failed to accept connection errno 11.
Apr 14 23:30:00 test2 lvmetad: select error: Invalid argument
Apr 14 23:30:00 test2 lvmetad: select error: Invalid argument
Apr 14 23:30:00 test2 lvmetad: select error: Invalid argument
Not really sure why that daemon is required, since LX doesn't seem use
LVM to manage any disks.
To disable it I did the following:
1. Disable and stop the *lvm2-lvmetad service* by running the following
commands:
systemctl disable lvm2-lvmetad
systemctl stop lvm2-lvmetad
2. Disable and stop the *lvm2-lvmetad.socket* service by running the
following commands:
systemctl disable lvm2-lvmetad.socket
systemctl stop lvm2-lvmetad.socket
3. Disable *lvmetad* in the LVM config file by running the following
command:
edit /etc/lvm/lvm.conf to include use_lvmetad = 0
I am quite stoked about the LX brand!!
thanks,
Geoff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170414/19dfe4d3/attachment.html>
More information about the OmniOS-discuss
mailing list