|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
[Xen-users] drbd and xen problem: disk not accessible
 
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 
 |   
 
 | 
    | 
  
  
    |   | 
    |