- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Device Mapper Blacklist
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-05-2013 03:39 PM
12-05-2013 03:39 PM
Device Mapper Blacklist
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.
G Simon
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-2013 04:25 AM
12-07-2013 04:25 AM
Re: Device Mapper Blacklist
In Linux, Device Mapper is a generic subsystem that provides many kinds of storage management functionality, including:
- multipathing
- software RAID
- disk and partition encryption
- LVM
With "dmsetup ls --tree", you can see all the things Device Mapper is currently doing on your system.
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:
blacklist { device { vendor "EMC" product "SYMMETRIX" } # put here any other blacklist entries you may want to have }
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.
To whitelist something, either remove the existing blacklist entry for it, or add a "blacklist_exceptions" section with appropriate entries.
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:
echo "show config" | multipathd -k | less
If you really need to blacklist some devices from LVM, then the "filter" keyword in /etc/lvm/lvm.conf can do that.
I have no experience in mixing PowerPath with dm-multipath, but I think the dm-multipath configuration syntax can easily handle your requirements.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP