On Wed, Jul 25, 2018 at 09:15:53AM +0200, kvaps wrote:
> Great, network options are fine.
> But what about those options and their units:
> 
>      disk {
>       c-fill-target 10M;
>       c-max-rate   720M;
>       c-plan-ahead   10;
>       c-min-rate    20M;
>      }
> 
> I didn't found any information about units used here in linstor, so I
> presume bytes?

That depends on the option. "linstor c drbd-options -h" shows you the
default unit.

> # linstor c drbd-options --c-max-rate=$((720*1024*1024))
> ...
> linstor controller drbd-options: error: argument --c-max-rate: Range:
> [250, 4194304]

c-max-rate is in bytes, yes. and 754974720 > 4194304, also true.

In the future there will also be "units", like "M" and so on, for now
you have to use absolute values, but that will change.

Regards, rck
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to