marsadm: hint when marsadm resize is possible

This commit is contained in:
Thomas Schoebel-Theuer 2019-09-06 11:53:05 +02:00 committed by Thomas Schoebel-Theuer
parent 6e6f044a25
commit b1e82a6aaf
1 changed files with 3 additions and 0 deletions

View File

@ -5034,6 +5034,9 @@ my %complex_macros =
. "%if{%>{%-{%disk-size{}}{%resource-size{}}}{%{threshold}}}{"
. " Hint: you are wasting %human-numbers{}{ }{ }{%-{%disk-size{}}{%resource-size{}}} on disk %get-disk{}\n"
. "}"
. "%if{%>{%resource-possible-size{}}{%resource-size{}}}{"
. " Hint: marsadm resize would increase resource %{res} by %human-numbers{}{ }{ }{%-{%resource-possible-size{}}{%resource-size{}}}\n"
. "}"
. "%if{%and{%not{%is-primary{}}}{%is-attach{}}}{"
. "%if{%not{%sync-reached{}}}{"
. "%include{syncinfo}"