Bug 2193241 - It appears 'vgck --updatemetadata' isn't updating anything
Summary: It appears 'vgck --updatemetadata' isn't updating anything
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: lvm2
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: LVM Team
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 19:56 UTC by Corey Marthaler
Modified: 2023-08-10 15:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-156454 0 None None None 2023-05-04 19:57:26 UTC

Description Corey Marthaler 2023-05-04 19:56:51 UTC
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


Note You need to log in before you can comment on or make changes to this bug.