backup on 1.9 and restore on 2.1 weird error

copymaster

Member
Nov 25, 2009
183
0
16
Hi!

I have a cluster (proxmox 1.9) with 4 nodes running kvm machines windows 2008 and linux servers.
All machines have 8 GB RAM configured.
When i do a backup of all machines and restore them on a 4-node proxmox 2.1 cluster, all seems well.

But when i try to start a LINUX server on Proxmox 2.1, i get a strange error:
CANNOT ALLOCATE MEMORY.

WIndows servers can be started as expected!

When i configure the linux servers to use only 4GB ram on proxmox 2.1, the machine is starting..

WHY?
 
2.1 uses vswap -its a complete different approach in contrast to 1.9. you should set the new RAM/SWAP settings via gui and click at least one time on save.

if your container runs out of memory, check inside the CT which programm consumes to much ram.
 
Thank you, Tom

But it does not help.
I already checked different things on the server.
Server has 40 GB of RAM and there are 6 Virtual machines on it. All stopped.
on Terminal a "free" gave me:

total used free shared buffers cached
Mem: 4043060 2507044 1536016 0 7328 2209308
-/+ buffers/cache: 290408 3752652
Swap: 4194296 100424 4093872

So there is enough ram for the kvm machines.
I tested all settings and got the magic border:

When using exactly 7708 MB of RAM, the machine starts. But with 7709MB it fails.

I also tested a complete new VM with the same result. Any ideas?!
 
pve-manager: 2.1-13 (pve-manager/2.1/bdd3663d)
running kernel: 2.6.32-13-pve
proxmox-ve-2.6.32: 2.1-72
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-13-pve: 2.6.32-72
pve-kernel-2.6.32-12-pve: 2.6.32-68
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.92-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.8-1
pve-cluster: 1.0-27
qemu-server: 2.0-47
pve-firmware: 1.0-17
libpve-common-perl: 1.0-28
libpve-access-control: 1.0-24
libpve-storage-perl: 2.0-29
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.1-6
ksm-control-daemon: 1.1-1
 
seems I misunderstood something. you run KVM guests only? so forget the vswap, this is for OpenVZ only.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!