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

[Xen-users] Re: Xen nexentastor-3.0.2-xen.cfg (blktap)


  • To: Patrick Schlicher <pa-schl@xxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Sun, 1 Aug 2010 05:54:28 -0700 (PDT)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 01 Aug 2010 05:56:05 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=xLkGWTTFQQhLep3G8RjjPvkeIPacKESXyXS7GpDrA6WLHX4e7hFexK3a7JXQUzkAJiRMPu62bsCiuTqqAu+Xwr99zn6KWKVDS3hTUDlCkaj01lCRBqyDqgV5zn2YFCpKleYmk8lof+U0ZdIJ9fKQrbGbHW1qP3tgSsNAuHx1BOQ=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Apply two patches attached to current http://xenbits.xensource.com/xen-4.0-testing.hg
( r4 is good as well)
1. First patch per Mark Johnson
2. Second patch per exeCooler.
Currently i run NexentaStore Xen instance under Xen 4.0.1-rc4 ( 2.6.32.16) on top of F13, but Debian as a base shouldn't make much difference ( udev <= 151).
But , Nexenta is 64-bit.


Boris.

--- On Sun, 8/1/10, Patrick Schlicher <pa-schl@xxxxxx> wrote:

From: Patrick Schlicher <pa-schl@xxxxxx>
Subject: Xen nexentastor-3.0.2-xen.cfg (blktap)
To: bderzhavets@xxxxxxxxx
Date: Sunday, August 1, 2010, 7:07 AM

Hi!

Sorry that I maybe disturb you,
I have the problem to get nexenta running with xen and read many things that you posted.
So I think you have the most experience with this.

I tried to apply the patches you talked about:

http://www.gossamer-threads.com/lists/xen/devel/178392
http://bderzhavets.wordpress.com/2010/07/11/execoolers-patch-for-xen-4-1-unstable/


Do you know of a working setup for getting xen + nexenta running under Debian?


I want to use nexenta (32bit because cadp)  + adaptec (passthrough) + HP LTO2 448 (ndmp in nexenta)
with xen because nexenta on it's own doesn't like my two SATA-Controllers,
even if it shows my disks when using iostat, I can't get the disks to work.

Thx in advance.






And tried to edit the nexenta-xen-cfg multiple times like:

disk =  [
        'tap2:tapdisk:vhd:' + work_dir + '/' + disk_1_name + ',xvda,w',
...
        ]

debian:/opt/vm/nexenta# xm create -c nexentastor-community-3.0.2-xen.cfg
Using config file "./nexentastor-community-3.0.2-xen.cfg".
Error: Boot loader didn't return any data!




or:

'tap:tapdisk:vhd:' + work_dir + '/' + disk_1_name + ',xvda,w',

debian:/opt/vm/nexenta# xm create -c nexentastor-community-3.0.2-xen.cfg
Using config file "./nexentastor-community-3.0.2-xen.cfg".
Error: Device /dev/xvdp (51952, tap) is already connected.



'tap:vhd:' + work_dir + '/' + disk_1_name + ',xvda,w',

debian:/opt/vm/nexenta# xm create -c nexentastor-community-3.0.2-xen.cfg
Using config file "./nexentastor-community-3.0.2-xen.cfg".
Error: Device /dev/xvdp (51952, tap) is already connected.




'tap2:vhd:' + work_dir + '/' + disk_1_name + ',xvda,w',

debian:/opt/vm/nexenta# xm create -c nexentastor-community-3.0.2-xen.cfg
Using config file "./nexentastor-community-3.0.2-xen.cfg".
Error: Boot loader didn't return any data!







I am using:

Debian Lenny x64
Xen src 4.0.0

debian:/usr/src# uname -ar
Linux debian 2.6.32-bpo.4-xen-amd64 #1 SMP Thu Apr 8 13:20:53 UTC 2010 x86_64 GNU/Linux


debian:/usr/src# ls
linux-headers-2.6.32-bpo.4-common-xen  NexentaStor-Community-3.0.2-xen.tar.bz2
linux-headers-2.6.32-bpo.4-xen-amd64   xen-4.0.0
linux-kbuild-2.6.32                    xen-4.0.0.tar.gz

debian:/usr/src# xm info
host                   : debian
release                : 2.6.32-bpo.4-xen-amd64
version                : #1 SMP Thu Apr 8 13:20:53 UTC 2010
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 1810
hw_caps                : bfebfbff:20100800:00000000:00000940:0000e39d:00000000:00000001:00000000
virt_caps              :
total_memory           : 1998
free_memory            : 129
node_to_cpu            : node0:0-1
node_to_memory         : node0:129
node_to_dma32_mem      : node0:129
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        :
cc_compiler            : gcc version 4.3.2 (Debian 4.3.2-1.1)
cc_compile_by          : root
cc_compile_domain      : speedport.ip
cc_compile_date        : Sat Jul 31 13:45:47 CEST 2010
xend_config_format     : 4



Attachment: fsimage-zfs-24.patch
Description: Text Data

Attachment: blktap2_ctrl_func.patch
Description: Text Data

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

 


Rackspace

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