[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Identifying disk resources in dom0


  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.