Forums.ATC.no

Teknisk => Generelt teknisk => Emne startet av: ATC på 08. Februar 2010, 08:29 am

Tittel: VMware: Using vmkfstools to import/export VMDK files
Skrevet av: ATC08. Februar 2010, 08:29 am
VMDK files are usually larger than 2 Gbytes and can be difficult to transfer
Tittel: [Solved] VMware: Using vmkfstools to import/export VMDK files
Skrevet av: ATC08. Februar 2010, 08:29 am
To export a VMDK virtual disk to media-independent format:

vmkfstools -e /path/to/temp/Tempfile.vmdk /vmfs/volumes/datastore1/Hostname/Hostname.vmdk

The exported file will consist of a tiny descriptor file plus a set of sparse files up to 2 Gbytes each.


To import the VMDK back into VMFS so it can be used by a virtual machine:

vmkfstools -i /path/to/temp/Tempfile.vmdk /vmfs/volumes/datastore1/Hostname/Hostname.vmdk

The descriptor file will be used to combine the sparse files back into the original monolithic VMDK file.