Rename vmdk file vmkfstools




















This is useful if we just need a copy, or in this case if we wish to convert the disk back to being thin provisioned. We can do this by running vmkfstools -i test2. Now we have the thin provisioned clone, we may want to delete the original virtual disk.

This is done by running vmkfstools -U test2. Finally, and to complete this post, I will rename the cloned vmdk file so that it reflects the original name. We use vmkfstools -E to do this:. Again, like with deleting vmdk files, when renaming it is better to use vmkfstools rather than the mv command, as this renames both of the relevant. To convert, or inflate, the virtual disk file so that it is changed to the eagerzeroedthick format we can use the — -inflatedisk option.

This action preserves any existing data on the virtual disk. Depending on the size of the disk, this may take some time. Once complete, running du -ah now shows the file to be using the 5GB that was originally configured as its maximum size:.

We can confirm the change by again running du -ah. We can also use vmdkfstools to clone a virtual disk. This is useful if we just need a copy, or in this case if we wish to convert the disk back to being thin provisioned. We can do this by running vmkfstools -i test2. If you are not promted for the question you can find it in the summary tab and by right clicking the machine in your inventory where should be an option Answer question.

Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Rename VMDK file in esxi 6. Asked 2 years, 8 months ago. Active 2 years, 8 months ago. Viewed 5k times. I am attempting to rename VMDK's to eliminate spaces in the name. Improve this question.

Kevin 39 7 7 bronze badges. Prince Tagoe Prince Tagoe 31 3 3 silver badges 8 8 bronze badges. VDMK I can sysprep in windows and all seemed fine. How can I rename a. VMDK file. Best Answer. Pure Capsaicin. Gary D Williams This person is a verified professional. Verify your account to enable IT peers to see that you are a professional. Shutdown the VM. All of this is much, much easier with VCenter. View this "Best Answer" in the replies below ». Since it's a clone of the other one, will you even be able to rename it at all?



0コメント

  • 1000 / 1000