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] Re: XAPI on debian - sr-create issue

To: Sébastien RICCIO <sr@xxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: XAPI on debian - sr-create issue
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Wed, 20 Jul 2011 17:49:54 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: Mike McClurg <mike.mcclurg@xxxxxxxxxx>, Todd Deshane <todd.deshane@xxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 20 Jul 2011 09:51:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E26D6AC.5060906@xxxxxxxxxxxxxxx>
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: <4E2338F4.4060401@xxxxxxxxxxxxxxx> <E3DDE7F5-FC32-4EB7-A829-C31D69FC82A1@xxxxxxxxxxxxx> <AEFF42F2-4DA0-4646-81E8-E543E7F1526C@xxxxxxxxxxxxx> <CAMrPLW+Tj2vgFT_B47ZVY6MWnjGJg9SQ-J4jM5nD1ostn52G2Q@xxxxxxxxxxxxxx> <42861DC9-7954-477F-B03D-17DED789D6F4@xxxxxxxxxxxxx> <4E255FDE.3040604@xxxxxxxxxxxxxxx> <4E257146.8030807@xxxxxxxxxx> <4E257B22.5040908@xxxxxxxxxxxxxxx> <4E25A0A3.8020902@xxxxxxxxxxxxxxx> <4E26D6AC.5060906@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxG/QziYvVrhPK7TqiN4+Bmv6ls3w==
Thread-topic: XAPI on debian - sr-create issue
Looks like the EXTSR was a bit broken in a couple of ways.

Firstly, you'll need to add a 'PRIMARY_DISK' line to /etc/xensource-inventory 
(now mentioned in the wiki page)
Secondly, the path the the LVM tools was incorrect. I've fixed this in a new 
deb that I've uploaded to downloads.xen.org.
Thirdly, I've added to the instructions that LVM2 needs to be installed.

I've also fixed a bunch of other things in the debs that I've uploaded - please 
pull down the latest versions and install them.

Jon


 
On 20 Jul 2011, at 14:22, Sébastien RICCIO wrote:

> Hi,
> 
> Continuing my tests with xapi on debian, I get into an issue  trying to 
> create a SR.
> 
> box# xe sr-create type=ext name-label=local device-config:device=/dev/sda3
> 
> Error code: SR_BACKEND_FAILURE_1
> Error parameters: , Error reporting error, unknown key NoRootDev, 
> /usr/lib/xen-common/xapi/sm/util.py:17: DeprecationWarning: The popen2 
> module is deprecated.  Use the subprocess module.
>   import os, re, sys, popen2, subprocess
> 
> 
> Any idea what could be wrong ?
> 
> Thanks a lot for your help.
> 
> Sébastien
> 


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