[pve-devel] KVM guest hangs with SCSI drive (ZFS)
Adrian Costin
adrian.costin at gmail.com
Sat May 3 17:44:14 CEST 2014
Hi guys,
I'm trying to install a KVM guest using a SCSI drive and the installer
always hungs around when it loads the scsi modules. I've tried CentOS,
Debian, Ubuntu with no luck.
I've also tried to install the guest using VirtIO or IDE and switch to
SCSI after the fact with the same result.
I'm running the latest packages with the 2.6.32-29-pve kernel and
pve-qemu-kvm 1.7-8 and using the ZFS Plugin which passes a iscsi url
to the KVM command. I've tried both default and VirtIO SCSI HW.
Running the same guest with VirtIO, SATA or IDE works without any
problems and also running a qcow2 local SCSI drive works.
Best regards,
Adrian Costin
--
# pveversion -v
proxmox-ve-2.6.32: 3.2-126 (running kernel: 2.6.32-29-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-28-pve: 2.6.32-124
pve-kernel-2.6.32-29-pve: 2.6.32-126
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1
# cat /etc/pve/qemu-server/1476.conf
balloon: 0
boot: cd
bootdisk: scsi0
cores: 2
hotplug: 1
memory: 1024
name: XXXXXXXXXXXXX
net0: virtio=82:D3:92:5F:29:5A,bridge=vmbr0
ostype: l26
scsi0: kvm:vm-1476-disk-2,cache=writeback,size=60G
scsihw: virtio-scsi-pci
sockets: 1
# qm showcmd 1476
/usr/bin/kvm -id 1476 -chardev
socket,id=qmp,path=/var/run/qemu-server/1476.qmp,server,nowait -mon
chardev=qmp,mode=control -vnc
unix:/var/run/qemu-server/1476.vnc,x509,password -pidfile
/var/run/qemu-server/1476.pid -daemonize -name XXXXXXXXXXXXX -smp
sockets=1,cores=2 -nodefaults -boot menu=on -vga cirrus -cpu
kvm64,+lahf_lm,+x2apic,+sep -k en-us -m 1024 -device
piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -device
usb-tablet,id=tablet,bus=uhci.0,port=1 -device
virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5 -drive
file=iscsi://10.37.64.2/iqn.2014-04.net.XXXXXXX.storage2/8,if=none,id=drive-scsi0,cache=writeback,aio=native
-device scsi-generic,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100
-netdev type=tap,id=net0,ifname=tap1476i0,script=/var/lib/qemu-server/pve-bridge,vhost=on
-device virtio-net-pci,romfile=,mac=82:D3:92:5F:29:5A,netdev=net0,bus=pci.0,addr=0x12,id=net0
More information about the pve-devel
mailing list