Problem
Disk Group was not imported into VMware Server.
Error Message
VxVM vxdg WARNING V-5-1-17178 Disk group <Disk_Group_Name>:
Restricted devices were detected during import operation
VxVM vxdg ERROR V-5-1-19179 Disk group <Disk_Group_Name>: import failed:
No Valid disk found conataining disk group
Cause
- Sometimes, even after the LUN has been made read/write enabled, it still shows up as write disabled under the SCSI inquiry. This can happen due to the way RDM works on ESX. RDM will actually cache SCSI inquiry data, and fail to pick up changes. Essentially, the SCSI inquiry data we are getting from the ESX host is out of date, and no longer reflects the current status of the LUN.
Solution
- Configure the virtual machine for each RDM to ignore the SCSI INQUIRY cache by adding the following parameters to the .vmx file. scsix:y.ignoreDeviceInquiryCache = "true" where x is the SCSI controller number and y is the SCSI target number of the RDM. Because this parameter is configurable only on virtual machines with hardware version 8, upgrade the virtual machine prior to adding the parameter. Enable this parameter only when your storage vendor recommends that you do so. This parameter is required for just a limited number of storage arrays and only for specific guest operating systems. - There is a well-known issue on the VMware platform that the symptom matches with this issue. Steps: Modify the .vmx file of the virtual machine with the RDM Use this method for VMs with hardware version 8 or later. 1.] Add the following parameter to the file:
NOTE: Where x is the SCSI controller number and y is the SCSI target number of the RDM. 2.] Reboot the VM. Or this can be done from the UI, for example below. a. Connect to the ESXi server b. Click Edit Settings, then select “VM Options”. c. Scroll down to “Configuration Parameters” and click “Edit Configuration”. d. Click “Add parameter”. e. For each RDM LUN add ‘ignoreDeviceInquiryCache’ as below Key = scsiX:Y.ignoreDeviceInquiryCache Value = true where X,Y are SCSI controller number and SCSI target number. Reboot the VM. REFERENCE: https://docs.vmware.com/en/VMware-vSphere/6.7/vsphere-esxi-vcenter-server-672-storage-guide.pdf |