Hot answers tagged

8

Since you haven't shut down the VM, then the process using that image file still has the file open and it hasn't actually been deleted yet. As long as the process keeps running, you should be able to recover it. For this answer I have a kvm image called testdelete. The VM is up, but I have deleted the file. First you need to find the process using the ...


1

Running ulimit -n unlimited as superuser on Linux says: Operation not permitted. You need to boot into single user mode and fix your limits.conf back and specify some reasonable value, because Linux denies unlimited NOFILE.


1

You have 25Gb free; it's all being used as cache. The free output is most telling: total used free shared buffers cached [...] -/+ buffers/cache: 5 25 See http://www.linuxatemyram.com/ for more details.


1

#! /bin/bash xmlfiles=( $(find /etc/libvirt/qemu/autostart/ -name '*.xml') ) for f in "${xmlfiles[@]}" ; do domain=$(xml2 < $f | awk -F= '$1 == "/domain/name" {print $2}') # only start domain if it's not already running if ! virsh list | grep -q " ${domain} .*running" ; then virsh start "$domain" #else # optionally reboot domain ...


1

I would: Make sure, I have at a minimum 8GiB RAM. Install Linux into to a 12-15GiB Partition @SSD, add Swap@SSD, if wanted/needed. That should leave ~ 80GiB free on the SSD. Make a Partition, SSD3. Give that to the Virtual Machine for later use as Windows system drive. Create 2 Partitions on HDD, ~200GiB HDD1, and the Rest, HDD2 Give HDD1 to the Windows ...


1

I had the same kind of problem. I wanted to change an IP failover redirection as soon as the virtual machine is migrated to another node but I could not find a clean way to detect the said migration. The log files /var/log/pve/tasks/index does not help. Only the node that is giving the VM is having a line of log that says "qmigrate" or "hamigrate". I've ...



Only top voted, non community-wiki answers of a minimum length are eligible