diff --git a/src/bin/utils/predict_usage.rs b/src/bin/utils/predict_usage.rs index dc158b7b62..508ccc1b35 100644 --- a/src/bin/utils/predict_usage.rs +++ b/src/bin/utils/predict_usage.rs @@ -183,7 +183,8 @@ impl V2usage { r.checked_sub(*self.raid_metadata_alloc) }) .and_then(|r| { - let integrity_deduction = integrity_meta_space(s); + let integrity_deduction = + integrity_meta_space(s - self.stratis_metadata_alloc); eprintln!("Deduction for integrity space: {:}", integrity_deduction); r.checked_sub(*integrity_deduction) })