Skrevet av Emne: VMware: Using vmkfstools to import/export VMDK files  (Lest 5073 ganger)

ATC

  • Gjest
VMware: Using vmkfstools to import/export VMDK files
« på: 08. Februar 2010, 08:29 am »
  • [applaud]0
  • [smite]0
  • VMDK files are usually larger than 2 Gbytes and can be difficult to transfer



    ATC

    • Gjest
    [Solved] VMware: Using vmkfstools to import/export VMDK files
    « Svar #1 på: 08. Februar 2010, 08:29 am »
  • [applaud]0
  • [smite]0
  • 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.