The current _notrun call states that the scratch device is too small but does not specify the required size. Simply update the _notrun messages. Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx> --- common/rc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/rc b/common/rc index 50dde313b851..5680995b2366 100644 --- a/common/rc +++ b/common/rc @@ -1834,7 +1834,8 @@ _require_scratch_size() _require_scratch local devsize=`_get_device_size $SCRATCH_DEV` - [ $devsize -lt $1 ] && _notrun "scratch dev too small" + [ $devsize -lt $1 ] && \ +_notrun "scratch device $SCRATCH_DEV should be minimum $1, currently $devsize" } # require a scratch dev of a minimum size (in kb) and should not be checked @@ -1845,7 +1846,8 @@ _require_scratch_size_nocheck() _require_scratch_nocheck local devsize=`_get_device_size $SCRATCH_DEV` - [ $devsize -lt $1 ] && _notrun "scratch dev too small" + [ $devsize -lt $1 ] && \ +_notrun "require scratch device $SCRATCH_DEV atleast $1, currently $devsize" } # Require scratch fs which supports >16T of filesystem size. -- 2.39.3