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] Auto attaching ISCSI luns

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Auto attaching ISCSI luns
From: Matt <brimstone@xxxxxxxxxxxx>
Date: Tue, 25 Aug 2009 10:18:14 -0500
Delivery-date: Tue, 25 Aug 2009 08:19:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0908250758o783c9dcesb816f2efad39e7f3@xxxxxxxxxxxxxx>
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: <4A93F5C2.5030701@xxxxxxxxxxxx> <7207d96f0908250758o783c9dcesb816f2efad39e7f3@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)
Fajar A. Nugraha wrote:
> On Tue, Aug 25, 2009 at 9:31 PM, Matt<brimstone@xxxxxxxxxxxx> wrote:
>> My cfg file has the following line:
>>
>>
>> disk =3D [
>> 'iscsi:/dev/disk/by-path/ip-10.0.1.2:3260-iscsi-iqn.2001-05.com.equallogi=
>> c:0-123456-789012345-6789012345678901-xp-lun-0,ioemu:hda:disk,w'
>> ]
>>
>>
>> Any ideas on how to get this working again or what I need to change
>> to do so?
> 
> Did it work before?

It did. the /etc/xen/scripts/block-iscsi script basically just
logged into the lun, found the /dev/mapper/ device and used
write_dev to pass it back up to xen. This worked fine in xen 3.2 but
now is giving me problems in xen 3.3.

> For it to work you need (at least) /etc/xen/scripts/block-iscsi
> script. Is it there? If not, the easiest way to make it work is to
> make the iscsi LUN available on dom0 manually, then change the config
> file to
> 
> disk = 
> ['phy:/dev/disk/by-path/ip-10.0.1.2:3260-iscsi-iqn.2001-05.com.equallogic:0-123456-789012345-6789012345678901-xp-lun-0,hda:disk,w']


Yes, manually setting 'phy:/dev/mapper/...' works great, but this
requires me to have some system setup to make sure every host has
every lun logged in all the time. I'm sure I'm going to hit some
iscsi connection limit this way.

#matt

Attachment: signature.asc
Description: OpenPGP digital signature

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