Home » VMware (ESX / vSphere) » How to rename virtual disk in VMware.

How to rename virtual disk in VMware.

There is no GUI option available to rename virtual disk in vmware. There was a request to add few RDM luns to a virtual machine and those disk to be renamed as per the standard they have (Combinatioin of LUN ID, storage Pool ID and disk size).

This request was accomplised using the steps followed below:

1. Add the provided RDM to the virtual machine.
2. Note the datastore where the disks were stored.
3. Remove those RDM from the virtual machine.
4. Find the ESX host on which the virtul machine resides.
5. Connect to the ESX host using Putty.
6. Navigate to the directory containing virtual machine (notes in Step 2).
7. cd /vmfs/volumes/DatastoreName/originalname
8. Once the required file is found, execute the below command
# vmkfstools -E “originalname.vmdk” “newname.vmdk”
9. Again add the vmdk uing an existing disk option.

Thanks,
WintelAdmin

Print Friendly

Leave a comment

Your email address will not be published. Required fields are marked *


− 3 = 2


Visitors Count

Subscriber Count

    3817
March 2017
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
2728293031