Rename virtual disk filename

I tried rename a vmdk file, but i get information message, like this

RenameError

 

You can solve this, when you are going to login to esxi by SSH, and follow this steps below.

1 – Remove disk from VM, but be carefull, you must only remove, don’t delete!!!

RenameError_001

2 – Login to ESXi with Putty

3 – cd vmfs/volumes/

4 – ls -l

Rename vmdk

5 –  cd “DS-ARCHIVE” (case sensitive!!)

6 – ls -l

Rename vmware vmdk

7 – cd vm-FILE

8 – ls -lah

RenameError_004

9 – vmkfstools -E OldFileName.vmdk NewFileName.vmdk

10 – Add new named virtual disk file to VM

Source and more details: http://www.blackforce.co.uk/2014/03/03/how-to-rename-a-vmdk-in-vmware-esxi

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s