| 1 | {{{ |
| 2 | C:\Program Files\VMware\VMware Server>vmware-vdiskmanager.exe |
| 3 | VMware Virtual Disk Manager - build 44356. |
| 4 | Usage: vmware-vdiskmanager.exe OPTIONS diskName | drive-letter: |
| 5 | Offline disk manipulation utility |
| 6 | Options: |
| 7 | -c : create disk; need to specify other create options |
| 8 | -d : defragment the specified virtual disk |
| 9 | -k : shrink the specified virtual disk |
| 10 | -n <source-disk> : rename the specified virtual disk; need to |
| 11 | specify destination disk-name |
| 12 | -p : prepare the mounted virtual disk specified by |
| 13 | the drive-letter for shrinking |
| 14 | -q : do not log messages |
| 15 | -r <source-disk> : convert the specified disk; need to specify |
| 16 | destination disk-type |
| 17 | -x <new-capacity> : expand the disk to the specified capacity |
| 18 | |
| 19 | Additional options for create and convert: |
| 20 | -a <adapter> : (for use with -c only) adapter type (ide, buslogic or lsilogic) |
| 21 | -s <size> : capacity of the virtual disk |
| 22 | -t <disk-type> : disk type id |
| 23 | |
| 24 | Disk types: |
| 25 | 0 : single growable virtual disk |
| 26 | 1 : growable virtual disk split in 2Gb files |
| 27 | 2 : preallocated virtual disk |
| 28 | 3 : preallocated virtual disk split in 2Gb files |
| 29 | |
| 30 | The capacity can be specified in sectors, Kb, Mb or Gb. |
| 31 | The acceptable ranges: |
| 32 | ide adapter : [100.0Mb, 950.0Gb] |
| 33 | scsi adapter: [100.0Mb, 950.0Gb] |
| 34 | ex 1: vmware-vdiskmanager.exe -c -s 850Mb -a ide -t 0 myIdeDisk.vmdk |
| 35 | ex 2: vmware-vdiskmanager.exe -d myDisk.vmdk |
| 36 | ex 3: vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 0 destinationDisk.vmdk |
| 37 | ex 4: vmware-vdiskmanager.exe -x 36Gb myDisk.vmdk |
| 38 | ex 5: vmware-vdiskmanager.exe -n sourceName.vmdk destinationName.vmdk |
| 39 | ex 6: vmware-vdiskmanager.exe -k myDisk.vmdk |
| 40 | ex 7: vmware-vdiskmanager.exe -p m: |
| 41 | (A virtual disk first needs to be mounted at m: |
| 42 | using the VMware Diskmount Utility.) |
| 43 | |
| 44 | C:\Program Files\VMware\VMware Server>vmware-vdiskmanager.exe -x 8.0Gb -t 1 "c:\ |
| 45 | Virtual Machines\DRBL_Xen\drbl_xen.vmdk" |
| 46 | Using log file C:\DOCUME~1\JAZZYA~1\LOCALS~1\Temp\vmware-Jazz Yao Tsung Wang-354 |
| 47 | 6887766\vdiskmanager.log |
| 48 | The old geometry C/H/S of the disk is: 768/128/32 |
| 49 | Preserving old geometry. |
| 50 | Disk expansion completed successfully. |
| 51 | |
| 52 | WARNING: If the virtual disk is partitioned, you must use a third-party |
| 53 | utility in the virtual machine to expand the size of the |
| 54 | partitions. For more information, see: |
| 55 | http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647 |
| 56 | |
| 57 | C:\Program Files\VMware\VMware Server> |
| 58 | }}} |