Description of problem:
from the manpage of lvcreate.
>>>snip>>
-c, --chunksize ChunkSize
Power of 2 chunk size in sector units (512b). For snapshot logical volume the value must be between 8 (4KB) and 1024 (512KB) and the default value is 8. For thin pool logical volume the value must be between 128 (64KB) and 2097152 (1MB) and the default value is 128.
>>>snip>>>
actually result :
1. wrong chunksize range in the error message
# lvcreate -c 32 -l 2 -T vg/pool1
lvcreate Chunk size must be a power of 2 in the range 64K to 64K
lvcreate Run `lvcreate --help' for more information.
2. the max thinp supported chunksize is beyond 1024
# lvcreate -c 2048 -l 10 -T vg/pool3
# lvs -o lv_name,thin_count,chunksize vg/pool3
lvs LV #Thi Chunk
lvs pool3 0 2.00m
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info: