Software RAID instability in KVM?

Blaise

New Member
Nov 20, 2009
3
0
1
Hi!

I have a server with proxmox ve 1.5 with kernel 2.6.24-10 for testing purposes. I'm running a Debian Lenny KVM, and it seems to run fine, until i install software RAID1 on it. (Not on proxmox, but on KVM.)

I have the following setup: a second hdd in the server, mounted as /mnt/sdb in proxmox via fstab. Under storage in the proxmox web interface, I added this second hdd as a new directory-based storage (/mnt/sdb), with content type virtual disks. In my Debian KVM, I added a new disk, using thus new storage.

The Debian KVM has 3 virtual disks:
SCSI SCSI 0:0 20.00 local:103/debian5_mailtest.vmdk
SCSI SCSI 0:1 32.00 local:103/vm-103-disk-1.vmdk
SCSI SCSI 0:2 32.00 sdb_920G:103/vm-103-disk-1.vmdk

When I install mdadm on this KVM, and mount md0 (consist of the 2nd and 3rd hdd, one partition, RAID1) as /home, it seems to work, even it can finish syncing md0.

But after some time, I lost network connection, and sometimes the KVM stops, sometimes it hangs with the following error:

http://redclaw.uw.hu/error.png
 
I would try 2.6.18 (stable)
(or 2.6.32, see http://pve.proxmox.com/wiki/Proxmox_VE_Kernel).

also, change the disks to IDE or VIRTIO instead of SCSI (start with IDE in the first run). SCSI as KVM disk type is not implemented in 2.6.18.