Hi.
I was trying to find some useful info here and elsewhere, but nothing was close. Trying here...
Setup
The problem
Node2 PVE oom-kill's Ubuntu Server VM during the backup, that's ~80GB of data. The KVM process takes almost all remaing RAM while "inside" the VM itself there are only <1GB of 6GB total consumed. There are no clear signs that there is not enough memory for PVE or Ubuntu Server VM. I even tried to copy backup files between PVE nodes bypassing VM layer on node2 and it worked with no problem. Then I tried to share backup directory via NFS - it failed same way, node2 PVE oom-kill'ed the Ubuntu Server VM. It is confusing, because few month ago this backup method ZFS pool->Samba share worked great.
Has anyone experienced similar issues with Ubuntu Server 20.04 or Samba ? Any hints what should I check next to debug this situation ?
Regards
Artūras B.
I was trying to find some useful info here and elsewhere, but nothing was close. Trying here...
Setup
- PVE node1 on Dell T340 (32GB of RAM, mirrored ZFS rpool on SSDs, mirrored ZFS datapool on HDD disks )
- Windows Server 2019 VM (4 vCPU, 16 GB of virtual RAM, 1T GB storage on datapool)
- PVE node2 on Dell T30 (16 GB of RAM, mirrored ZFS rpool on SSDs, mirrored ZFS datapool on HDD disks)
- Ubuntu Server 20.04 VM (2 vCPU, 6 GB of virtual RAM, 32 GB storage on rpool)
- Virtual disk added to the VM - 1.6T file of raw format on datapool in node2
- Samba-based file share (Ext4 partition created on the virtual 1.6T disk, directories on Ext4 shared as Samba shares).
- Ubuntu Server 20.04 VM (2 vCPU, 6 GB of virtual RAM, 32 GB storage on rpool)
- Add one of Ubuntu Server Samba shares on node2 to node1 as CIFS storage.
- Add backup task on the node1 to backup Windows Server 2019 VM to the CIFS storage (a Samba share on Ubuntu Server VM in node2).
- Backup files of Windows Server 2019 on the backup share on Ubuntu Server VM in node2 will be backed up to an "offsite master backup".
The problem
Node2 PVE oom-kill's Ubuntu Server VM during the backup, that's ~80GB of data. The KVM process takes almost all remaing RAM while "inside" the VM itself there are only <1GB of 6GB total consumed. There are no clear signs that there is not enough memory for PVE or Ubuntu Server VM. I even tried to copy backup files between PVE nodes bypassing VM layer on node2 and it worked with no problem. Then I tried to share backup directory via NFS - it failed same way, node2 PVE oom-kill'ed the Ubuntu Server VM. It is confusing, because few month ago this backup method ZFS pool->Samba share worked great.
Has anyone experienced similar issues with Ubuntu Server 20.04 or Samba ? Any hints what should I check next to debug this situation ?
Regards
Artūras B.
Last edited: