<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multipath Configuration LVM in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767825#M43966</link>
    <description>&lt;!--!*#--&gt;You can always try changing as well:&lt;BR /&gt;&lt;BR /&gt;    # An array of directories that contain the device nodes you wish&lt;BR /&gt;    # to use with LVM2.&lt;BR /&gt;    scan = [ "/dev" ]&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;    # Try to avoid using undescriptive /dev/dm-N names, if present.&lt;BR /&gt;    #preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]&lt;BR /&gt;&lt;BR /&gt;In our case, we simply ignore the non-multipath devices.&lt;BR /&gt;&lt;BR /&gt;We also additionally instituted standards to wit:&lt;BR /&gt;&lt;BR /&gt;- all disks are to be "friendlier named" (aka alias'ed in multipath.conf) so our multipath devices are friendlier than /dev/mapper/mpathNN. With this standard, we have our SAN Multipathed disks named like - /dev/mapper/EVA200_vgSAP01_disk1&lt;BR /&gt;&lt;BR /&gt;- we ALWAYS partition PVs -- even if the whole disk is to be used as a PV,,, so it is /dev/mapper/EVA200_vgSAP01_disk1p1 that will be pvcreated.&lt;BR /&gt;&lt;BR /&gt;Our filter now ends up to be something like:&lt;BR /&gt;&lt;BR /&gt; filter = [ "a/mapper/.*p1$/", "a|/dev/cciss/*|", "a|/dev/sda[0-9]|",  "a|/dev/sdb[0-9]|", "r/.*/" ]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers and Hope this Helps!&lt;BR /&gt;</description>
    <pubDate>Mon, 21 Mar 2011 15:05:01 GMT</pubDate>
    <dc:creator>Alzhy</dc:creator>
    <dc:date>2011-03-21T15:05:01Z</dc:date>
    <item>
      <title>Multipath Configuration LVM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767824#M43965</link>
      <description>Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;I have and RHEL5.4 conecceted to an SAN HSV200.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I present a LUN to it, In system-confg-lvm gui appears a device like /dev/mapth/mapth0 (that´s the correct device to multipath) and other like /dev/sda or /dev/dm-N, as uninitialized entities.&lt;BR /&gt;&lt;BR /&gt;How could I configure to not display this device (/dev/sda) and prevent human errors?&lt;BR /&gt;&lt;BR /&gt;I´ve probed to put on lvm.conf with filter = [ "a/dev/mapper/mpath.*/","a/dev/cciss/.*/","r/.*/" ], but It doesn´t work...</description>
      <pubDate>Mon, 21 Mar 2011 11:28:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767824#M43965</guid>
      <dc:creator>agumarjo</dc:creator>
      <dc:date>2011-03-21T11:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multipath Configuration LVM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767825#M43966</link>
      <description>&lt;!--!*#--&gt;You can always try changing as well:&lt;BR /&gt;&lt;BR /&gt;    # An array of directories that contain the device nodes you wish&lt;BR /&gt;    # to use with LVM2.&lt;BR /&gt;    scan = [ "/dev" ]&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;    # Try to avoid using undescriptive /dev/dm-N names, if present.&lt;BR /&gt;    #preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]&lt;BR /&gt;&lt;BR /&gt;In our case, we simply ignore the non-multipath devices.&lt;BR /&gt;&lt;BR /&gt;We also additionally instituted standards to wit:&lt;BR /&gt;&lt;BR /&gt;- all disks are to be "friendlier named" (aka alias'ed in multipath.conf) so our multipath devices are friendlier than /dev/mapper/mpathNN. With this standard, we have our SAN Multipathed disks named like - /dev/mapper/EVA200_vgSAP01_disk1&lt;BR /&gt;&lt;BR /&gt;- we ALWAYS partition PVs -- even if the whole disk is to be used as a PV,,, so it is /dev/mapper/EVA200_vgSAP01_disk1p1 that will be pvcreated.&lt;BR /&gt;&lt;BR /&gt;Our filter now ends up to be something like:&lt;BR /&gt;&lt;BR /&gt; filter = [ "a/mapper/.*p1$/", "a|/dev/cciss/*|", "a|/dev/sda[0-9]|",  "a|/dev/sdb[0-9]|", "r/.*/" ]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers and Hope this Helps!&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Mar 2011 15:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767825#M43966</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2011-03-21T15:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multipath Configuration LVM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767826#M43967</link>
      <description>Refer the below pdf:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/pdf/DM_Multipath/Red_Hat_Enterprise_Linux-5-DM_Multipath-en-US.pdf" target="_blank"&gt;http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/pdf/DM_Multipath/Red_Hat_Enterprise_Linux-5-DM_Multipath-en-US.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...</description>
      <pubDate>Tue, 22 Mar 2011 17:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767826#M43967</guid>
      <dc:creator>P Arumugavel</dc:creator>
      <dc:date>2011-03-22T17:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multipath Configuration LVM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767827#M43968</link>
      <description>Thanks for your answers!&lt;BR /&gt;&lt;BR /&gt;I have attached a screenshot of system-confg-lvm GUI , where you can view all that I have try to expain.&lt;BR /&gt;&lt;BR /&gt;This is the things I need:&lt;BR /&gt;&lt;BR /&gt;1- I want (if it is posible...)  to disappear the part where it says "uninitialized entities" &lt;BR /&gt;&lt;BR /&gt;2- Is It necesary mantain the partitioning done to default (like /dev/mapper/mpath0p1) with device-mapper-multipath (kpartx command)? or Can I delete it without future problems?&lt;BR /&gt;&lt;BR /&gt;This is the actual configuration that I have:&lt;BR /&gt;&lt;BR /&gt;1- /etc/lvm/lvm.conf&lt;BR /&gt;&lt;BR /&gt;  preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]&lt;BR /&gt;&lt;BR /&gt;  filter = [ "a/dev/mapper/mpath.*/","a/dev/cciss/.*/","r/.*/" ]&lt;BR /&gt;&lt;BR /&gt;2- /etc/multipath.conf&lt;BR /&gt;&lt;BR /&gt;  #blacklist {&lt;BR /&gt;  #        devnode "*"&lt;BR /&gt;  #}&lt;BR /&gt;&lt;BR /&gt;  devnode_blacklist {&lt;BR /&gt;    devnode "^cciss!c[0-9]d[0-9]*"&lt;BR /&gt;    devnode "^vg*"&lt;BR /&gt;    }&lt;BR /&gt;  defaults {&lt;BR /&gt;    user_friendly_names yes&lt;BR /&gt;    path_grouping_policy    multibus&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;  devices {&lt;BR /&gt;    device {&lt;BR /&gt;      vendor                  "HP"&lt;BR /&gt;      product                 "HSV200"&lt;BR /&gt;      path_grouping_policy    multibus&lt;BR /&gt;      no_path_retry           "5"&lt;BR /&gt;      }&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;  multipaths {&lt;BR /&gt;    multipath {&lt;BR /&gt;      wwid                    3600508b4000e83d20000300000300000&lt;BR /&gt;      alias                   mpath0&lt;BR /&gt;      path_grouping_policy    multibus&lt;BR /&gt;      path_checker            readsector0&lt;BR /&gt;      path_selector           "round-robin 0"&lt;BR /&gt;      failback                "5"&lt;BR /&gt;      rr_weight               priorities&lt;BR /&gt;      no_path_retry           "5"&lt;BR /&gt;      }&lt;BR /&gt;    }</description>
      <pubDate>Wed, 23 Mar 2011 09:52:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767827#M43968</guid>
      <dc:creator>agumarjo</dc:creator>
      <dc:date>2011-03-23T09:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multipath Configuration LVM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767828#M43969</link>
      <description>1.) I don't think it is possible. As I mentioned in my earier reply - we SIMPLY ignore the non mapper entries. We have an edict to always use the "custom named/aliased" disk names and always partition them "wholly" --- p1 (the whole disk!). And besides - system-lvm-config GUI is very slow, buggy and prone to hangs when you have lots of disks already involved. Do your LVM gyrations CLI way.&lt;BR /&gt;&lt;BR /&gt;2.) As I said again in my previous post - come up with sensible naming standards sir. Your "alias mpath0" is NOT sensinble as mpathN would be the default name given by udev under multipath anyway.... give it something like "EVA_DG1_vdisk01".&lt;BR /&gt;&lt;BR /&gt;BTW, did you install HP Device Mapper Multipath kit? If you have it - then multipath.conf should be ready to go with the only section you need to name being the multipaths secition to give your LUNs a friendlier name.&lt;BR /&gt;&lt;BR /&gt;You will also need to relocate your /var/lib/multipath/bindings to /etc/multipath/bindings as recomended by RHEL support to avoid those situations where possibel corruptions could happen and also address boot time error messages relating to /var being read-only. Simply copy /var/lib/multipath to /etc/multipath and add to your multipath.conf defaults section the following:&lt;BR /&gt;&lt;BR /&gt; bindings_file           /etc/multipath/bindings&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers and HTH!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Mar 2011 12:14:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/multipath-configuration-lvm/m-p/4767828#M43969</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2011-03-23T12:14:14Z</dc:date>
    </item>
  </channel>
</rss>

