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? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jun 22, 2009 at 5:28 PM, Angel L. Mateo<amateo@um.es> 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@lists.xensource.com http://lists.xensource.com/xen-users
El lun, 22-06-2009 a las 17:50 +0700, Fajar A. Nugraha escribió:> 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/* >OK. This works perfectly!!! -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users