mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-08 01:18:32 +08:00
feat: Do not check RAM on ZFS
This commit is contained in:
parent
643f499347
commit
9ed341f010
@ -134,6 +134,8 @@ echo
|
|||||||
|
|
||||||
# Check memory
|
# Check memory
|
||||||
|
|
||||||
|
[[ "${FS,,}" == "zfs" ]] && RAM_CHECK="N"
|
||||||
|
|
||||||
if [[ "$RAM_CHECK" != [Nn]* ]]; then
|
if [[ "$RAM_CHECK" != [Nn]* ]]; then
|
||||||
if (( (RAM_WANTED + RAM_SPARE) > RAM_AVAIL )); then
|
if (( (RAM_WANTED + RAM_SPARE) > RAM_AVAIL )); then
|
||||||
error "Your configured RAM_SIZE of $WANTED_GB GB is too high for the $AVAIL_GB GB of memory available, please set a lower value."
|
error "Your configured RAM_SIZE of $WANTED_GB GB is too high for the $AVAIL_GB GB of memory available, please set a lower value."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user