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] Identifying disk resources in dom0

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Identifying disk resources in dom0
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 22 Jun 2009 17:50:45 +0700
Delivery-date: Mon, 22 Jun 2009 03:51:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1245666516.20107.25.camel@joshua>
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: <1245666516.20107.25.camel@joshua>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Jun 22, 2009 at 5:28 PM, Angel L. Mateo<amateo@xxxxx> wrote:
> Hello,
>
>        For my xen domUs I'm using a mixture of locah physical partitions (with
> LVM) and iSCSI disks. For local partitions, I don't have any problem,
> because LVM volumes are always the same. But for iSCSI disks, devices
> are assigned in the order they are connected, so I can't be sured that
> device that now is /dev/sdb (for example) will always be /dev/sdb.
>
>        So, is there any way to identify the physical device in the domU
> configuration not as phy:/dev/sdb, but something like phy:label=fslabel?
> Or is there any other solution to this problem?

I go with phy:/dev/disk/by-path/ip-*-iscsi-iqn.*
If you assign iscsi luns directly as domU's fs without additional
partitioning, you could probably also use /dev/disk/by-label/* or
/dev/disk/by-uuid/*

-- 
Fajar

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

<Prev in Thread] Current Thread [Next in Thread>