|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Identifying disk resources in dom0
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
|
|
|
|
|