<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 10/25/2013 07:29 AM, Zama Ques wrote:
    <blockquote
      cite="mid:1382678991.11524.YahooMailNeo@web193506.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 id="yiv0668673228">
          <div>
            <div
              style="color:#000;background-color:#fff;font-family:times
              new roman, new york, times, serif;font-size:12pt;">Creating
              a new RAMDISK resolved the issue as suggested by Elvir
              Kuric after blacklisting the local disk in multipath.conf
              . <br clear="none">
              <br clear="none">
              ====<br clear="none">
              $ df<br clear="none">
              Filesystem           1K-blocks      Used Available Use%
              Mounted on<br clear="none">
              /dev/sda8             43112964  19708732  21214204  49% /<br
                clear="none">
              tmpfs                 32978736     25836  32952900   1%
              /dev/shm<br clear="none">
              /dev/sda1               198337     66006    122091  36%
              /boot<br clear="none">
              /dev/sda6             10079084    840160   8726924   9%
              /opt<br clear="none">
              /dev/mapper/mpathbp1  51606124    184136  48800552   1%
              /webdata<br clear="none">
              /dev/mapper/mpathcp1 209690016   3414728 206275288   2%
              /sharedweb<br clear="none">
              ===<br clear="none">
              <br clear="none">
              Other options of  setting following parameter  "
              find_multipaths  yes"  did not helped to resolve the
              issue. <br clear="none">
              <br clear="none">
              Thanks all for the replies and suggestions. <br
                clear="none">
              <div id="yiv0668673228yui_3_13_0_rc_1_9_1382601039487_8"><br
                  clear="none">
                <span
                  id="yiv0668673228yui_3_13_0_rc_1_9_1382601039487_30"></span></div>
              <div id="yiv0668673228yui_3_13_0_rc_1_9_1382601039487_67"
                style="color:rgb(0, 0,
                0);font-size:16px;font-family:times new roman, new york,
                times,
                serif;background-color:transparent;font-style:normal;"><span
                  id="yiv0668673228yui_3_13_0_rc_1_9_1382601039487_30">Thanks</span></div>
              <div id="yiv0668673228yui_3_13_0_rc_1_9_1382601039487_71"
                style="color:rgb(0, 0,
                0);font-size:16px;font-family:times new roman, new york,
                times,
                serif;background-color:transparent;font-style:normal;"><span
                  id="yiv0668673228yui_3_13_0_rc_1_9_1382601039487_30">Zaman<br
                    clear="none">
                </span></div>
              <div class="yiv0668673228yahoo_quoted"
                id="yiv0668673228yui_3_13_0_rc_1_9_1382601039487_10"
                style="display: block;"> <br clear="none">
                <br clear="none">
                <div
                  class="yiv0668673228yui_3_13_0_rc_1_1_1382601039487_23360"
                  style="font-family:times new roman, new york, times,
                  serif;font-size:12pt;">
                  <div
                    class="yiv0668673228yui_3_13_0_rc_1_1_1382601039487_23361"
                    style="font-family:times new roman, new york, times,
                    serif;font-size:12pt;">
                    <div class="yiv0668673228yqt0941813817"
                      id="yiv0668673228yqt27701">
                      <div dir="ltr"> <font face="Arial" size="2"> On
                          Tuesday, 22 October 2013 4:58 PM, Elvir Kuric
                          <a class="moz-txt-link-rfc2396E" href="mailto:ekuric@redhat.com"><ekuric@redhat.com></a> wrote:<br
                            clear="none">
                        </font> </div>
                      <div class="yiv0668673228y_msg_container">
                        <div id="yiv0668673228">
                          <div>
                            <div class="yiv0668673228yqt1326583840"
                              id="yiv0668673228yqt92862">
                              <div class="yiv0668673228moz-cite-prefix">On
                                10/22/2013 12:17 PM, Zama Ques wrote:<br
                                  clear="none">
                              </div>
                              <blockquote type="cite">
                                <div
                                  class="yiv0668673228yui_3_13_0_rc_1_1_1382601039487_23363"
                                  style="color:#000;background-color:#fff;font-family:times
                                  new roman, new york, times,
                                  serif;font-size:12pt;">
                                  <div class="yiv0668673228post-text">
                                    <div>My local partitions are
                                      detected as multipath device <br
                                        clear="none">
                                    </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 clear="none">
                                    </div>
                                    <div
                                      class="yiv0668673228yui_3_13_0_rc_1_1_1382601039487_23364"
                                      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
                                        clear="none">
                                    </div>
                                    <div
                                      class="yiv0668673228yui_3_13_0_rc_1_1_1382601039487_23365"
                                      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
                                      class="yiv0668673228yui_3_13_0_rc_1_1_1382601039487_23366"
                                      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
                                        clear="none">
                                    </div>
                                  </div>
                                </div>
                                <br clear="none">
                                <fieldset
                                  class="yiv0668673228mimeAttachmentHeader"></fieldset>
                                <br clear="none">
                              </blockquote>
                            </div>
                            <tt>hi,</tt><br clear="none">
                            <br clear="none">
                            <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
                              clear="none">
                            <br clear="none">
                            <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
                              clear="none">
                            <br clear="none">
                            <tt>do</tt><tt> below </tt><br clear="none">
                            <br clear="none">
                            <tt># mkdir /tmp/initrdtes</tt><tt>t </tt><br
                              clear="none">
                            <tt># cp /boot/initramfs-$$$$.img ( or
                              initrd ... ) /t</tt><tt>mp/initrdtest </tt><br
                              clear="none">
                            <br clear="none">
                            <tt>unpack it </tt><br clear="none">
                            <br clear="none">
                            <tt># </tt><tt>cd tmp/initrdtest </tt><br
                              clear="none">
                            <br clear="none">
                            <tt># zcat initrd.img | cpio -i </tt><br
                              clear="none">
                            <br clear="none">
                            <tt>and check what is there for multiapth
                              devices written.</tt><br clear="none">
                            <br clear="none">
                            <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
                                clear="none">
                              <br clear="none">
                              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
                                clear="none">
                              <br clear="none">
                              <br clear="none">
                              RHEL 5: <br clear="none">
                              <br clear="none">
                              # cd /boot<br clear="none">
                              # cp initrd-$(uname -r).img initrd-$(uname
                              -r).img.backup [ make backup ] <br
                                clear="none">
                              # mkinitrd -v -f initrd-$(uname -r).img <br
                                clear="none">
                              # reboot ( to boot to new initramfs ) <br
                                clear="none">
                              <br clear="none">
                              RHEL 6: <br clear="none">
                              <br clear="none">
                              same as above with small corrections ;) <br
                                clear="none">
                              <br clear="none">
                            </tt><br clear="none">
                            <tt><tt># cd /boot<br clear="none">
                                # cp initramfs-$(uname -r).img
                                initramfs-$(uname -r).img.backup [ make
                                backup ] <br clear="none">
                                # dracut -v -f initramfs-$(uname -r).img
                                <br clear="none">
                                # reboot ( to boot to new initramfs ) <br
                                  clear="none">
                                <br clear="none">
                              </tt></tt><br clear="none">
                            <tt><tt><tt> good reading <a
                                    moz-do-not-send="true"
                                    rel="nofollow" shape="rect"
                                    class="yiv0668673228moz-txt-link-freetext"
                                    target="_blank"
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 clear="none">
                                <br clear="none">
                                hope this helps <br clear="none">
                                <br clear="none">
                                Kind regards, <br clear="none">
                              </tt><br clear="none">
                            </tt>
                            <pre class="yiv0668673228moz-signature">-- 
Elvir Kuric, Senior Technical Support Engineer / Red Hat / GSS EMEA / </pre>
                          </div>
                        </div>
                        <br clear="none">
                        <div class="yiv0668673228yqt1326583840"
                          id="yiv0668673228yqt38721">-- <br
                            clear="none">
                          Linux-cluster mailing list<br clear="none">
                          <a moz-do-not-send="true" rel="nofollow"
                            shape="rect"
                            ymailto="mailto:Linux-cluster@redhat.com"
                            target="_blank"
                            href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br
                            clear="none">
                          <a moz-do-not-send="true" rel="nofollow"
                            shape="rect" target="_blank"
                            href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a></div>
                        <br clear="none">
                        <br clear="none">
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <tt>Cool, thank you for feedback.If you are Red Hat customer and
      have valid contract, use benefit of subscription and next time you
      have problem with RHEL open case via Red Hat customer portal
      <a class="moz-txt-link-freetext" href="https://access.redhat.com">https://access.redhat.com</a><br>
      <br>
      Kind regards, <br>
      <br>
      Elvir Kuric <br>
      <br>
    </tt>
  </body>
</html>