<?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 Device Mapper Blacklist in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-blacklist/m-p/6295713#M54483</link>
    <description>&lt;P&gt;I am trying something with Powerpath and Device Mapper and What would be the best way to blacklist the EMC symmetrix from Device Mapper? I just want the Device mapper to ignore all the EMC disks. What would be the best way to acheive this? Also i want to whitelist all HP XP devices so i will powermt unmanage the HP xp and need them whitlisted in Device Mapper. Environment Rhel5.8. I know there are issues with Native multipathing co-existing with Powerpath, but please share your experiences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;G Simon&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2013 23:39:22 GMT</pubDate>
    <dc:creator>Simon_G</dc:creator>
    <dc:date>2013-12-05T23:39:22Z</dc:date>
    <item>
      <title>Device Mapper Blacklist</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-blacklist/m-p/6295713#M54483</link>
      <description>&lt;P&gt;I am trying something with Powerpath and Device Mapper and What would be the best way to blacklist the EMC symmetrix from Device Mapper? I just want the Device mapper to ignore all the EMC disks. What would be the best way to acheive this? Also i want to whitelist all HP XP devices so i will powermt unmanage the HP xp and need them whitlisted in Device Mapper. Environment Rhel5.8. I know there are issues with Native multipathing co-existing with Powerpath, but please share your experiences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;G Simon&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 23:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-blacklist/m-p/6295713#M54483</guid>
      <dc:creator>Simon_G</dc:creator>
      <dc:date>2013-12-05T23:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Device Mapper Blacklist</title>
      <link>https://community.hpe.com/t5/operating-system-linux/device-mapper-blacklist/m-p/6296951#M54484</link>
      <description>&lt;P&gt;In Linux, Device Mapper is a generic subsystem that provides many kinds of storage management functionality, including:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;multipathing&lt;/LI&gt;&lt;LI&gt;software RAID&lt;/LI&gt;&lt;LI&gt;disk and partition encryption&lt;/LI&gt;&lt;LI&gt;LVM&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;With "dmsetup ls --tree", you can see all the things Device Mapper is currently doing on your system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess that you're thinking about device-mapper-multipath (dm-multipath for short). In that case, the blacklisting functionality exists in /etc/multipath.conf. You could specify something like this in the blacklist section:&lt;/P&gt;&lt;PRE&gt;blacklist {
        device {
                vendor "EMC"
                product "SYMMETRIX"
        }
        # put here any other blacklist entries you may want to have
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can even put in vendor "EMC" and product ".*" (the regular expression for "any string at all") if you want to exclude all EMC disks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To whitelist something, either remove the existing blacklist entry for it, or add a "blacklist_exceptions" section with appropriate entries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since dm-multipath has quite a lot of compiled-in defaults, you may need this command to review the currently running configuration in complete form:&lt;/P&gt;&lt;PRE&gt;echo "show config" | multipathd -k | less&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you really need to blacklist some devices from LVM, then the "filter" keyword in /etc/lvm/lvm.conf can do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no experience in mixing PowerPath with dm-multipath, but I think the dm-multipath configuration syntax can easily handle your requirements.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2013 12:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/device-mapper-blacklist/m-p/6296951#M54484</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-12-07T12:25:39Z</dc:date>
    </item>
  </channel>
</rss>

