mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
35cefa50fa
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 |
||
---|---|---|
.. | ||
config_settings.h | ||
config.c | ||
config.h | ||
defaults.h |