Comment 47 for bug 1423672

Revision history for this message
LouieGosselin (0-ubunbu-d) wrote :

chris,

Here is what you asked for, sorry for not getting it earlier.

I don't use virsh. This is how I started KVM to trigger the problem interactively (curses interface):

kvm -drive file=/dev/raid/shared,media=disk,if=none,cache=none,aio=native,format=raw,id=hd0 -device virtio-blk-pci,drive=hd0 -smp 2 -m 1000 -netdev tap,ifname=vm_shared,script=no,downscript=no,id=eth0 -device virtio-net-pci,netdev=eth0,mac=52:54:00:12:34:58 -name shared -runas shared -curses

fdisk -l
Disk /dev/vda: 100 GiB, 107374182400 bytes, 209715200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: AE4BDF3E-0B83-4C17-B104-A5139722F263

Device Start End Sectors Size Type
/dev/vda1 2048 3905535 3903488 1.9G Linux swap
/dev/vda2 3905536 209713151 205807616 98.1G Linux filesystem

It hasn't happened in this particular VM since upping the RAM so the VM doesn't swap.

My intention was to reproduce on non-production hardware, and then try different kernels, rule out LVM, virtio, etc. But I'm in the middle of a new assignment, I probably won't have time to do this myself before December.