LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-25-2021, 03:18 PM   #1
rmustafa
LQ Newbie
 
Registered: Jan 2021
Posts: 3

Rep: Reputation: Disabled
Question disable and stopping multipathing on Linux


We have a azure migration coming in , in order to migrate from linux to azure system they would like us to stop multipathing on Linux.

So the question is

how can we disable multipathing ?

what effect it would have on the production linux server ?

I saw "multipath -ll" giving output of 6 mpath, should I use "multipath -f mpatha" and so on so forth ??

or should use "multipath -F" ?? to disable all the devices at once ?

Or let me know if there is a proper procedure to achieve this task ??

Is it possible to make a change with out taking downtime ??

Thanks

Last edited by rmustafa; 01-25-2021 at 03:21 PM.
 
Old 01-26-2021, 06:08 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Please ask "them" what "they" mean by "stop multipath".

multipath -f mpatha will undo a single path mpatha. It doesn't disable multipathing, since the multipathd continues to run in the background, detecting multipaths. Same for multipath -F. Also note that multipaths don't exist for their own sake; they have logical volumes, filesystems etc. on them. Before you undo them, you therefore have to stop/reconfigure/do something with the consumers of those multipaths.

On most (all?) enterprise Linux distros, you stop a service with systemctl stop SERVICENAME, for example systemctl stop multipath, then disable it (i.e. ensure it does not get started at system startup) with systemctl disable multipath. This ensures that no paths are detected, but it doesn't necessarily affect currently running paths.

Again, my recommendation is to first find out what "stop multipath" is supposed to mean, then to deal with whatever data exists on your multipaths.

Last edited by berndbausch; 01-26-2021 at 06:10 PM.
 
Old 01-31-2021, 02:59 PM   #3
rmustafa
LQ Newbie
 
Registered: Jan 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
We will surely ask them but for the of understanding does stopping multipath will affect on PV level ? because we have lv on it and concerned about the data and filesystem We have in the PV.
 
Old 01-31-2021, 08:07 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
If your PV was created on /dev/mapper/mpatha, and you make mpatha disappear, I would guess that it affects your PV, thus the LVs that are on it.
 
  


Reply



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
Linux Multipathing me_spearhead Linux - Server 2 05-19-2014 12:25 PM
Lun multipathing in linux? aparna8877 Linux - General 6 01-28-2012 11:42 PM
Xen and multipathing to SAN within VMs. larold Linux - Virtualization and Cloud 1 02-24-2010 03:32 PM
Multipathing in linux comeatmanish Linux - Newbie 1 10-07-2009 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:27 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
Open Source Consulting | Domain Registration