<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 10/22/2013 12:17 PM, Zama Ques
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1382437026.69206.YahooMailNeo@web193505.mail.sg3.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div class="post-text" itemprop="description">
          <div>My local partitions are detected as multipath device <br>
          </div>
          <pre><code>$multipath -l

mpathb (360014380125d90420000a000003e0000) dm-9 HP,HSV450
size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
`- 3:0:0:1 sdb 8:16 active undef running
mpatha (3600508b1001c02143bc59c6862d97353) dm-0 HP,LOGICAL VOLUME
size=137G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
`- 0:0:0:1 sda 8:0  active undef running
</code></pre>
          <div>I added the following lines in multipath.conf so that
            local partitions are not considered as multipath device</div>
          <pre><code>blacklist {
   wwid 3600508b1001c02143bc59c6862d97353
}
</code></pre>
          <div>Executed the following commands after that .</div>
          <pre><code>#service multipathd reload

# multipath -F
Oct 22 12:10:42 | mpathb: map in use
Oct 22 12:10:42 | mpatha: map in use
</code></pre>
          <div>So , tried rebooting the server , but no luck . Any clues
            to resolve the issue will be highly appreciated . <br>
          </div>
          <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
            times new roman,new york,times,serif; background-color:
            transparent; font-style: normal;"><br>
          </div>
          <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
            times new roman,new york,times,serif; background-color:
            transparent; font-style: normal;">Thanks</div>
          <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
            times new roman,new york,times,serif; background-color:
            transparent; font-style: normal;">Zaman<br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <tt>hi,</tt><br>
    <br>
    <tt>/me wonders what OS ( and version ) is in use? service
      multipathd relaod ... suggest it is something RHEL based ( not 100
    </tt><tt>% sure ) </tt><br>
    <br>
    <tt>Check /etc/multipath/* files ( if rhel 6 )  and see is there
      WWID from above, and also check initramfs ( RHEL 6 ) or initrd
      file  ( RHEL 5 ) from /b</tt><tt>oot </tt><br>
    <br>
    <tt>do</tt><tt> below </tt><br>
    <br>
    <tt># mkdir /tmp/initrdtes</tt><tt>t </tt><br>
    <tt># cp /boot/initramfs-$$$$.img ( or initrd ... ) /t</tt><tt>mp/initrdtest

    </tt><br>
    <br>
    <tt>unpack it </tt><br>
    <br>
    <tt># </tt><tt>cd tmp/initrdtest </tt><br>
    <br>
    <tt># zcat initrd.img | cpio -i </tt><br>
    <br>
    <tt>and check what is there for multiapth devices written.</tt><br>
    <br>
    <tt>In short, I think you will need to ensure there are not records
      for devices you want to blacklist in /etc/multipath/* ( rhel 6 )
      or /var/lib/multipath/*   ( rhel 5 ) and rebuild initramfs /
      initrd ( depending is it RHEL 5 - initrd / RHEL 6 -initramfs  )
      once these records are not present.Rebuilding initrd/initramfs
      will pick values from /etc/multipath/*  ( rhel 6 ) or
      /var/lib/multipath/ ( rhel 5 ) <br>
      <br>
      to rebuild initrd/initramfs check docs out there  but in short
      process is ( after you remove records for WWID from wwid and
      bindings files - read above ) <br>
      <br>
      <br>
      RHEL 5: <br>
      <br>
      # cd /boot<br>
      # cp initrd-$(uname -r).img initrd-$(uname -r).img.backup [ make
      backup ] <br>
      # mkinitrd -v -f initrd-$(uname -r).img <br>
      # reboot ( to boot to new initramfs ) <br>
      <br>
      RHEL 6: <br>
      <br>
      same as above with small corrections ;) <br>
      <br>
    </tt><br>
    <tt><tt># cd /boot<br>
        # cp initramfs-$(uname -r).img initramfs-$(uname -r).img.backup
        [ make backup ] <br>
        # dracut -v -f initramfs-$(uname -r).img <br>
        # reboot ( to boot to new initramfs ) <br>
        <br>
      </tt></tt><br>
    <tt><tt><tt> good reading <a class="moz-txt-link-freetext"
href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/DM_Multipath/config_file_blacklist.html">https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/DM_Multipath/config_file_blacklist.html</a>
           </tt> <br>
        <br>
        hope this helps <br>
        <br>
        Kind regards, <br>
      </tt><br>
    </tt>
    <pre class="moz-signature" cols="72">-- 
Elvir Kuric, Senior Technical Support Engineer / Red Hat / GSS EMEA / </pre>
  </body>
</html>