Bug 1564181
Summary: | vdo create --vdoSlabSize allows 0 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jakub Krysl <jkrysl> |
Component: | vdo | Assignee: | Joseph Chapman <jochapma> |
Status: | CLOSED ERRATA | QA Contact: | Jakub Krysl <jkrysl> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.5 | CC: | awalsh, bgurney, jkrysl, jochapma, limershe |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 6.1.1.79 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 09:39:22 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
Jakub Krysl
2018-04-05 14:58:51 UTC
At the very least, we should be consistent. If other options allow '0' to imply the 'default', then this should as well. It should also be documented, if it is not. My general preference is that we shouldn't allow '0' to imply 'default', but I think that merits a larger discussion. (In reply to Andy Walsh from comment #2) > At the very least, we should be consistent. If other options allow '0' to > imply the 'default', then this should as well. It should also be > documented, if it is not. > > My general preference is that we shouldn't allow '0' to imply 'default', but > I think that merits a larger discussion. I agree with Andy, to the user, 0 != default Tested on: RHEL-7.6-20180626.0 kernel-3.10.0-915.el7 kmod-vdo-6.1.1.99-1.el7 vdo-6.1.1.99-2.el7 # vdo create --name vdo --device /dev/sdb --vdoSlabSize 0 usage: vdo create [-h] -n <volume> --device <devicepath> [--activate {disabled,enabled}] [--blockMapCacheSize <megabytes>] [--blockMapPeriod <period>] [--compression {disabled,enabled}] [--deduplication {disabled,enabled}] [--emulate512 {disabled,enabled}] [--force] [--indexMem <gigabytes>] [--readCache {disabled,enabled}] [--readCacheSize <megabytes>] [--sparseIndex {disabled,enabled}] [--vdoAckThreads <threadCount>] [--vdoBioRotationInterval <ioCount>] [--vdoBioThreads <threadCount>] [--vdoCpuThreads <threadCount>] [--vdoHashZoneThreads <threadCount>] [--vdoLogicalSize <megabytes>] [--vdoLogicalThreads <threadCount>] [--vdoLogLevel {critical,error,warning,notice,info,debug}] [--vdoPhysicalThreads <threadCount>] [--vdoSlabSize <megabytes>] [--writePolicy {async,sync,auto}] [-f <file>] [--logfile <pathname>] [--verbose] vdo create: error: argument --vdoSlabSize: must be a power of two between 128M and 32G 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 |