[DRBD-user] drbdmanage-proxmox reports wrong total size for drbd storage

Roberto Resoli roberto at resolutions.it
Tue Oct 17 16:41:10 CEST 2017

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Il 17/10/2017 16:25, Robert Altnoeder ha scritto:
> On 2017/10/17 3:19 PM, Roberto Resoli wrote:
>> but the second [editor's note] number returned is the
>> "Aggregate cluster storage", as stated by the output
>> of the same command without the "machine-readable"
>> flag (-m).
>>
>> It should be divided by $redundancy in order to obtain the correct value.
> Actually, rather an approximate value than the correct one.

yes

> The value reported as free space for the specified redundancy takes meta
> data into account, using the currently configured maximum peers value.
> It is supposed to be the maximum size of a single volume that can be
> created with the specified redundancy, but even this value is only
> half-way correct. E.g., creating two volumes with half the size each
> would still fail due to fixed meta data overhead per volume.
> 
> That being said, what is or is not a correct value is mostly a question
> of interpretation.

Ok, thanks for the explanation.

> It would possibly make more sense to simply query free-space for the
> currently configured redundancy and report free space as total space in
> the Proxmox GUI.

Do you mean to display free space only? I do not know if this is
feasible; in pve GUI interface (and even more in command line one, see
"pvesm" ) Total, Used and Available space are clearly specified.

rob



More information about the drbd-user mailing list