1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
David Teigland 35cefa50fa device_id: change default search_for_devnames to all
Problematic scenario:
. the device for a PV has no wwid, so it's identified in system.devices
  with IDTYPE=devname IDNAME=/dev/foo
. user adds/enables a wwid for the device
. on reboot, the device name changes, e.g. now /dev/bar
. the code that searches for the new device name includes an
  optimization to skip looking on devs that have a wwid, on
  the basis that a device with a wwid won't have IDTYPE=devname
. this optimization causes lvm to not look for the PV on /dev/bar
  since that device now has a wwid, so the PV is not found
. the optimization is enabled by search_for_devnames="auto"
. change the default to search_for_devnames="all" which does not
  use the problematic optimization
2023-11-02 13:00:50 -05:00
..
config_settings.h devices: refresh device ids if the system changes 2023-09-27 15:22:11 -05:00
config.c debug: add backtraces 2023-06-23 18:08:03 +02:00
config.h lvmconfig: add --valuesonly option 2022-08-17 10:47:24 +02:00
defaults.h device_id: change default search_for_devnames to all 2023-11-02 13:00:50 -05:00