See http://www.cyberciti.biz/tips/linux-assign-static-names-to-scsi-devices.html for an example of such an udev rule.
Then you can use the symlink in your xen config.

With kind regards,
Robert Verspuy

On 01/08/2010 05:45 PM, [email protected] wrote:

Thanks a lot for your answer!

Can you post some example for doing this?

My problem is that I have to refer to a right device in my VM configuration for xen:

disk = ['phy:/dev/sdj,xvda,w']

for live migration purposes the reference to disk must be the same in all the physical hosts, so I must be shore that sdj points to the right ISCSI LUN.

Thanks for any help!

Regards,

Francesco Gallo

*Da:* [email protected] [mailto:[email protected]] *Per conto di *Ian Hayes
*Inviato:* venerdì 8 gennaio 2010 16:22
*A:* linux clustering
*Oggetto:* Re: [Linux-cluster] Rename scsi devices

You could use a udev rule to symlink it to a new device name

    On Jan 8, 2010 7:07 AM, <[email protected]
    <mailto:[email protected]>> wrote:

    Hi all,

    do someone know how i could rename an iscsi device from

    /dev/sde to /dev/sdg?

    I mean, I have an iscsi device from a storage with address
    7:0:0:12 and I see it in one host with the name /dev/sde while in
    the second host i see it with name /dev/sdg.

    I need to rename due to virtualization purposes.

    Can someone help me?

    Thanks all,

    Francesco Gallo


    --
    Linux-cluster mailing list
    [email protected] <mailto:[email protected]>
    https://www.redhat.com/mailman/listinfo/linux-cluster

Nessun virus nel messaggio in arrivo.
Controllato da AVG - www.avg.com
Versione: 9.0.725 / Database dei virus: 270.14.129/2606 - Data di rilascio: 01/07/10 20:35:00

------------------------------------------------------------------------

--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster


--
*Exa-Omicron*
Patroonsweg 10
3892 DB Zeewolde
Tel.: 088-OMICRON (66 427 66)
http://www.exa-omicron.nl
--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster

Reply via email to