Bug 1684249
| Summary: | vdo internal 'pvcreate --test' needs to set scan_lv to 1 due to lvm behavior change bug 1676598 when run on LV | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Corey Marthaler <cmarthal> | |
| Component: | vdo | Assignee: | bjohnsto | |
| Status: | CLOSED ERRATA | QA Contact: | vdo-qe | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.0 | CC: | awalsh, bgurney, bjohnsto, coughlan, mcsontos, mmcgrath, mvollmer, pmyers, toneata | |
| Target Milestone: | rc | Keywords: | Regression, ZStream | |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | 6.2.1.11 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1687797 1690970 (view as bug list) | Environment: | ||
| Last Closed: | 2019-11-05 22:12:27 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: | ||||
| Bug Depends On: | 1682564 | |||
| Bug Blocks: | 1652753, 1687797, 1690970 | |||
|
Description
Corey Marthaler
2019-02-28 19:58:57 UTC
I thought it is
<device> -> <PV_VG_LV> -> <VDO> -> whatever.
Is it in fact:
<device> -> <PV_VG_LV> -> <PV_VG_LV> -> <VDO> -> whatever
?
Why is "vdo create" creating another layer when used on LV?
Or is `pvcreate --test` the only thing vdo does, and is used to check block device properties/availability?
(In reply to Marian Csontos from comment #7) > I thought it is > > <device> -> <PV_VG_LV> -> <VDO> -> whatever. > > Is it in fact: > > <device> -> <PV_VG_LV> -> <PV_VG_LV> -> <VDO> -> whatever > We are using the former. "<device> -> <PV_VG_LV> -> <VDO> -> whatever" > Why is "vdo create" creating another layer when used on LV? > > Or is `pvcreate --test` the only thing vdo does, and is used to check block > device properties/availability? Yes, it is only used to check the block device for validation that it is not in use by something (like a filesystem, for example). *** Bug 1687391 has been marked as a duplicate of this bug. *** # vdo create --name vdo --device /dev/loop0 --verbose
[snip]
pvcreate --config devices/scan_lvs=1 -qq --test /dev/loop0
[snip]
VDO instance 0 volume is ready at /dev/mapper/vdo
# rpm -qa vdo
vdo-6.2.1.48-10.el8.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3548 |