[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen domU crashes accessing to drbd disk if using maxmem.

  • To: "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Valerio Granato" <contact@xxxxxxxxxx>
  • Date: Mon, 4 Oct 2010 17:01:57 +0200
  • Delivery-date: Mon, 04 Oct 2010 08:08:36 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello all,

I've just installed a new dom0 with openSUSE 11.3 (x86_64)
and I'm seeing domUs crashes when reading from disks.
The problem occours when in domU configuration I use


My setup is DRBD on LVM on Software RAID 10 and drbd
devices are used as disks for domUs, using


The domU in test is HVM, I'm using the openSUSE 11.3 rescue
system for testing. drbd0 is 300Gb and is partitioned this way:

     Device Boot      Start         End      Blocks   Id  System
/dev/drbd0p1            2048    31459327    15728640   83  Linux
/dev/drbd0p2        31459328   614381175   291460924   83  Linux

On dom0 I can successfully do

dd if=/dev/drbd0 of=/dev/null bs=1M
(~185 MB/s speed, if it can be useful)

the same (similar) command in domU on /dev/sda (dev/drbd0 as seen
by domU) causes domU to crash, but only if I start the domain using less
memory than maxmem. If I have memory=maxmem the disk read is ok
(~175MB/s speed).

I've found the problem trying to check the FS on /dev/sda2 (ReiserFS)
and then discovered that it's relative to any "massive" disk access I do.

In Xen logs:

[2010-10-04 15:34:55 5816] WARNING (XendDomainInfo:2106) Domain has crashed: name=mydomu id=15. [2010-10-04 15:34:55 5816] DEBUG (XendDomainInfo:3115) XendDomainInfo.destroy: domid=15 [2010-10-04 15:34:56 5816] DEBUG (XendDomainInfo:2450) Destroying device model
[2010-10-04 15:34:57 5816] INFO (image:626) mydomu device model terminated
[2010-10-04 15:34:57 5816] DEBUG (XendDomainInfo:2457) Releasing devices

I've tried using openSUSE 11.2 and 11.3 boot disks and a trk disk
to do the 'dd' or the 'reiserfsck' having identical results (domU crash).
Dom0 kernel is, one of tested kernel is 2.6.34-12-default
(openSUSE rescue disk).

Some hint about this? What am I missing?

Valerio Granato

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.