[DRBD-user] Linstor global drbd-options

Roland Kammerer roland.kammerer at linbit.com
Wed Jul 25 10:03:24 CEST 2018


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


More information about the drbd-user mailing list