- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to disable a LUN PATH
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
Discussions
Discussions
Forums
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
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
тАО09-19-2008 02:10 PM
тАО09-19-2008 02:10 PM
How do I disable the other paths that the OS sees so Linux can properly see a single path to the LUN ?
Thanks for any information you can provide.Points will be provided
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2008 02:22 PM
тАО09-19-2008 02:22 PM
SolutionYou can use device mapper multipath:
http://storagefoo.blogspot.com/2006/08/linux-native-multipathing-device.html
>>> How do I disable the other paths that the OS sees so Linux can properly see a single path to the LUN ?
That question means that you do see multiple paths to the same LUN, this is probably you presented the LUN via multiple controllers ports over the same HBA.
Depending of the storage, you could present the LUN only on one port. If you can't you should use zoning.
But anyway, probably device mapper multipath is your best option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2008 08:33 AM
тАО09-21-2008 08:33 AM
Re: How to disable a LUN PATH
I cannot use /dev/mpath1-9 in fdisk commands but I can still use /dev/sdm and /dev/sdc in fdisk commands so it does not seem to disable multiple paths.
Points for other ideas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2008 10:50 PM
тАО09-21-2008 10:50 PM
Re: How to disable a LUN PATH
This needs to be done from Storage side.
I dont know which storage u r using. But i will simulate it with XP storage. XP storage have dual ACP pairs for redundandancy. each disk have connectivity with both the ACP card. so each lun is having two different path(frm two chip port of two ACP. Ask ur SAN administrator to assign Lun to only one host group or in case of EMC assign to one chip port. may be i have not writtren this properly as i am not SAN administrator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 08:41 AM
тАО09-25-2008 08:41 AM
Re: How to disable a LUN PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 10:23 AM
тАО09-25-2008 10:23 AM
Re: How to disable a LUN PATH
Which Emulex HBA are you using, and what storage ?
A quick Google suggests that you might be able to use the Emulex MultiPulse module...
http://h50146.www5.hp.com/products/software/oe/linux/mainstream/bin/support/doc/option/fibre/README.multipulse2164.txt
Hope this helps,
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 11:32 AM
тАО09-25-2008 11:32 AM
Re: How to disable a LUN PATH
With DM-multipathd enabled, you may see your multipath devices ( mpath0 -- mpathXX if user_friendly_names is to yes in /etc/multipath.conf ) and their different paths (/dev/sdx).
DM-multipath manages by default persistent binding (names the do not change across reboots) in /var/lib/multipath/bindings. If /var is on a different mount point than /, things are not going to work well.
Post the multipath-ll -v2 output
Attention, /dev/sdx names are volatile, never base a configuration on these names.
Once your mpath devices are well seen, you can setup LVM based on these /dev/mpath/mpath devices.
pvcreate /dev/mpath/mpathx etc ...
I don't know nothing about lvmdiskinfo.
If you do not want to use LVM on these disks but legacy partitions (fdisk)partition your first path (/dev/sda) with the desired layout and then replicate the partitionning to the other paths :
sfdisk -l /dev/sda | sfdisk /dev/sbd ...
this will create all the /dev/sdx[-9] devices
I would use rather LVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2008 12:09 PM
тАО09-25-2008 12:09 PM
Re: How to disable a LUN PATH
Thanks for the suggestion. Unfortunately the application I am using "Polyserve" only sees the SDA device files and cannot be configured to use the multipath device files