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] iSCSI-LUN as VBD

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] iSCSI-LUN as VBD
From: Matthew Wild <M.Wild@xxxxxxxx>
Date: Tue, 23 May 2006 12:30:48 +0100
Cc: Peter Simon <Peter.Simon@xxxxxxxxxxxxxxx>
Delivery-date: Tue, 23 May 2006 04:31:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1148304745.10039.36.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Uk Solar System Data Centre
References: <1148304745.10039.36.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
On Monday 22 May 2006 14:32, Peter Simon wrote:
> Hi,
>
> at the list I read the that some guys have this setup working:
> Access though iSCSI in dom0 to the target, starting domU directly form
> iSCSI-LUN as vbd.
>
I have iSCSI vbd based domUs working in SuSE10.1, xen-3.0.2 and 
open-iscsi-0.5.545-9 against an IET server.

> Accessing the iSCSI-LUN via dom0 works like a charme but my hole box
> crashes, when domU starts and tries to mount the filesystems.
>
> I'm testing with xen-3.0.2, open-iscsi 1.0-485 and a NetApp-Filer as
> target.
>
> The config looks like:
>
>   disk = [ 'phy:sdb1,sda1,w' ]
>
> where sdb1 is the iSCSI-LUN in dom0.
>
Is sdb partitioned? iSCSI attaches each LUN as a single block device that the 
dom0 needs to partition or to use whole.

I would have thought you'd want
        disk = [ 'phy:sdb,sda1,w' ]
unless you had partitioned the disk /dev/sdb on the dom0.

I have the config like this

        disk = [ 'phy:disk/by_id/scsi-0049003c...,hda1,w' ,               
                'phy:disk/by-id/scsi-0049005a...,hda2,w' ]

where /dev/disk/by-id/scsi-0049003c... would represent /dev/sdc for the domU 
root space and /dev/disk/by-id/scsi-0049005a... would represent /dev/sdd for 
the domU swap space and are individual disks as seen by the dom0. I'm using 
the /dev/disk/by-id names for each disk as these are unique names as seen by 
all iSCSI initiators and allow me to migrate live domUs between physical 
dom0s.

Regards

Matthew
-- 
Matthew Wild                       Tel.: +44 (0)1235 445173
M.Wild@xxxxxxxx                    URL http://www.ukssdc.ac.uk/
UK Solar System Data Centre and
World Data Centre - Solar-Terrestrial Physics, Chilton
Rutherford Appleton Laboratory, Chilton, Didcot, Oxon, OX11 0QX

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

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