summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2015-11-11 13:13:54 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2015-11-11 13:14:07 +0100
commitf82e0210b7cb9f3926ef5051ca34a4ad383ba271 (patch)
treef6b191c7aa8006665d99a81d7bb9770c8e311dd5 /aclocal.m4
parent6d0db97163125b6f4c7e07b6aba2f27dd050d14b (diff)
downloadlvm2-f82e0210b7cb9f3926ef5051ca34a4ad383ba271.tar.gz
dev-ext: issue error if external_device_info_source=udev and udev db record incomplete
Udev db records are marked as not initialized (incomplete) on timeout. Issue an error message whenever LVM finds such records so users are aware that something's going wrong with udev db. This is important in case we use devices/external_device_info_source="udev" where udev database records are used to do various filtering decisions. For example: udev log of timed out worker: Nov 11 13:02:25 raw.virt systemd-udevd[607]: seq 1997 '/devices/virtual/block/dm-2' is taking a long time Nov 11 13:04:25 raw.virt systemd-udevd[607]: seq 1997 '/devices/virtual/block/dm-2' killed Nov 11 13:04:25 raw.virt systemd-udevd[607]: worker [11221] terminated by signal 9 (Killed) Nov 11 13:04:25 raw.virt systemd-udevd[607]: worker [11221] failed while handling '/devices/virtual/block/dm-2' ... LVM also issues error message visibly if incomplete udev db record is found, devices/external_device_info_source="udev" is set: $ pvs Udev database has incomplete information about device /dev/dm-2. Failed to get external handle for device /dev/dm-2 [udev]. ...
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions