Bug 1597890
| Summary: | vdo growPhysical of a volume resized offline reports new physical block count as old physical block count | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Bryan Gurney <bgurney> |
| Component: | kmod-kvdo | Assignee: | Matthew Sakai <msakai> |
| Status: | CLOSED ERRATA | QA Contact: | Jakub Krysl <jkrysl> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.6 | CC: | awalsh, jkrysl |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 6.1.1.107 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-30 09:39:49 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
Bryan Gurney
2018-07-03 20:24:41 UTC
Thanks Bryan for creating the BZ, less work for me. :) I wanted to create it when I am sure the parent BZ 1582647 does not cause any regressions so it can go in. If any regressions are found, that fix might be completely different and this BZ might not be needed at all. # vdostats vdo --verbose | grep hysical\ blocks
physical blocks : 13106944
# vdo growPhysical --name=vdo --verbose
dmsetup status vdo
dmsetup message vdo 0 prepareToGrowPhysical
vdodmeventd -u vdo
dmsetup suspend vdo
dmsetup message vdo 0 growPhysical
vdodumpconfig /dev/disk/by-id/scsi-3600140550ade793f6124ab5b420f3c20-part1
dmsetup resume vdo
vdodmeventd -r vdo
# vdostats vdo --verbose | grep hysical\ blocks
physical blocks : 18349824
/var/log/messages:
[165564.457326] kvdo83:dmsetup: Preparing to resize physical to 18349824
[165564.493024] kvdo83:dmsetup: Done preparing to resize physical
[165564.530973] kvdo83:dmsetup: suspending device 'vdo'
[165564.554436] kvdo83:dmsetup: device 'vdo' suspended
[165564.829926] kvdo83:dmsetup: Physical block count was 13106944, now 18349824
[165564.874701] kvdo83:dmsetup: resuming device 'vdo'
[165564.896901] kvdo83:dmsetup: device 'vdo' resumed
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-2018:3094 |