Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-15344

change default search_for_devnames to all

    • lvm2-2.03.23-1.el9
    • None
    • None
    • ZStream
    • sst_logical_storage
    • ssg_filesystems_storage_and_HA
    • 22
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • None

      What were you trying to do that didn't work?

       

      Problematic scenario:

      device for a PV has no wwid, so it's identified in system.devices with IDTYPE=devname

      admin later enables a wwid on this device (apparently this is common in vmware)

      on reboot, the device name changes, as is typical.

      the code for finding the new device skips any devs with a wwid, on the assumption that the dev wouldn't be using IDTYPE=devname if the device has a wwid.  This code is an optimization that's enabled by search_for_devnames="auto".

      the optimization is disabled by using search_for_devnames="all", and in this case the renamed device will be located even though it has a new wwid.

      we should make "all" the default

      Please provide the package NVR for which bug is seen:

      How reproducible:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

            mcsontos@redhat.com Marian Csontos
            teigland@redhat.com David Teigland
            lvm-team lvm-team
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: