Re: R: Rename scsi devices

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

 



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@xxxxxxxx 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@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] Per conto di Ian Hayes
Inviato: venerdì 8 gennaio 2010 16:22
A: linux clustering
Oggetto: Re: 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@xxxxxxxx> 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@xxxxxxxxxx
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@xxxxxxxxxx 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
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux