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

RE: [Xen-users] Paravirt VM - Second Disk not working

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: RE: [Xen-users] Paravirt VM - Second Disk not working
From: "Robert Dunkley" <Robert@xxxxxxxxx>
Date: Wed, 16 Sep 2009 15:10:40 +0100
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 16 Sep 2009 07:12:44 -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>
References: <C1EAC9C5E752D24C968FF091D446D8234597E6@ALTERNATEREALIT> <7207d96f0909160348q4212ecej61b1e6656d2a684d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aco2u3F/ZAAbOKGvRRKqlsO8QeJhUAACaZtw
Thread-topic: [Xen-users] Paravirt VM - Second Disk not working
Hi Fajar,


Thanks for the reply.

I'm actually using DRBD along with Jefferson Ogata's wrapper here:
http://www.antibozo.net/xen/qemu-dm.drbd

The wrapper does change both DRBD resources (DRBD22 and DRBD23) to
primary when you start the VM but the second disk never turns up in xm
top and VM complains of a timeout as stated below. 

I found removing the second disk from the VM config file and adding it
manually with hotplug immediately after starting the VM works, eg::
xm create vmname
drbdadm primary xendrbd23
xm block-attach vmname phy:/dev/drbd23 /dev/xvdb 'w'


Rob

-----Original Message-----
From: Fajar A. Nugraha [mailto:fajar@xxxxxxxxx] 
Sent: 16 September 2009 11:48
To: Robert Dunkley
Cc: Xen User-List
Subject: Re: [Xen-users] Paravirt VM - Second Disk not working

On Wed, Sep 16, 2009 at 5:03 PM, Robert Dunkley <Robert@xxxxxxxxx>
wrote:
> Hi All,
>
> I have a paravirt VM with two hard disks, the boot drive xvda works
fine
> but the data drive xvdb does not seem to detect at all. I have looked
> into this and full logs are below but I cannot find what is causing
the
> timeout on connect. Feedback from Dom0 for both devices looks
identical,
> the only error I get is the timeout in DomU. Does anyone know what
might
> be causing this?


> [\047image\047, [\047linux\047]], [\047device\047, [\047vbd\047,
> [\047uname\047, \047phy:/dev/drbd22\047], [\047dev\047, \047xvda\047],
> [\047mode\047, \047w\047]]], [\047device\047, [\047vbd\047,
> [\047uname\047, \047phy:/dev/drbd23\047], [\047dev\047, \047xvdb\047],

You're using drbd? Is /dev/drbd23 primary on that node? Is it
accessible from dom0 (e.g. using fdisk, mount, etc.)?

-- 
Fajar

The SAQ Group

Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ
SAQ is the trading name of SEMTEC Limited. Registered in England & Wales
Company Number: 06481952

http://www.saqnet.co.uk AS29219

SAQ Group Delivers high quality, honestly priced communication and I.T. 
services to UK Business.

Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : 
Backups : Managed Networks : Remote Support.

ISPA Member


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

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