2015-10-26

vmware from split to monolithic disk

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2036572 


  1. Open a console to the ESXi host. For more information, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).
  2. Run this command to load the multiextent module:

    # vmkload_mod multiextent
  3. Check if any of your virtual machine disks are of a hosted type. Hosted disks end with the -s00x.vmdk extension.
  4. Convert virtual disks in hosted format to one of the VMFS formats.

    To convert virtual disks in hosted format to one of the VMFS formats:

    1. Clone source hosted disk to a new disk using one of these commands:

      For a thick vmdk disk:

      • # vmkfstools -i VM-name.vmdk <VM-name-new-disk>.vmdk -d zeroedthick
      • # vmkfstools -i VM-name.vmdk /vmfs/volumes/destination_datastore/vmfolder/<VM-name-new-disk>.vmdk -d zeroedthick


      For a thin vmdkdisk:

      • # vmkfstools -i VM-name.vmdk <VM-name-new-disk>.vmdk -d thin
      • # vmkfstools -i VM-name.vmdk /vmfs/volumes/destination_datastore/vmfolder/<VM-name-new-disk>.vmdk -d thin
    2. Delete the hosted disk after successful cloning using the command:

      # vmkfstools -U VM-name.vmdk

Niciun comentariu:

Trimiteți un comentariu