Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-09-2012, 08:50 PM   #1
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Question multipath not active/active

All of my iscsi volumes are showing similar to the following on a multipath -ll:
mpathf (36090a018a01a76cfcae0b4427b02b075) dm-10 EQLOGIC,100E-00
size=6.0T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 18:0:0:0 sdl 8:176  active ready running
|-+- policy='round-robin 0' prio=1 status=active
| `- 17:0:0:0 sdn 8:208  active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
  `- 26:0:0:0 sdv 65:80  active ready running
Does the status=enabled mean that it's ready to take over but not being actively used?

I don't have path_grouping_policy set in multipath.conf which means that it should be set to multibus by default. That's the only thing I can think of here. Anyone have any other ideas?
Old 01-09-2012, 09:45 PM   #2
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Original Poster
Rep: Reputation: 30
Hmmm. The dm-multipath doc from redhat says that path_grouping_policy is set to failover by default but MULTIPATH.CONF(5) says that it's multibus. Fail.

How do I apply a change like path_grouping_policy on the fly w/out causing an interruption?
Old 01-09-2012, 09:57 PM   #3
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Original Poster
Rep: Reputation: 30
This is just stupid. The man page doesn't document the -r option as indicated in the -h help output:

[root@omadvnfs01c ~]# multipath -h
multipath-tools v0.4.9 (04/04, 2009)
  multipath [-c] [-d] [-r] [-v lvl] [-p pol] [-b fil] [-q] [dev]
  multipath -l|-ll|-f [-v lvl] [-b fil] [dev]
  multipath -F [-v lvl]
  multipath -h

  -h      print this usage text
  -l      show multipath topology (sysfs and DM info)
  -ll     show multipath topology (maximum info)
  -f      flush a multipath device map
  -F      flush all multipath device maps
  -c      check if a device should be a path in a multipath device
  -q      allow queue_if_no_path when multipathd is not running
  -d      dry run, do not create or update devmaps
  -r      force devmap reload
  -p      policy failover|multibus|group_by_serial|group_by_prio
  -b fil  bindings file location
  -p pol  force all maps to specified path grouping policy :
          . failover            one path per priority group
          . multibus            all paths in one priority group
          . group_by_serial     one priority group per serial
          . group_by_prio       one priority group per priority lvl
          . group_by_node_name  one priority group per target node
  -v lvl  verbosity level
          . 0 no output
          . 1 print created devmap names only
          . 2 default verbosity
          . 3 print debug information
  dev     action limited to:
          . multipath named 'dev' (ex: mpath0) or
          . multipath whose wwid is 'dev' (ex: 60051..)
          . multipath including the path named 'dev' (ex: /dev/sda)
          . multipath including the path with maj:min 'dev' (ex: 8:0)
Either way, here's what I did to fix my situation:

multipath -p multibus
multipath -r
You might be able to combine these into
multipath -r -p multibus
, who knows.


iscsi, iscsid, rhel6

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
LXer: Setting Up An Active/Active Samba CTDB Cluster Using GFS & DRBD (CentOS 5.5) LXer Syndicated Linux News 0 12-03-2010 10:00 AM
Building a clustered SAN array with active/active HA berhart Linux - Enterprise 0 08-19-2010 12:23 AM
Debian etch, IBM SAN 4700, qlogic. How to change multipath to active /passive? vmm_sys Linux - Enterprise 4 08-16-2010 03:08 AM
Do you need STP enabled to run active active bonding one CentOS4? ch19251 Linux - Networking 1 06-17-2009 09:30 AM
active active servers to same memory space c@ml Linux - Server 2 10-31-2008 08:19 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:27 PM.

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