2011年5月31日 星期二

(Link) Convert a VMware hard drive image between single-file and split modes

http://mikebeach.org/2011/05/convert-a-vmware-hard-drive-image-between-single-file-and-split-modes/


To convert a single file to a split-file hard drive:
vmware-vdiskmanager -r <InDisk.vmdk> -t <type> <OutDisk.vmdk>
Type is one of:
  • 0 : single growable virtual disk
  • 1 : growable virtual disk split in 2GB files
  • 2 : preallocated virtual disk
  • 3 : preallocated virtual disk split in 2GB files
Example:
vmware-vdiskmanager -r winxp.vmdk -t 1 winxp-2.vmdk
Successful conversion gives the following output:
Creating disk 'winxp-2.vmdk'
Convert: 100% done.
Virtual disk conversion successful.

沒有留言:

張貼留言