Bug 1986885
| Summary: | vdoimport "Command failed. Volume group not found" errors during create | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Corey Marthaler <cmarthal> | |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> | |
| lvm2 sub component: | VDO | QA Contact: | cluster-qe <cluster-qe> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | low | |||
| Priority: | urgent | CC: | agk, awalsh, heinzm, jbrassow, lmiksik, mcsontos, prajnoha, zkabelac | |
| Version: | 8.5 | Keywords: | Triaged | |
| Target Milestone: | beta | Flags: | pm-rhel:
mirror+
|
|
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | lvm2-2.03.12-9.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2005001 (view as bug list) | Environment: | ||
| Last Closed: | 2021-11-09 19:45:54 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: | ||||
| Bug Blocks: | 1930261, 2005001 | |||
|
Description
Corey Marthaler
2021-07-28 13:41:56 UTC
Pushed https://listman.redhat.com/archives/lvm-devel/2021-August/msg00044.html to hide messages. Scratch build: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=39647501 Repo: http://brew-task-repos.usersys.redhat.com/repos/scratch/mcsontos/lvm2/2.03.12/9.el8/ The "Command failed." warnings are fixed in the latest scratch build. Marking Verified:Tested
kernel-4.18.0-340.el8 BUILT: Thu Sep 2 16:16:14 CDT 2021
lvm2-2.03.12-9.el8 BUILT: Tue Sep 14 09:53:56 CDT 2021
lvm2-libs-2.03.12-9.el8 BUILT: Tue Sep 14 09:53:56 CDT 2021
[root@hayes-03 ~]# vdo create --force --name lvm_import_vdo_sanity --vdoLogicalSize 500G --device /dev/sdd1
Creating VDO lvm_import_vdo_sanity
The VDO volume can address 442 GB in 221 data slabs, each 2 GB.
It can grow to address at most 16 TB of physical storage in 8192 slabs.
If a larger maximum size might be needed, use bigger slabs.
Starting VDO lvm_import_vdo_sanity
Starting compression on VDO lvm_import_vdo_sanity
VDO instance 44 volume is ready at /dev/mapper/lvm_import_vdo_sanity
[root@hayes-03 ~]# lvm_import_vdo --yes --name newVG/newLV /dev/sdd1
Stopping VDO lvm_import_vdo_sanity
Converting VDO lvm_import_vdo_sanity
Opening /dev/disk/by-id/scsi-36d09466083d8e100233c17f9212bf63e-part1 exclusively
Loading the VDO superblock and volume geometry
Checking the VDO state
Converting the UDS index
Converting the VDO
Conversion completed for '/dev/disk/by-id/scsi-36d09466083d8e100233c17f9212bf63e-part1': VDO is now offset by 2097152 bytes
Physical volume "/dev/sdd1" successfully created.
Volume group "newVG" successfully created
WARNING: Logical volume newVG/newLV_vpool not zeroed.
Logical volume "newLV_vpool" created.
WARNING: Converting logical volume newVG/newLV_vpool to VDO pool volume WITHOUT formating.
WARNING: Using invalid VDO pool data MAY DESTROY YOUR DATA!
Logical volume "newLV" created.
Converted newVG/newLV_vpool to VDO pool volume and created virtual newVG/newLV VDO volume.
Marking verified in the latest rpms.
kernel-4.18.0-343.el8 BUILT: Thu Sep 16 18:25:30 CDT 2021
lvm2-2.03.12-10.el8 BUILT: Mon Sep 20 03:30:20 CDT 2021
lvm2-libs-2.03.12-10.el8 BUILT: Mon Sep 20 03:30:20 CDT 2021
[root@hayes-03 ~]# lvm_import_vdo --yes --name newVG/newLV /dev/sdd1
Stopping VDO lvm_import_vdo_sanity
Converting VDO lvm_import_vdo_sanity
Opening /dev/disk/by-id/scsi-36d09466083d8e100233c17f9212bf63e-part1 exclusively
Loading the VDO superblock and volume geometry
Checking the VDO state
Converting the UDS index
Converting the VDO
Conversion completed for '/dev/disk/by-id/scsi-36d09466083d8e100233c17f9212bf63e-part1': VDO is now offset by 2097152 bytes
Physical volume "/dev/sdd1" successfully created.
Volume group "newVG" successfully created
WARNING: Logical volume newVG/newLV_vpool not zeroed.
Logical volume "newLV_vpool" created.
WARNING: Converting logical volume newVG/newLV_vpool to VDO pool volume WITHOUT formating.
WARNING: Using invalid VDO pool data MAY DESTROY YOUR DATA!
Logical volume "newLV" created.
Converted newVG/newLV_vpool to VDO pool volume and created virtual newVG/newLV VDO volume.
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 (lvm2 bug fix and enhancement update), 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-2021:4431 |