LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2017, 05:58 AM   #1
jobart08
Member
 
Registered: Sep 2014
Posts: 74

Rep: Reputation: Disabled
Multipathing in RHEL


I have multipaths in rhel from an HP 3par storage. I removed several devices from the 3par storage and unexported them. Then I provisioned a new storage and exported it to the rhel server. Problem is, I can still see the old devices when I do a multipath -ll. I removed them using kpartx -d but when I restarted/reloaded multipath, they are still there.

I already removed them in /etc/multipath/bindings and /etc/multipath/wwid

[root@server multipath]# cat bindings
# Multipath bindings, Version : 1.0
# NOTE: this file is automatically maintained by the multipath program.
# You should not need to edit this file in normal circumstances.
#
# Format:
# alias wwid
#
#mpatha 3600508b1001cef10594c92e289adef7b
#mpathb 360002ac000000000000000040000b42a
#mpathc 360002ac000000000000000050000b42a
#mpathd 360002ac000000000000000030000b42a
mpathe 360002ac000000000000000020000b42a
mpathf 360002ac000000000000000070000b42a
mpathg 360002ac000000000000000080000b42a
mpathh 360002ac000000000000000060000b42a
mpathi 360002ac000000000000000090000b42a
mpatha 3600508b1001cef10594c92e289adef7b
mpathc 360002ac000000000000000050000b42a
mpathb 360002ac000000000000000040000b42a
mpathd 360002ac000000000000000030000b42a
[root@server multipath]# cat wwids
# Multipath wwids, Version : 1.0
# NOTE: This file is automatically maintained by multipath and multipathd.
# You should not need to edit this file in normal circumstances.
#
# Valid WWIDs:
#/360002ac000000000000000040000b42a/
#/360002ac000000000000000050000b42a/
#/360002ac000000000000000030000b42a/
/360002ac000000000000000020000b42a/
/360002ac000000000000000070000b42a/
/360002ac000000000000000080000b42a/
/360002ac000000000000000060000b42a/
/360002ac000000000000000090000b42a/
/360002ac000000000000000050000b42a/
/360002ac000000000000000040000b42a/
/360002ac000000000000000030000b42a/
[root@server multipath]#

Question is, how do I remove the non existent path and make the new device I exported visible to the server.

Thanks!

Last edited by jobart08; 03-30-2017 at 08:33 PM. Reason: incomplete post
 
Old 03-30-2017, 07:38 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,433
Blog Entries: 13

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Hi,

I think your question may need to provide additional information.

First, there is documentation online for the multipath command https://access.redhat.com/documentat...h_options.html.

That particular section talks about command line options where you can use the -f or -F options. And perhaps the -F option to remove all unused paths will benefit you.

You did not cite exactly how you performed the removal of devices, whether you used the multipath command, or some other means. It may also be relevant for other LQ members to know what version of RHEL server you are running.
 
Old 03-30-2017, 08:51 AM   #3
jobart08
Member
 
Registered: Sep 2014
Posts: 74

Original Poster
Rep: Reputation: Disabled
Apologies. Im running rhel 6.7. I've tried multipath -f but when I restart the service they are still there.
 
Old 03-30-2017, 08:51 PM   #4
jobart08
Member
 
Registered: Sep 2014
Posts: 74

Original Poster
Rep: Reputation: Disabled
I did the commands below and the mpaths were gone.
kpartx -d /dev/mapper/mpathb
kpartx -d /dev/mapper/mpathc
kpartx -d /dev/mapper/mpathd
multipath -f
multipath -f mpathb
multipath -f mpathc
multipath -f mpathd
multipath -ll

but after i ran service multipathd restart they were back. Do I have to reboot the machine to make this permanent? Also, I still cannot find the new device I presented to this machine. Thanks!
 
Old 04-03-2017, 08:21 PM   #5
jobart08
Member
 
Registered: Sep 2014
Posts: 74

Original Poster
Rep: Reputation: Disabled
We did a remote session with RHEL. They checked and confirmed the symptoms that I was experiencing. They suggested that I check with our 3par vendor to check the connections from storage to server. 3par vendor confirms that the old luns were deleted and the new one is presented to the server. Still cannot see the new lun and the old luns are still visible.

Any suggestions?
 
  


Reply

Tags
rhel 6


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multipathing rafiahmadjan Linux - Server 1 12-31-2012 12:45 PM
Rhel 6---multipathing rafiahmadjan Linux - Newbie 2 12-13-2012 01:42 AM
[SOLVED] RHEL 6 w/LVM volume duplication breaks multipathing zenfridge Linux - Software 2 03-14-2011 05:47 PM
multipathing xgxiaofei Linux - Enterprise 2 01-12-2010 07:24 AM
multipathing ? xgxiaofei Linux - Hardware 1 01-11-2010 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration