1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
David Teigland 9e9f02acf0 device_id: fix search for renamed device when the wwid is ignored
When a device has a wwid (from sysfs), but lvm ignores the wwid,
e.g. because it contains an unreliable "QEMU" value, then lvm
falls back to using IDTYPE=devname (the device name) as the
device id.  If the device name changes after reboot, then lvm
automatically searches for the PV on other devices to find the
new device name and correct system.devices.  When searching for
the PV, lvm skips looking at devices that would use other id types,
e.g. if a device would use a wwid and not a devname, then it
skips checking it.  However, it failed to account for the fact
that a device may have wwid that was ignored, in which case it
should be checked.
2022-01-25 10:47:50 -06:00
..
bcache-utils.c cov: ensure data is not derefenced 2021-09-20 14:26:09 +02:00
bcache.c cov: mask some warning about leakage 2021-09-20 14:26:09 +02:00
bcache.h bcache: use indirection table for fd 2020-09-18 15:10:11 -05:00
dev-cache.c hash: raise hash table size 2021-12-20 16:13:28 +01:00
dev-cache.h pvs_online: include devname in pvid files 2021-11-09 11:26:26 -06:00
dev-dasd.c cov: mask uninitialized value 2021-03-10 01:34:27 +01:00
dev-ext-udev-constants.h dev-type: check for DEVLINKS udev db variable existence if udev_device_get_is_initialized fn is not present 2016-09-06 13:21:29 +02:00
dev-ext.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-io.c make: opened can be needed for either defines case 2021-09-27 18:56:14 +02:00
dev-luks.c devices: rework libudev usage 2021-07-13 11:11:23 -05:00
dev-lvm1-pool.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-md.c devices: rework libudev usage 2021-07-13 11:11:23 -05:00
dev-mpath.c devices: exclude multipath components based on matching wwid 2021-11-18 17:41:00 -06:00
dev-swap.c devices: rework libudev usage 2021-07-13 11:11:23 -05:00
dev-type.c cov: add initilizer 2021-07-28 00:49:28 +02:00
dev-type.h devices: exclude multipath components based on matching wwid 2021-11-18 17:41:00 -06:00
device_id.c device_id: fix search for renamed device when the wwid is ignored 2022-01-25 10:47:50 -06:00
device_id.h devices: exclude multipath components based on matching wwid 2021-11-18 17:41:00 -06:00
device-types.h devices: recognise rbd (ceph rados block device) 2021-12-13 13:32:06 -06:00
device.h toollib: remove all devices list from process_each_pv 2021-10-13 17:29:32 -05:00
online.c online files: fix vgname check 2021-11-12 11:52:36 -06:00
online.h pvs_online: include devname in pvid files 2021-11-09 11:26:26 -06:00