CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - General Support
  How to disable dm-multipathing in Centos 6

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  matthewdva
      matthewdva
Solved: How to disable dm-multipathing in Centos 6
#3
Newbie
Joined: 2009/3/21
From
Posts: 5
The solution:

a. service multipathd stop
b. chkconfig multipathd off
c. remove the multipath module and rebuild the initrd.
dracut -o "multipath" no-multipath.img
boot from the new initrd. In this case it is no-multipath.img
d.Add the boot parameter rdblacklist=multipath
Posted on: 2012/1/11 16:58
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: How to disable dm-multipathing in Centos 6
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
You could edit /boot/grub/grub.conf and add nompath and perhaps nodmraid to the kernel line.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2011/12/10 23:33
Create PDF from Post Print
Top
  •  matthewdva
      matthewdva
How to disable dm-multipathing in Centos 6
#1
Newbie
Joined: 2009/3/21
From
Posts: 5
How do you completely disable dm-multipathing in Centos 6 for SAN booted host.

In Centos 5, I would:
Edit /etc/fstab to on reference a single path of the device
ie:
/dev/mapper/mpath0a / .....
to
/dev/sda / ...

Edit /boot/grub/grub.conf to reference a single device path

# chkconfig multipathd off

In addition, make sure the /etc/sysconfig/mkinitrd/multipath file has the following line:
MULTIPATH=NO

Edit /etc/multipath.conf to be:
# Blacklist all devices by default. Remove this to enable multipathing
# on the default devices.
blacklist {
devnode "*"
}

mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`


What are the equivalent steps in Centos 6

--
Matt
Posted on: 2011/12/8 16:39
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com