Bug 1838681
Summary: | Req: Notification of Old PV Headers Throughout | ||
---|---|---|---|
Product: | [Community] LVM and device-mapper | Reporter: | mtoecker <toecker> |
Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> |
lvm2 sub component: | Activating existing Logical Volumes | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED INSUFFICIENT_DATA | Docs Contact: | |
Severity: | low | ||
Priority: | unspecified | CC: | agk, bugzilla.redhat.com.klox, heinzm, jbrassow, msnitzer, prajnoha, teigland, thornber, zkabelac |
Version: | 2.00.07 | Flags: | pm-rhel:
lvm-technical-solution?
pm-rhel: lvm-test-coverage? |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-22 19:46:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
mtoecker
2020-05-21 14:58:33 UTC
> I was unable to activate the volume at all, was given > warnings about size . vgchange -ay was similarly unsuccessful. Activation works fine for me with these warnings, was there any other error message? > Actual results: > VGchange results in VG and LV not activating. SYSLOG shows similar warnings > to vgck(). Requires vgck() to scan and correct the issue. ONce corrected, > VG activiates just fine. Probably should be an ERROR since the PV header > stops execution and requires a correction from vgck() Can you copy the actual command output from the failing commands? (Or even better the -vvvv output of the failing activation command?) Activating a VG or LV works fine for me with the old header and the warnings (see below). > mount and give ERROR for not being able to mount due to PV header being out > of date. I believe you're referring to the lvm activation command, and not the fs mount command? # lvs f4 WARNING: PV /dev/sdf in VG f4 is using an old PV header, modify the VG to update. LV VG Attr LSize lvol0 f4 -wi------- 4.00m # lvchange -ay f4 WARNING: PV /dev/sdf in VG f4 is using an old PV header, modify the VG to update. # lvs f4 WARNING: PV /dev/sdf in VG f4 is using an old PV header, modify the VG to update. LV VG Attr LSize lvol0 f4 -wi-a----- 4.00m # lvchange -an f4 WARNING: PV /dev/sdf in VG f4 is using an old PV header, modify the VG to update. # vgck --updatemetadata f4 WARNING: PV /dev/sdf in VG f4 is using an old PV header, modify the VG to update. WARNING: updating PV header on /dev/sdf for VG f4. # lvs f4 LV VG Attr LSize lvol0 f4 -wi------- 4.00m I will attempt again on my machine this week, apologies for the silence on my part. Mike |