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:46:13 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Aug 2008 10:47:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48B58B4A.9070100@xxxxxxx>
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> <48B58B4A.9070100@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
Gertjan Oude Lohuis wrote:
No, the domU keeps working, I think because all partitions are already mounted when open-iscsi starts.

I figured out why /dev/sda is assigned to the LUN. This is a part from the domU configurationfile:

root    = '/dev/sda1 ro'
disk = [ 'phy:xen-images/loghost-disk,sda1,w', 'phy:xen-images/loghost-swap,sda2,w', 'phy:xen-images/loghost-remotelogs,sda3,w', '
phy:xen-images/loghost-httplogs,sda4,w' ]


As you can see, only sda1 through sda4 are used, but sda is not. Mystery solved.

Step two: what to do next:
1. Alter configuration file and add a phony /dev/sda, so that udev will give my LUN (hopefully) another name 2. Alter complete setup: assign only a /dev/sda to the domU and partition it inside the domU 3. Configure the LUN as /dev/sda, hoping that partitions made on the LUN will not conflict with existing /dev/sda[1-4] 4. Figure out a way to have udev assign another name than /dev/sda (eg sd[b-z])

Any suggestions? Are there best practices for a situation like this, or more in general: partitioning for domU?


Regards, Gertjan

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