[SOLVED] Backup to FreeNAS NFS, VM freeze

SergejA

Active Member
Mar 8, 2018
2
2
43
37
Hello.
I installed 3 nodes Proxmox 5.0 cluster.
2 nodes host all needed VMs and 3rd has only one VM with FreeNAS for backups.
FreeNAS has NFS share.
FreeNAS has 10GB RAM, 16GB RAIDZ2
Nodes connected via 1Gb lan.

When I start backup to NFS share, periodicaly I see read/write speed around 0-10MB/s.
2018-03-08_12-49-58 (2).png

2018-03-07_08-48-32.png

At this moment VM, which I backup, freezes. top shows iowait ~ 25
And I see messages like that:
2018-03-08_12-49-01.png


But if I perform backup to local storage, all goes OK, no freezes and speed lags.

2018-03-08_13-14-40 (2).png

Please, help me, what I have to check?
 
This sounds like a problem I had too with vzdump backup -> https://forum.proxmox.com/threads/ha-manager-vms-going-in-error-state.40766/

massive NFS writes (that's not only related to vzdump) tend to fill up all buffers and make machines unresponsible for some seconds. We observe such a behavior also with ubuntu desktops writing large (multi GByte files) to NFS Storages.

I would suggest setting bwlimit inside /etc/vzdump.conf, that helped with my problem. I had even hosts fenced by HW Watchdog during backup

maybe it is better to limit backup bandwith anyway to keep I/O stress down to keep VM's in responsive state. Backup is a good thing of course, but I think it can run in background with lower speed as long as the backups are consistent through snapshotting,
 
  • Like
Reactions: SergejA and NewDude

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!