mirror of https://github.com/schoebel/mars
marsadm: hint when marsadm resize is possible
This commit is contained in:
parent
6e6f044a25
commit
b1e82a6aaf
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue