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

[Xen-users] drbd and xen problem: disk not accessible


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Marco Strullato" <marco.strullato@xxxxxxxxx>
  • Date: Wed, 23 Apr 2008 16:10:05 +0200
  • Delivery-date: Wed, 23 Apr 2008 07:10:45 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=tuVK2l6+JZSfRM58F1wdIQo7uqctTap5liWqzNL69aardQjrm6F6ODUFeBd6aIS+lpymiHDsrbk5AJO1QPk0TtxycfLzY6hqb7TpHuussJjBSrbO88APcJWyFKw4jPAgY6qm4VvG8iX/q/5VarrQyR89NR0Eol8rt1s1YBdE5BY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi all, I have a problem with drbd and xen.
After setting up drbd and after I installed a new linux vm, I can not create the vm because of a problem accessing the disk.
I read that a solution could be setting the kernel and ramdisk and root parameter into the vm config file but it doesn't work for me.

What do you suggest me?

I get:
Using config file "/etc/xen/VMNAME".
No handlers could be found for logger "xend"
Error: Disk isn't accessible
Usage: xm create <ConfigFile> [options] [vars]
...



I'm using this packages:
xen-3.0.3-41.el5
kernel-xen-2.6.18-8.el5
kmod-drbd82-xen-8.2.5-1.2.6.18_53.1.14.el5
xen-libs-3.0.3-41.el5
xen-libs-3.0.3-41.el5
kernel-xen-2.6.18-53.1.14.el5
drbd82-8.2.5-1.el5.centos
kmod-drbd82-xen-8.2.5-1.2.6.18_53.1.14.el5

my drbd.conf is:
global {
        usage-count yes;
 }
common {
        protocol C;
        startup {
                become-primary-on both;
        }
        net {
                allow-two-primaries;
        }
        disk {
                on-io-error detach;
        }
        syncer {
                verify-alg md5;
                rate 50M;
        }

}
resource r0 {
        on hyp11.infolan {
                device     /dev/drbd0;
                disk       /dev/HYP11VM/INT;
                address    10.100.0.2:7788;
                meta-disk  internal;
        }
        on hyp10.infolan {
                device    /dev/drbd0;
                disk      /dev/HYP10VM/INT;
                address   10.100.0.1:7788;
                meta-disk internal;
        }
}

and the vm configuration file is:
name = "VMNAME"
uuid = "8f1e2a13-f0c1-fbf5-a1f2-2a71f8c7c144"
maxmem = 512
memory = 512
vcpus = 1
bootloader = "/usr/bin/pygrub"
>>>vfb = [  ]
disk = [ "drbd:r0,xvda,w" ]
vif = [ "mac=00:16:3e:60:7d:41,bridge=xenbr0" ]
kernel='/boot/vmlinuz-2.6.9-67.0.7.ELxenU'
ramdisk='/boot/initrd-2.6.9-67.0.7.ELxenU.img' 
root='/dev/VolGroup00/LogVol00 ro'
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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