Red Hat Bugzilla – Bug 1591180
VDO volume is unable to growPhysical after device resize performed in previous boot [rhel-7.5.z]
Last modified: 2018-08-16 10:19:14 EDT
This bug has been copied from bug #1582647 and has been proposed to be backported to 7.5 z-stream (EUS).
kmod-kvdo-6.1.0.181-17.el7_5 kernel-3.10.0-862.10.2.el7 # vdo create --verbose --name vdo --device /dev/sdb1 Creating VDO vdo grep MemAvailable /proc/meminfo pvcreate -qq --test /dev/sdb1 modprobe kvdo vdoformat --uds-checkpoint-frequency=0 --uds-memory-size=0.25 /dev/sdb1 vdodumpconfig /dev/sdb1 Starting VDO vdo dmsetup status vdo grep MemAvailable /proc/meminfo modprobe kvdo vdodumpconfig /dev/sdb1 dmsetup create vdo --uuid VDO-dd46da51-a9e4-4c3a-aacd-123c830b9fc6 --table '0 75351184 vdo /dev/sdb1 4096 disabled 0 32768 16380 on auto vdo ack=1,bio=4,bioRotationInterval=64,cpu=2,hash=1,logical=1,physical=1' dmsetup status vdo Starting compression on VDO vdo dmsetup message vdo 0 compression on dmsetup status vdo dmsetup status vdo VDO instance 0 volume is ready at /dev/mapper/vdo # vdo stop --name vdo Stopping VDO vdo # parted /dev/sdb resizePart 1 50GiB Information: You may need to update /etc/fstab. # vdo start --name vdo Starting VDO vdo Starting compression on VDO vdo VDO instance 1 volume is ready at /dev/mapper/vdo # vdo status --name vdo | grep 'Physical size' Physical size: 41943036K # vdo growPhysical --name vdo --verbose dmsetup status vdo dmsetup message vdo 0 prepareToGrowPhysical dmsetup suspend vdo dmsetup message vdo 0 growPhysical vdodumpconfig /dev/sdb1 dmsetup resume vdo # vdo status --name vdo | grep 'Physical size' Physical size: 50G
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:2450