Use the vmkfstools command virtual disk tool of linux
Today, what the editor shares with you is the use of linux's vmkfstools command virtual disk tool. I believe many people do not know much about it. In order to make you understand better, I have summarized the following contents for you. Let's look down together. I'm sure you'll get something.
Vmkfstools is compared to a Swiss Army knife in a virtual disk and can be used to copy, convert, rename, import, output, and resize virtual disk files.
Syntax format: vmkfstools [parameters]
Common parameters:
Reference example
Change the virtual disk (vmdk) size:
[root@linuxcool] # vmkfstools-X 40g converter-one.vmdk
Switch from thin setting to thick setting zero:
[root@linuxcool] # vmkfstools-- inflatedisk / vmfs/volumes/DatastoreName/VMName/VMName.vmdk
Thick setting delay zero conversion to thick setting zero:
[root@linuxcool] # vmkfstools-- eagerzero / vmfs/volumes/DatastoreName/VMName/VMName.vmdk
Log in to ESXI to resize the virtual disk:
[root@linuxcool] # vmkfstools-X 40g converter-two.vmdk
Create a virtual disk file:
[root@linuxcool] # vmkfstools-C-- createfs vmfs3 on the use of linux vmkfstools command virtual disk tool to share here, I hope that the above content can have a certain reference value for you, you can learn to apply. If you like this article, you might as well share it for more people to see.