WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Xen 3.3 + Drbd - block device script broken?

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 3.3 + Drbd - block device script broken?
From: Albert <forall@xxxxxxxxxxxxx>
Date: Thu, 18 Sep 2008 08:52:08 +0200
Cc:
Delivery-date: Wed, 17 Sep 2008 23:51:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080724)
Hi

I have two box  xen 3.2.1 and 3.3.

On the 3.3 box I can't use  drbd as a device in the domu cfg.

xm create -c test.cfg
Using config file "/etc/xen/test.cfg".
Error: Block device must have "phy", "file" or "tap" specified to type

cat /etc/xen/test.cfg

# Configuration file for the Xen instance test, created
# by xen-tools 3.8 on Tue Sep 16 12:02:36 2008.
#

#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.24-21-xen'
ramdisk     = '/boot/initrd.img-2.6.24-21-xen'
memory      = '128'

#
#  Disk device(s).
#
root        = '/dev/xvda2 ro'
#disk        = [
#                  'phy:/dev/vg/test-swap,xvda1,w',
#                  'phy:/dev/vg/test-disk,xvda2,w',
#              ]
disk       = [
                'drbd:test-swap,xvda1,w',
                'drbd:test-disk,xvda2,w',
             ]

#
#  Hostname
#
name        = 'test'

#
#  Networking
#
vif         = [ 'ip=192.168.1.224,mac=00:16:3E:E7:E9:17' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

#extra = '2 console=xvc0'
extra='xencons=tty'

Something is was changed ?

Albert



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>