Hi,
I am using a raid1 on my host system to store data. I try to share data from the host to the vm.
At the moment I am trying to share it with disk mount:
I have added the following line to the qemu config file of VM1:
Afterwards I booted the vm and mounted the dev with
Works like a charm. Then I have tried to copy some of the mounted data to the local vm disk
The memory consumption raised to 96%. After the copy was done, it stayed at 96%.... I had to shutdown the VM to free up the resources.
Another weird behavior:
I have stored some data on the local vm disk and fired up the samba server.
I accessed a share over the network with a Windows client and transfered around 20GB form the vm.
Same behavior: The memory consumption raised to 96%. After the copy was done, it stayed at 96%.... I had to shutdown the VM to free up the resources.
I also tried to share the data from the host via NFS server, but as soon as the vm has some high access/network transfers, the memory consumption will raise and stay till a reboot happens.
When I do this with a container, everything works fine. I can create mount points and access or copy the data without the weird memory behavior.
I have the latest version of pve.
Does someone have a clue whats happening or how this can be fixed?
Can someone confirm this behavior?
Host: HP Gen8 with 12GB RAM, PVE on SSD and 2 HDD as RAID-1
VM1: Ubuntu Server 16.04 with 4GB RAM
VM2: Debian 9 with 4 GB RAM
CT: Ubuntu 16 2GB RAM
I am using a raid1 on my host system to store data. I try to share data from the host to the vm.
At the moment I am trying to share it with disk mount:
I have added the following line to the qemu config file of VM1:
Code:
scsi1: /dev/md0
Afterwards I booted the vm and mounted the dev with
Code:
mount UUID=XXXXXXXXXXXXX /mnt
Works like a charm. Then I have tried to copy some of the mounted data to the local vm disk
Code:
cp -R /mnt/testdir/ .
The memory consumption raised to 96%. After the copy was done, it stayed at 96%.... I had to shutdown the VM to free up the resources.
Another weird behavior:
I have stored some data on the local vm disk and fired up the samba server.
I accessed a share over the network with a Windows client and transfered around 20GB form the vm.
Same behavior: The memory consumption raised to 96%. After the copy was done, it stayed at 96%.... I had to shutdown the VM to free up the resources.
I also tried to share the data from the host via NFS server, but as soon as the vm has some high access/network transfers, the memory consumption will raise and stay till a reboot happens.
When I do this with a container, everything works fine. I can create mount points and access or copy the data without the weird memory behavior.
I have the latest version of pve.
Does someone have a clue whats happening or how this can be fixed?
Can someone confirm this behavior?
Host: HP Gen8 with 12GB RAM, PVE on SSD and 2 HDD as RAID-1
VM1: Ubuntu Server 16.04 with 4GB RAM
VM2: Debian 9 with 4 GB RAM
CT: Ubuntu 16 2GB RAM
Last edited: