The following commands using the parameter -k can also be sorted by using the -d command. Please refer to the following:
(PS, it is best to back up. Vmdk file)
e:/VMware/VMware Server & gt; vmware-vdiskmanager.exe/?
VMware Virtual Disk Manager-build 56528.
Usage: vmware-vdiskmanager.exe option diskName | drive letter:
Offline disk operation utility
Options:
-c: create a disk; You need to specify other creation options.
-d: defragment the specified virtual disk.
-k: Shrink the specified virtual disk
-n & lt; Source disk >: Rename the specified virtual disk; need
Specify the target disk name
-p: Prepare the mounted virtual disk specified by.
Contracted drive letter
-Q: No messages are recorded.
-r & lt; Source disk >: Convert the specified disk; Need to elaborate
Target disk type
-x & lt; New capacity & gt: Expand the disk to the specified capacity.
Additional options for creation and transformation:
-a & lt; Adapter & gt: (-c only) Adapter type (ide, buslogic o
R large-scale logic)
-s & lt; Size & gt: capacity of virtual disk.
-t & lt; Disk type & gt: disk type id
Disk type:
0: Single Growth Virtual Disk
1: a scalable virtual disk divided into 2Gb files.
2: Pre-allocated virtual disks
3: Pre-allocated virtual disks are split into 2Gb files.
Capacity can be specified as sector, Kb, Mb or Gb.
Acceptable range:
Ide adapter: [100.0Mb, 950.0Gb]
Scsi adapter: [100.0Mb, 950.0Gb]
ex 1:vmware-vdiskmanager.exe-c-s 850 MB-a ide-t 0 myidedisk . vmdk
Example 2: VMware-vdiskmanager.exe-dmydisk.vmdk.
Example 3:vmware-vdiskmanager.exe-r source disk.vmdk-t 0 destination disk.vm.
Male senior high school students
Example 4: VMware-vdiskmanager.exe-x36GB mydisk.vmdk.
Example 5: VMware-vdiskmanager.exe-nSource Name. vmdk Destination Name. vmdk
Example 6: VMware-vdiskmanager.exe-kmydisk.vmdk
Example 7:vmware-vdiskmanager.exe- afternoon:
(first, it needs to be in m:
Use the VMware Diskmount utility. )