lvm thin pool create can not set chunksize or poolmetadatasize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
In same cases, the size of thin pool metadata is insufficient,
and the initialize of cinder volume LVM Thin Provisioning will create a thin pool
by 'lvcreate -T -L size_str vg_pool_name '.
The param of chunksize is related to thin_pool_
and the param of poolmetadatasize is calculate by the formula 'Pool_LV_size / Pool_LV_chunk_size * 64b'.
I think the chunksize can be set in cinder.conf and decouple with lvm.conf, and the value should be set in command
'lvcreate -T -L size_str vg_pool_name' like 'lvcreate -T -L <size_str> --poolmetadatasize <poolmetadatasi
And I find that the poolmetadatasize is not calculate by the formula in some compute host if the param not set in the
command 'lvcreate -T -L size_str vg_pool_name '.