gluster-ansible-infra icon indicating copy to clipboard operation
gluster-ansible-infra copied to clipboard

Create thick LV is broken

Open stobbsm opened this issue 1 year ago • 0 comments

The current implementation has a default value of 100%FREE, but is using the -L|--size argument, which only allows physical sizes like 100G.

I would like to suggest changing the default -L 100%FREE to the more acceptable -l 100%FREE, which won't fail on run. I'm not an ansible genius, but it should be possible to have different settings, ie. lvextentsize and lvbytesize, and to favour one over another.

Maybe set the default of lvextentsize, but if lvbytesize is defined, use that, which will be -L {SIZE}[M|G|T]

stobbsm avatar Jan 14 '24 19:01 stobbsm