- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Device Mapper Blacklist
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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.