POC CentOS 5.5
1. Add memory in VM
2. Run this command to check the state of the memory, looking for memory that appears offline.
#grep offline /sys/devices/system/memory/*/state
3. If memory appears as offline, set it to online with the command:
#echo online > /sys/devices/system/memory/memory[number]/state
Note: I'm using for loop to run above command in one shot on all memory slots.
[root@linuxbug]# for qw in `grep offline /sys/devices/system/memory/*/state | awk -F':' '{print $1}'`; do echo online > $qw; done
4. Verify memory
#free -m
Enjoy!!!
No comments:
Post a Comment