[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How do you take a local drive out of mulitpath in Linux?

Posted on 2012-04-13
2
Medium Priority
?
1,288 Views
Last Modified: 2012-04-15
I have a new system I just built that has somehow added a local drive /dev/sdb1 into multipath:

[root@server /]# multipath -ll
multipath.conf line 114, invalid keyword: polling_interval
multipath.conf line 126, invalid keyword: polling_interval
multipath.conf line 140, invalid keyword: polling_interval
multipath.conf line 141, invalid keyword: selector
multipath.conf line 145, invalid keyword: max_fds
mpath0 (36782bcb0624a720016aa6bcd12321c25) dm-5 DELL,PERC 6/i
[size=279G][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=1][active]
 \_ 0:2:1:0 sdb 8:16  [active][ready]

Open in new window


It does not need to be in there and should be treated as a normal local drive. How can I remove it from multipath?
0
Comment
Question by:Thaidog
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
Pepe2323 earned 2000 total points
ID: 37844159
Hi

If you don't have storge like SAN that can have more than 1 path there is no sense you have multipath running

So you can disable it, this is a service running

Also you can black list specific devices into /etc/multipath.conf

blacklist {
      wwid SIBM-ESXSST336732LC____F3ET0EP0Q000072428BX1 -----> this is id of the disk
}

you can get it with this command


# multipath -v2
create: SIBM-ESXSST336732LC____F3ET0EP0Q000072428BX1 undef WINSYS,SF2372 ----->  id listed here
size=33 GB features="0" hwhandler="0" wp=undef
`-+- policy='round-robin 0' prio=1 status=undef
  |- 0:0:0:0 sda 8:0  [---------

you can get more details on this link http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/DM_Multipath/ignore_localdisk_procedure.html
0
 
LVL 1

Author Comment

by:Thaidog
ID: 37847883
Well I did a chkconfig multipathd off but the local disk was still getting listed with multipath -ll even with the daemon off... I'm guessing due to the driver being loaded. I blacklisted the sd[a/z] devices in multipath.conf and so far so good. Thanks for your help!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question