After expanding a LUN, the VMware vSphere Web Client does not display the correct size of an RDM
search cancel

After expanding a LUN, the VMware vSphere Web Client does not display the correct size of an RDM

book

Article ID: 315898

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
After increasing the LUN size for a virtual machine RDM, you experience these symptoms:
  • The VMware vSphere Web Client does not report the new value for the LUN size
  • The virtual machine operating system reports the correct value for the LUN size
  • Performing a storage rescan, the LUN size the new value for the LUN size is not updated


Environment

VMware vSphere Web Client

Resolution

This is an expected behavior in the VMware vSphere Web Client.
 
After increasing the size of a LUN for a virtual machine RDM, manually refresh the storage information for the virtual machine.
 
To manually refresh the storage information:
  1. Log in to the VMware vSphere Web Client.
  2. Select the ESXi host in which the virtual machine is registered.
  3. Right-click on the host and select All vCenter Server Actions > Rescan storage.
  4. Log in to the host as root using the console or SSH.
  5. Run this command to list the virtual machines currently registered to the host:
    # vim-cmd vmsvc/getallvms
     
  6. Make a note of the vm-id listed for the virtual machine with the RDM that was increased in size.
  7. Run this command to reload the virtual machine information, reusing the ID noted in step 6:
    # vim-cmd vmsvc/reload 'vm-id'

Note: If the RDM resides on a scsi bus set for physical sharing the VM will need to be in a powered off state when the reload is preformed for the new storage information to report

Additional Information