Knowledge Base

|
LUN filtering mechanism during RDM creation
Details
When you create a virtual machine with an RDM, vCenter Server by default excludes LUNs that are already used for VMFS datastores or RDMs from the list of candidate target LUNs. Only unformatted LUNs are displayed for your selection.
This LUN filtering mechanism helps prevent LUN corruption that might occur if the following conditions are not met:
- The same LUN cannot be used for a VMFS datastore and RDM simultaneously.
- Two virtual machines cannot have access to the same LUN using two different RDM mapping files.
Solution
If you need virtual machines to access the same raw LUN, they must share the same RDM mapping file. For details on this type of configuration, see Setup for Failover Clustering and Microsoft Cluster Service.
The config.vpxd.filter.rdmFilter and config.vpxd.filter.vmfsFilter configuration options in the vSphere Client control the LUN filtering mechanism. The options are set to true by default, but can be individually set to false when you need to turn off any of the filters.
To turn off any of the filters:
- In the vSphere Client, select Administration > vCenter Server Settings > Advanced Settings.
- Depending on your needs, add one of the following or both key and value pairs:
- config.vpxd.filter.rdmFilter; false
- config.vpxd.filter.vmfsFilter; false
- Click Add, and click OK.
If you now create a virtual machine with RDMs, all shared LUNs are displayed as RDM candidates even though they are already being used on a different ESX/ESXi host.
To turn the filters on again, set the values to true.
Update History
Request a Product Feature
- KB Article:
- Updated:
- Categories:
- Product Family:
- Products:
- Product Versions:

