`trailing garbage` Warning Messages When Using DRBD Proxy v3
DRBD Proxy v3 might show messages similar to the following when used with DRBD Utils 9.30 or above:
trailing garbage '--memlimit=400M' ignored
You can safely ignore these messages.
If you want to get rid of the warnings, you can either:
- Use DRBD Proxy v4.
- Downgrade your DRBD Utils to 9.29.
DRBD Proxy version 4 is a rewrite of DRBD Proxy in the Rust programming language. During the rewriting, the LINBIT development team noticed that some options need to be set early to be effective. Setting these options early was not possible with Proxy v3 as it was. So Proxy v4 learned these as additional parameters to its setup commands.
The development team rewrote the drbdadm proxy-up
subcommand so that these parameters are set in a Proxy v3 and v4 “compatible” way:
An early setup call now sets these additional parameters, which are ignored as “trailing garbage” by Proxy version 3,
and sets them again in a later setup command, which is then ignored by Proxy version 4 as “nothing to do, value already set”.
You can observe this with drbdadm -d proxy-up
.
This behavior was introduced with DRBD Utils version 9.30. Values are still set with Proxy v3 even if it reports that it “ignored” them for the first occurrence. So you can safely ignore the warning messages.