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

[Xen-API] Trouble configuring initial SR


  • To: xen-api@xxxxxxxxxxxxx
  • From: Robot 1125 <robot1125@xxxxxxxxx>
  • Date: Wed, 10 Oct 2012 08:49:20 -0400
  • Delivery-date: Wed, 10 Oct 2012 12:49:37 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hello XCP community,

I'm having trouble getting XCP 1.6 working.  I installed Ubuntu 12.04 clean on top of recently purchased commodity hardware, and then added XCP on top via these instructions:

http://blog.scottlowe.org/2012/06/28/installing-xcp-xapi-on-ubuntu-server-12-04-lts/
http://wiki.xen.org/wiki/XCP_toolstack_on_a_Debian-based_distribution
http://wiki.xen.org/wiki/Using_XCP_-_preparing_the_toolstack

The services are up and running, and in fact I can connect to XCP via XenCenter running on another machine.  However, I have an unused local 850GB partition I want to use as the main SR, but when I use the following command, I get an error:

$ xe sr-create type=ext device-config:device=/dev/sda3 name-label=SR

The SR operation cannot be performed because a device underlying the SR is in use by the host.

Here are some other commands that might shed some light:

$ fdisk -l

Disk /dev/mapper/XSLocalEXT--a402d5c4--116a--316c--77f1--3940d6fbac3c-a402d5c4--116a--316c--77f1--3940d6fbac3c doesn't contain a valid partition table
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0005cb85
  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   209717247   104857600   83  Linux
/dev/sda2      1937840686  1953520064     7839689+   5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda3       209717248  1937840127   864061440   83  Linux
/dev/sda5      1937840688  1953520064     7839688+  82  Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/mapper/XSLocalEXT--a402d5c4--116a--316c--77f1--3940d6fbac3c-a402d5c4--116a--316c--77f1--3940d6fbac3c: 884.8 GB, 884784234496 bytes
255 heads, 63 sectors/track, 107568 cylinders, total 1728094208 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

$ xe sr-list

uuid ( RO)                : abe7f3f6-bfec-6e0a-f0c8-a286fcb2c754
         name-label ( RW): XenServer Tools
   name-description ( RW): XenServer Tools ISOs
               host ( RO): xen
               type ( RO): iso
       content-type ( RO): iso

Any ideas on how I can debug this?

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/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®.