Hi all,
I've had a windows 10 vm with Quadro 2000 card passed through working perfectly on & off foro 2 weeks. Now, after rebooting it a few times the vm will no longer start. "qm start <vmid>" from the CLI gives hangs for a minute or two and then gives me:
can't deactivate LV '/dev/nvme/vm-1010-disk-1': Logical volume nvme/vm-1010-disk-1 in use.
After it fails to start, an lvdisplay shows:
root@vm2:~# lvdisplay /dev/nvme/vm-1010-disk-1
--- Logical volume ---
LV Path /dev/nvme/vm-1010-disk-1
LV Name vm-1010-disk-1
VG Name nvme
LV UUID M2sJLM-Zxyq-OoUv-zozj-6ecD-YoFN-bsz3Re
LV Write Access read/write
LV Creation host, time vm2, 2017-02-11 17:59:32 -0600
LV Status available
# open 0
LV Size 120.00 GiB
Current LE 30720
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:18
Strangely enough, if I comment out the hostpci0: and hostpci1: directives for my vga card/hdmi audio device (part of the vga card), the vm starts but without the passthrough VGA card.
System info:
root@vm2:~# pveversion -v
proxmox-ve: 4.4-80 (running kernel: 4.4.40-1-pve)
pve-manager: 4.4-12 (running version: 4.4-12/e71b7a74)
pve-kernel-4.4.35-2-pve: 4.4.35-79
pve-kernel-4.4.40-1-pve: 4.4.40-80
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-1
libqb0: 1.0-1
pve-cluster: 4.0-48
qemu-server: 4.0-109
pve-firmware: 1.1-10
libpve-common-perl: 4.0-92
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-73
pve-libspice-server1: 0.12.8-1
vncterm: 1.3-1
pve-docs: 4.4-3
pve-qemu-kvm: 2.7.1-3
pve-container: 1.0-94
pve-firewall: 2.0-33
pve-ha-manager: 1.0-40
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-3
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.9-pve15~bpo80
openvswitch-switch: 2.6.0-2
root@vm2:~# uname -a
Linux vm2 4.4.40-1-pve #1 SMP Wed Feb 8 16:13:20 CET 2017 x86_64 GNU/Linux
root@vm2:~# cat /proc/cpuinfo | grep -i model | sort -u
model : 45
model name : Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz
root@vm2:~# free -m
total used free shared buffers cached
Mem: 161213 160308 905 62 272 128685
-/+ buffers/cache: 31349 129863
Swap: 7551 0 7551
dmidecode info:
System Information
Manufacturer: LENOVO
Product Name: 056849U
Version: ThinkStation S30
Any idea what I should be looking at to solve this short of a reboot? could kvm be giving me an incorrect error message due to some issue with the vga card being passed through? Not sure why this would all of a sudden stop working.
I've had a windows 10 vm with Quadro 2000 card passed through working perfectly on & off foro 2 weeks. Now, after rebooting it a few times the vm will no longer start. "qm start <vmid>" from the CLI gives hangs for a minute or two and then gives me:
can't deactivate LV '/dev/nvme/vm-1010-disk-1': Logical volume nvme/vm-1010-disk-1 in use.
After it fails to start, an lvdisplay shows:
root@vm2:~# lvdisplay /dev/nvme/vm-1010-disk-1
--- Logical volume ---
LV Path /dev/nvme/vm-1010-disk-1
LV Name vm-1010-disk-1
VG Name nvme
LV UUID M2sJLM-Zxyq-OoUv-zozj-6ecD-YoFN-bsz3Re
LV Write Access read/write
LV Creation host, time vm2, 2017-02-11 17:59:32 -0600
LV Status available
# open 0
LV Size 120.00 GiB
Current LE 30720
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:18
Strangely enough, if I comment out the hostpci0: and hostpci1: directives for my vga card/hdmi audio device (part of the vga card), the vm starts but without the passthrough VGA card.
System info:
root@vm2:~# pveversion -v
proxmox-ve: 4.4-80 (running kernel: 4.4.40-1-pve)
pve-manager: 4.4-12 (running version: 4.4-12/e71b7a74)
pve-kernel-4.4.35-2-pve: 4.4.35-79
pve-kernel-4.4.40-1-pve: 4.4.40-80
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-1
libqb0: 1.0-1
pve-cluster: 4.0-48
qemu-server: 4.0-109
pve-firmware: 1.1-10
libpve-common-perl: 4.0-92
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-73
pve-libspice-server1: 0.12.8-1
vncterm: 1.3-1
pve-docs: 4.4-3
pve-qemu-kvm: 2.7.1-3
pve-container: 1.0-94
pve-firewall: 2.0-33
pve-ha-manager: 1.0-40
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-3
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.9-pve15~bpo80
openvswitch-switch: 2.6.0-2
root@vm2:~# uname -a
Linux vm2 4.4.40-1-pve #1 SMP Wed Feb 8 16:13:20 CET 2017 x86_64 GNU/Linux
root@vm2:~# cat /proc/cpuinfo | grep -i model | sort -u
model : 45
model name : Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz
root@vm2:~# free -m
total used free shared buffers cached
Mem: 161213 160308 905 62 272 128685
-/+ buffers/cache: 31349 129863
Swap: 7551 0 7551
dmidecode info:
System Information
Manufacturer: LENOVO
Product Name: 056849U
Version: ThinkStation S30
Any idea what I should be looking at to solve this short of a reboot? could kvm be giving me an incorrect error message due to some issue with the vga card being passed through? Not sure why this would all of a sudden stop working.