mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-02-21 10:27:22 +08:00
fix: Reduce spare disk space threshold
This commit is contained in:
parent
6aa9096b72
commit
e9a48b19b0
@ -445,7 +445,7 @@ addDisk () {
|
||||
|
||||
if [[ "${DISK_SPACE,,}" == "max" || "${DISK_SPACE,,}" == "half" ]]; then
|
||||
|
||||
local SPARE=2147483648
|
||||
local SPARE=1073741824
|
||||
FREE=$(df --output=avail -B 1 "$DIR" | tail -n 1)
|
||||
|
||||
if [[ "${DISK_SPACE,,}" == "max" ]]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user