[Linux-cluster] R: Rename scsi devices

Robert Verspuy robert at exa-omicron.nl
Fri Jan 8 17:38:11 UTC 2010


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, cluster at xinet.it 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:* linux-cluster-bounces at redhat.com 
> [mailto:linux-cluster-bounces at redhat.com] *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, <cluster at xinet.it
>     <mailto:cluster at xinet.it>> 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
>     Linux-cluster at redhat.com <mailto:Linux-cluster at redhat.com>
>     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
> Linux-cluster at redhat.com
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20100108/eb23d38a/attachment.htm>


More information about the Linux-cluster mailing list