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] Xen and iSCSI - options and questions

To: Stefan de Konink <skinkie@xxxxxxxxx>
Subject: Re: [Xen-users] Xen and iSCSI - options and questions
From: jpranevich@xxxxxxxxxxx
Date: Tue, 5 Aug 2008 17:52:52 -0400 (EDT)
Cc: Todd Deshane <deshantm@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, Antibozo <xen-users@xxxxxxxxxxxx>
Delivery-date: Tue, 05 Aug 2008 14:53:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8593651.20021217972904182.JavaMail.root@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/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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

Ah, that is perhaps the problem then. I'm using "iscsi:" instead of "phy:" and 
replacing the colon in the IQN with a '@' per instructions that I found in the 
SuSE "xmexample.disks" file. 

For example:

disk = [ 
"iscsi:iqn.2001-05.com.equallogic@0-8a0906-4bbfbc101-51f41f3a27647d08-jpranevich,xvda,w"
 ]

That returns an error: 

[root@vs6 SOURCES]# xm create jpranevich
Using config file "/etc/xen/jpranevich".
Error: Disk isn't accessible

That error caused me to assume that the script didn't work with 3.2. Is there 
any other tweak that I need to make? Any specific way that iscsiadm should be 
run first? I notice that just the line doesn't include a portal address-- just 
a IQN. My guess was that it just looked in /var/lib/iscsi/nodes/ for the right 
addresses and configuration, but perhaps not.

Any further advice that you can provide is appreciated.

Joe

----- Original Message -----
From: "Stefan de Konink" <skinkie@xxxxxxxxx>
To: jpranevich@xxxxxxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, "Antibozo" <xen-users@xxxxxxxxxxxx>, "Todd 
Deshane" <deshantm@xxxxxxxxx>
Sent: Tuesday, August 5, 2008 4:35:12 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Xen-users] Xen and iSCSI - options and questions

On Tue, 5 Aug 2008 jpranevich@xxxxxxxxxxx wrote:

> Stefan, the version that I could fine doesn't seem to work with Xen
> 3.2. Is there some modification to /etc/xen/scripts/block that needs to
> be made so it will be called in the right cases? I wasn't able to figure
> it out in my digging through it yesterday. (I had concluded that it must
> not work in Xen 3.2 because there didn't appear to be a way to do it
> using the xen-api layer. But that may also be due to my ignorance of
> VBD/SR management and how that all links together...)

Nonsence, it is running from 3.1 to 3.2 for the last 9 months. Maybe you
don't use the right disk syntax, but that isn't really something I
responsible for.

> I just installed a copy of SuSE on a machine here (seems to be Xen
> 3.0?) and I'm looking, but I'm not sure I understand this all yet.

The updated script was even included in the new SuSe distro...


Stefan



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