use full-balance to safe 10 seconds waiting

This commit is contained in:
Tobias Powalowski 2021-09-15 20:25:39 +02:00
parent 9248740a02
commit 09e5d8fd76

View file

@ -2430,7 +2430,7 @@ _mkfs() {
return 1 return 1
fi fi
# btrfs needs balancing, else weird things could happen # btrfs needs balancing, else weird things could happen
[[ "${_fstype}" = "btrfs" ]] && btrfs balance start ${_dest}${_mountpoint} >${LOG} 2>&1 [[ "${_fstype}" = "btrfs" ]] && btrfs balance start --full-balance ${_dest}${_mountpoint} >${LOG} 2>&1
# change permission of base directories to correct permission # change permission of base directories to correct permission
# to avoid btrfs issues # to avoid btrfs issues
if [[ "${_mountpoint}" = "/tmp" ]]; then if [[ "${_mountpoint}" = "/tmp" ]]; then