- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to change pseudo device name ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:04 AM
07-18-2005 04:04 AM
How to change pseudo device name ?
I presented 2 LUNs on EVA5000 to 2 different servers, and used QLogic multipath driver to combine 8 paths to 2:
[root@srsA /]# lssd
sda 0,0,0,2 COMPAQ HSV110 (C)COMPAQ 3020 5000-1fe1-5004-569c
sdb 0,0,2,3 COMPAQ HSV110 (C)COMPAQ 3020 5000-1fe1-5004-5448
[root@srsB /]# lssd
sda 0,0,0,3 COMPAQ HSV110 (C)COMPAQ 3020 5000-1fe1-5004-5448
sdb 0,0,2,2 COMPAQ HSV110 (C)COMPAQ 3020 5000-1fe1-5004-569c
But I notice that on SrsA, /dev/sda points to LUN#1, /dev/sdb points to LUN#2; while on SrsB, /dev/sda points to LUN#2, /dev/sdb points to LUN#1
/dev/sda(b) is the virtual pseudo device file generated by QLogic Multipath driver, how can I make them point to the same LUN on both servers? that is, "/dev/sda" both point to LUN#1, "/dev/sdb" both point to LUN#2
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:34 AM
07-18-2005 04:34 AM
Re: How to change pseudo device name ?
There are procedures for renumbering instances but they are risky and sometimes not supported by the various Linux distributions.
SEP
Rapid City, SD
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 05:04 AM
07-18-2005 05:04 AM
Re: How to change pseudo device name ?
Could you please tell me the detail about how I can change the LUN number on the SAN side to make this work ?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 05:59 AM
07-18-2005 05:59 AM
Re: How to change pseudo device name ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 06:04 AM
07-18-2005 06:04 AM
Re: How to change pseudo device name ?
But the Oracle guy who is going to install RAC on these two servers asked for same device file to the same LUN, that's the requirement to run those RAC configuration scripts, he said...
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 11:43 PM
07-18-2005 11:43 PM
Re: How to change pseudo device name ?
Unpresent sda from srsB.
Reboot srsB.
sdb will be detected as sda.
Present the vdisk again.
Without reboot, download and run rescan-scsi-bus.sh
The devices will be the same in srsB and srsA, but at next reboot will stay different again.
So, if you don't need that the device files be the same after initial installation (using the LABEL to mount the filesystems), this may be a workarround.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2005 12:26 AM
07-19-2005 12:26 AM
Re: How to change pseudo device name ?
This swapping of devices on different targets can easily happen in the fibre channel world.
What you need is called 'persitent binding'. It is used to make sure a LUN is always mapped to the same device name. Look back into your previous thread:
http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=939917
Greg Vaidman has already given you a link to the manual which describes this.