When I start my windows and linux vms at the same time I get corruption

Hiroi

Member
Oct 15, 2021
11
1
8
21
Hi!, I am not really sure it's data corruption but it just seems like it. So, I have 2 vms that have separate GPUs assigned to them. When I start both of them, the one vm freezes for a bit and then it starts working again, but after I turn off the pc and boot it up again I get fsck on the screen fixing the filesystem (it can also fail and I have to do the check manually) and then my windows vm starts instantly doing a disk check and now some windows system files are missing (for example file explorer, I can't open control panel, etc).

I had this problem some months ago as well and it got to a point when fsck took like 40 mins and when it finished the windows vm got destroyed, it bluescreened and I couldn't revive it in any way, I couldn't even access the files while being in windows recovery. But the Linux vm was untouched. So I reinstalled the windows vm and I continued to use only the windows one because I didn't have the time to deal with it. Now I tried to boot both up and the same thing happened.

I will post the configs for both vms and for the main pc with proxmox down below, I am not sure why this happens, because i didn't change the configurations for months before this problem appeared, and I used to have both vms on at all times back then. I am considering reinstalling the whole proxmox pc with a separated lvm pool just for the windows vm instead of having one big pool for both.


Config for the windows vm:

agent: 1 balloon: 0 bios: ovmf boot: order=scsi0;ide2;ide0 cores: 16 cpu: host efidisk0: local:100/vm-100-disk-1.raw,efitype=4m,pre-enrolled-keys=1,size=528K hostpci0: 0000:2f:00,pcie=1,x-vga=1 hostpci1: 0000:25:00.0 ide0: local:iso/virtio-win-0.1.208.iso,media=cdrom,size=543390K ide2: local:iso/Win11_23H2_English_x64.iso,media=cdrom,size=6548134K machine: pc-q35-6.1 memory: 16000 meta: creation-qemu=6.1.0,ctime=1646339555 name: winmox3 net0: virtio=F6:75:F7:6D:B4:53,bridge=vmbr0,firewall=1 numa: 1 onboot: 1 ostype: win11 scsi0: local:100/vm-100-disk-0.raw,size=750G,ssd=1 scsi1: /dev/disk/by-id/ata-WDC_WD10EZEX-22MFCA0_WD-WCC6Y7VSS6SE-part1,backup=0,size=953867M scsi2: /dev/disk/by-id/ata-WDC_WD5000AAKX-00ERMA0_WD-WCC2EKX98642-part1,backup=0,size=476938M scsihw: virtio-scsi-pci smbios1: uuid=f55faa7c-4432-488f-8e06-8411dcd0afab sockets: 1 tpmstate0: local:100/vm-100-disk-4.raw,size=4M,version=v2.0 vmgenid: 076c2a73-ea54-40ae-be01-d5f73c51bef5

Config for the Linux vm:

balloon: 0 bios: ovmf boot: order=scsi0;ide2 cores: 8 efidisk0: local:101/vm-101-disk-0.raw,efitype=4m,size=528K hostpci0: 0000:23:00,pcie=1,x-vga=1 hostpci1: 0000:2a:00 ide2: local:iso/archlinux-2023.04.01-x86_64.iso,media=cdrom,size=828748K machine: pc-q35-6.1 memory: 12000 name: Linmox net0: virtio=9A:65:8D:03:4E:E5,bridge=vmbr0,firewall=1 numa: 0 ostype: l26 scsi0: local:101/vm-101-disk-1.raw,discard=on,size=300G,ssd=1 scsihw: virtio-scsi-pci smbios1: uuid=b2ce99f9-3f0c-4189-be42-9e13d567fcf1 sockets: 1 usb0: host=9-4,usb3=1 usb1: host=3-2,usb3=1 usb2: host=10-4,usb3=1 vmgenid: 679764cd-572d-46a0-ae3b-4db898e53d06

LVM config for the Pc proxmox machine:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 931.5G 0 disk └─sda1 8:1 0 931.5G 0 part sdb 8:16 0 465.8G 0 disk └─sdb1 8:17 0 465.8G 0 part sdc 8:32 0 232.9G 0 disk ├─sdc1 8:33 0 100M 0 part ├─sdc2 8:34 0 16M 0 part ├─sdc3 8:35 0 232.2G 0 part └─sdc4 8:36 0 591M 0 part nvme1n1 259:0 0 476.9G 0 disk ├─nvme1n1p1 259:1 0 512M 0 part /boot/efi └─nvme1n1p3 259:2 0 476.4G 0 part ├─pve-swap 253:0 0 8G 0 lvm [SWAP] └─pve-root 253:1 0 1.4T 0 lvm / nvme0n1 259:3 0 931.5G 0 disk ├─nvme0n1p1 259:4 0 696.1G 0 part │ └─pve-root 253:1 0 1.4T 0 lvm / └─nvme0n1p4 259:5 0 235.4G 0 part └─pve-root 253:1 0 1.4T 0 lvm /

And these are the specs of the pc:
OS: Proxmox VE 8.0.4 x86_64 Host: MS-7C37 2.0 Kernel: 6.2.16-18-pve Uptime: 1 hour, 10 mins Packages: 1037 (dpkg) Shell: bash 5.2.15 Terminal: /dev/pts/0 CPU: AMD Ryzen 7 5800X (16) @ 3.800GHz GPU: AMD ATI Radeon RX 6800/6800 XT / 6900 XT GPU: AMD ATI Radeon 540/540X/550/550X / RX 54 Memory: 17601MiB / 32004MiB

Thanks in advance!