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 iscsi on domU

To: "Lino Moragon" <lino.moragon@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Problem iscsi on domU
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Tue, 1 Jul 2008 12:57:43 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 01 Jul 2008 09:58:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type:references; bh=Y4qoEO6SuyzScRWgmvEyUz27NkXl93QR7FUuX8zBMNM=; b=I+FoZTkZ7lXFMPkBtohKZ9ReYp0iEa+QhGS9TwpdGRTG7dz4Q5cguHViHfN9MDBP9V YLyvYXCqRuw2AG74Fd6VkCffC4qA0K9pY7+Fy9F4+jUE3KIwA8+bvndwe63dwuVVHKis h4+vZeXDKohE9Pa4I70+vzNYazUkNB5kpAiq0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:references; b=HEnyEpuUdW4WvYOolOrm/TW9VoJYXhejURlfkp2sst5WC8zjX/+cpgZx5ju2v8Ryid jkspnGcCo9UmC9itYMF8rTe6+T9ngxaxh3hAUMGqXGvq8QCbK7AsLmmFfALCFC7sSSS0 +cgZ3nDeTILRFmOIAdaRi4NzOOBAK4YrVIsvc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4869D078.4020202@xxxxxxxxxxxx>
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: <4868AB67.803@xxxxxxxxxxxx> <1e16a9ed0806302226m5cdada85qc73667f3eefe184@xxxxxxxxxxxxxx> <4869D078.4020202@xxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Tue, Jul 1, 2008 at 2:36 AM, Lino Moragon <lino.moragon@xxxxxxxxxxxx> wrote:
Todd Deshane wrote:



On Mon, Jun 30, 2008 at 5:46 AM, Lino Moragon <lino.moragon@xxxxxxxxxxxx <mailto:lino.moragon@xxxxxxxxxxxx>> wrote:

   Hi list,

   I'm having troubles to get an iscsi initiator working on a domU.
   As dom0 and domU I use a Centos 5 with the 2.6.18-53.1.14.el5
   xen-kernel.
   As iscsi initiator i use the iscsi-initiator-utils of the Centos5
   repo.
   The problem is, that when I log in to my iscsi target on the domU
   it is recognized as /dev/sda1.
   Now sda1 is also my root partition on the domU. And when I mount
   it I've mounted the root partition and not the iscsi device.

   Has anyone had this problem yet? Is there a solution to make it
   recognized as e.g. /dev/sdb ?

   Any help and tips would be appreciated.


You should be able to setup a udev rule that will recognize the drives and correctly set them up.

take a look here:
http://www.performancemagic.com/iscsi-xen-howto/iSCSI.html
Hi,

Thanks for your response. I just tried it that way.
Only problem is, that it creates a link that links to the same /dev/sda1.
So if I mount the new /dev/iscsi_11 device it will mount again the root filesystem.
Are there other possible options? Or isn't it at all possible?

Take a look at:
/dev/disk/by-uuid/
 

Thanks for some hints.

Regards, Lino


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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>