On Tue, Oct 17, 2017 at 03:19:32PM +0200, Roberto Resoli wrote:
> In proxmox GUI drbd9 storage plugin reports as total size the aggregate
> cluster size:
>
> In file "/usr/share/perl5/PVE/Storage/Custom/DRBDPlugin.pm" at line 215
> the command
>
> drbdmanage list-free-space $redundancy -m
>
>
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
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.
Il 17/10/2017 15:19, Roberto Resoli ha scritto:
> drbdmanage list-free-space $redundancy -m
>
> is used to get $total_space and $free_space,
>
> but the first number returned is the "Aggregate cluster storage",
Sorry, it is the second number; for instance:
# drbdmanage free-space 3 -m