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

[Xen-API] SR on xen 3.1


  • To: xen-users-request@xxxxxxxxxxxxxxxxxxx, xen-api@xxxxxxxxxxxxxxxxxxx
  • From: chetansa <chetan.lists@xxxxxxxxx>
  • Date: Mon, 07 Jan 2008 17:42:27 +0530
  • Delivery-date: Mon, 07 Jan 2008 04:12:47 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=RoXi/l05JPulye6Uaz/cfuxHo5Bmwx+0NdZqlPLB5iV+wZQGEHHi4bHOQ3hHqYo8zfl3ocVv09R5e/3oAYaMvo+vnuf/+2xRNlo+qNy5/SpfdtMyspgr4gcnynmKuxTh8Grg5MxcHJv5JSK49PMdFaVj2gl7KU9ZlArnrUlc/Eg=
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

Hi all,
I am using xen 3.1 on Fedora 8 (Installed using RPM's). I want to create a new Storage Repository (SR) according to the kb, I need to do following in order to create and attach new SR,
*
# sm create /dev/sdb5**

** # xe host-sr-set -u root sr-id=/rep_uuid/ active=true

** # sm attach <rep_uuid> none

*I neither found sm nor xe on my installation (These are available with xen server installation I guess.....) so how to go about creating a SR with my current installation? However there is an interesting thing happening if I try to retrieve information about the SR's from xen api with xen_sr_get_all()
I get two objects with,

Type: local
Description: Traditional Local Storage Repo

Type: qcow_file
Description: Xend QCoW Storage Repository

also I get no PBD object on calling xen_sr_get_pbds() ?
*
*Can anyone please explain me how this SR things work?

Regards

Chetan
*
*

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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