Bug 1683945
Summary: | [RFE] lvm should hint on minimal native vdo volume size | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Roman Bednář <rbednar> |
Component: | vdo | Assignee: | bjohnsto |
Status: | CLOSED ERRATA | QA Contact: | Filip Suba <fsuba> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.1 | CC: | agk, awalsh, corwin, fsuba, heinzm, jbrassow, msnitzer, prajnoha, zkabelac |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 6.2.3.97 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-04 02:01:16 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
Roman Bednář
2019-02-28 07:57:35 UTC
Bruce, would you be willing to take a stab at a patch for this? Since this is more of a 'vdoformat' utility change, I'm moving the bug to the vdo component. Verified with latest rpms, VDO now hints users what the min size should be in bytes. # lvcreate --type vdo -L4.70g vg Rounding up size to full physical extent 4.70 GiB Minimum required size for VDO volume: 5063921664 bytes vdoformat: formatVDO failed on '/dev/vg/vpool0': VDO Status: Out of space Command /usr/bin/vdoformat failed. Cannot format VDO pool volume vg/vpool0. # lvcreate --type vdo -L4.72g vg Rounding up size to full physical extent 4.72 GiB Logical blocks defaulted to 523108 blocks. The VDO volume can address 2 GB in 1 data slab. 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. Logical volume "lvol0" created. # rpm -qa | egrep "lvm2|vdo" | sort kmod-kvdo-6.2.3.107-73.el8.x86_64 lvm2-2.03.09-3.el8.x86_64 lvm2-libs-2.03.09-3.el8.x86_64 lvm2-lockd-2.03.09-3.el8.x86_64 vdo-6.2.3.107-14.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 (kmod-kvdo 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-2020:4551 |