forked from rancher/os
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
It seems that memory hotplug generates error like this to dmesg

and added memory is not available
Workaround is to run this script as root
# Bring all new Memory online
for RAM in $(grep line /sys/devices/system/memory/*/state)
do
echo "Found ram: ${RAM} ..."
if [[ "${RAM}" == *":offline" ]]; then
echo "Bringing online"
echo $RAM | sed "s/:offline$//"|sed "s/^/echo online > /"|source /dev/stdin
else
echo "Already online"
fi
doneMetadata
Metadata
Assignees
Labels
Type
Projects
Status
No status