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] problem with extra storage via iscsi

To: Tammo Schuelke <tas@xxxxxxxxxx>
Subject: Re: [Xen-users] problem with extra storage via iscsi
From: Gertjan Oude Lohuis <gertjan@xxxxxxx>
Date: Wed, 27 Aug 2008 19:13:46 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Aug 2008 10:13:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <vmime.48b56983.73b.629f06e0b67c5c20@xxxxxxxxxxxxxxxxx>
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: <vmime.48b5648d.73b.7f4328e012308a20@xxxxxxxxxxxxxxxxx> <vmime.48b56983.73b.629f06e0b67c5c20@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
Tammo Schuelke wrote:
open-iscsi assigns the discoverd LUN also to /dev/sda

So the domU does stop working since it's losing its root partition?
If not, what's the output of udevinfo -q symlink -n /dev/sda?

Thanks for your reply!

No, the domU keeps working, I think because all partitions are already mounted when open-iscsi starts. Output of udevinfo:

root@guest1 ~ # udevinfo -q symlink -n /dev/sda
disk/by-id/scsi-36006048c630e7b571c1ed50a0956f129 disk/by-path/ip-10.4.1.201:3260-iscsi-iqn.1992-05.com.emc:ck2000809002410000-7-lun-1

In general, iSCSI from within a domU should be working since it's plain TCP/IP.
Yes, that is exactly what I thought.

Performance wise it would probably be better to connect to the targets in dom0 
and assign the LUN to domU as a regular block device.

Why would performance be better with an extra layer (dom0)? Connecting the LUN to dom0 and assigning it as a regular blockdevice to domU has a large drawback: there is no protection against using the same blockdevice in multiple domU's. Normally LUN masking would protect against that, but a LUN mask is based on IQN, and the IQN belongs to the dom0.


Regards,
Gertjan Oude Lohuis

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