- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- device name changes -- adding luns
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
04-01-2004 07:28 AM
04-01-2004 07:28 AM
we are planning to deploy linux on SAN.
I read that "sometimes" while adding luns to server, device path may change? i.e /dev/sdc may become /dev/sde. I would like to know your experiences and if above statement is true or not.
Also how can I prevent it if it's true.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 10:03 AM
04-01-2004 10:03 AM
Re: device name changes -- adding luns
You can try to use device bonding - whether or not its available depends on the device and the drivers you have. I don't think its available on the Emulex LightPulse cards, but I think it is available on the QLogic cards (just in the middle of looking at these now - HP don't support Emulex to their SAN storage, and unfortunately these were the cards we originally had).
The device number will only change when you present LUNS with a lower LUN number than the ones you already have defined.
So, if you have LUNS 3 and 4, these would possibly appear as /dev/sdc and /dev/sdd. If you then present LUN 2 to that system, then the assignments would change - 3 and 4 would become /dev/sdd and /dev/sde, 2 would become /dev/sdc.
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 10:47 AM
04-01-2004 10:47 AM
Re: device name changes -- adding luns
So, if you have LUNS 2, 3 and 4, these would possibly appear as /dev/sdc, /dev/sdd, and /dev/sde. If you then remove LUN 3, the assignments would change - LUN 4 would become /dev/sdd instead of /dev/sde.
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 04:57 PM
04-01-2004 04:57 PM
Re: device name changes -- adding luns
I'm using OCFS (Oracle Cluster FileSystem) and just modified my /etc/fstab to mount by LABEL i.s.o. devicename. You can use labels in ext2fs too.
When LUNs are added/deleted, existing device file numbers may change, the mount will succeed.
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 08:16 PM
04-01-2004 08:16 PM
Solutionexemple: if /dev/sda is on host adapter 0, channel 3, target 2 lun 4, it will create a unique name /dev/scsi/sd0-0c3d2l4
If used with MD raid modules, it won't work because md will use /dev/sda instead of the unique name ( still asking why .. bu didn't find yet)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2004 06:52 AM
04-02-2004 06:52 AM
Re: device name changes -- adding luns
Dell has a good whitepaper that explains this in gory detail:
http://www1.us.dell.com/content/topics/global.aspx/power/en/ps1q03_lerhaupt
You can download the package from linux.dell.com/devlabel