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

It appears 'vgck --updatemetadata' isn't updating anything

    • None
    • None
    • rhel-sst-logical-storage
    • ssg_filesystems_storage_and_HA
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      Should 'vgck --updatemetadata' either fail here, if it can't update anything or actually update something so that following 'vgck' commands no longer fail?

      [root@grant-03 ~]# vgck vdo_sanity
      WARNING: Couldn't find device with uuid rA54WT-eGJ6-RCcv-V2Ki-Fmll-UwKg-vmrX6b.
      WARNING: VG vdo_sanity is missing PV rA54WT-eGJ6-RCcv-V2Ki-Fmll-UwKg-vmrX6b (last written to [unknown]).
      The volume group is missing 1 physical volumes.
      [root@grant-03 ~]# echo $?
      5

      [root@grant-03 ~]# vgck --updatemetadata vdo_sanity
      WARNING: Couldn't find device with uuid rA54WT-eGJ6-RCcv-V2Ki-Fmll-UwKg-vmrX6b.
      WARNING: VG vdo_sanity is missing PV rA54WT-eGJ6-RCcv-V2Ki-Fmll-UwKg-vmrX6b (last written to [unknown]).
      WARNING: Couldn't find device with uuid rA54WT-eGJ6-RCcv-V2Ki-Fmll-UwKg-vmrX6b.
      WARNING: Couldn't find device with uuid rA54WT-eGJ6-RCcv-V2Ki-Fmll-UwKg-vmrX6b.
      [root@grant-03 ~]# echo $?
      0

      [root@grant-03 ~]# vgck vdo_sanity
      WARNING: Couldn't find device with uuid rA54WT-eGJ6-RCcv-V2Ki-Fmll-UwKg-vmrX6b.
      WARNING: VG vdo_sanity is missing PV rA54WT-eGJ6-RCcv-V2Ki-Fmll-UwKg-vmrX6b (last written to [unknown]).
      The volume group is missing 1 physical volumes.
      [root@grant-03 ~]# echo $?
      5

      Version-Release number of selected component (if applicable):
      lvm2-2.03.21-1.el9 BUILT: Fri Apr 21 02:33:33 PM CEST 2023
      lvm2-libs-2.03.21-1.el9 BUILT: Fri Apr 21 02:33:33 PM CEST 2023

              lvm-team lvm-team
              cmarthal@redhat.com Corey Marthaler
              lvm-team lvm-team
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: