用命令行打開工具幫助文檔說明以下:下面有幫你們翻譯,照顧E文很差的同窗ide
VMware Virtual Disk Manager – build 471780.
Usage: vmware-vdiskmanager.exe OPTIONS <disk-name> | <mount-point>
Offline disk manipulation utility
Operations, only one may be specified at a time:
-c : create disk. Additional creation options must
be specified. Only local virtual disks can be
created.
-d : defragment the specified virtual disk. Only
local virtual disks may be defragmented.
-k : shrink the specified virtual disk. Only local
virtual disks may be shrunk.
-n <source-disk> : rename the specified virtual disk; need to
specify destination disk-name. Only local virtual
disks may be renamed.
-p : prepare the mounted virtual disk specified by
the mount point for shrinking.
-r <source-disk> : convert the specified disk; need to specify
destination disk-type. For local destination disks
the disk type must be specified.
-x <new-capacity> : expand the disk to the specified capacity. Only
local virtual disks may be expanded.
-R : check a sparse virtual disk for consistency and atte
mpt
to repair any errors.
-e : check for disk chain consistency.
-D : make disk deletable. This should only be used on di
sks
that have been copied from another product.工具
Other Options:
-q : do not log messages優化
Additional options for create and convert:
-a <adapter> : (for use with -c only) adapter type
(ide, buslogic, lsilogic). Pass lsilogic for other a
dapter types.
-s <size> : capacity of the virtual disk
-t <disk-type> : disk type idui
Disk types:
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
4 : preallocated ESX-type virtual disk
5 : compressed disk optimized for streaming
6 : thin provisioned virtual disk – ESX 3.x and abovespa
The capacity can be specified in sectors, KB, MB or GB. The acceptable ranges: ide adapter : [1MB, 2040.0GB] scsi adapter: [1MB, 2040.0GB] ex 1: vmware-vdiskmanager.exe -c -s 850MB -a ide -t 0 myIdeDisk.vmdk ex 2: vmware-vdiskmanager.exe -d myDisk.vmdk ex 3: vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 0 destinationDisk.vm
dk
ex 4: vmware-vdiskmanager.exe -x 36GB myDisk.vmdk
ex 5: vmware-vdiskmanager.exe -n sourceName.vmdk destinationName.vmdk
ex 6: vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 4 -h esx-name.mycomp
any.com \
-u username -f passwordfile 「[storage1]/path/to/targetDisk.vmdk」
ex 7: vmware-vdiskmanager.exe -k myDisk.vmdk
ex 8: vmware-vdiskmanager.exe -p <mount-point>
(A virtual disk first needs to be mounted at <mount-point>)命令行
具體解釋以下: VMware Virtual Disk Manager –內部版本471780。
用法:vmware-vdiskmanager.exe選項<disk-name> | <安裝點>
離線磁盤操做實用程序
操做,一次只能指定一個:
-c:建立磁盤。必須有其餘建立選項
被指定。僅本地虛擬磁盤能夠
建立。
-d:對指定的虛擬磁盤進行碎片整理。只要
本地虛擬磁盤可能已碎片整理。
-k:收縮指定的虛擬磁盤。僅本地
虛擬磁盤可能會縮小。
-n <源磁盤>:重命名指定的虛擬磁盤;須要
指定目標磁盤名稱。僅本地虛擬
磁盤可能會重命名。
-p:準備由指定的掛載虛擬磁盤
縮小的安裝點。
-r <源磁盤>:轉換指定的磁盤;須要指定
目標磁盤類型。對於本地目標磁盤
必須指定磁盤類型。
-x <新容量>:將磁盤擴展到指定容量。只要
本地虛擬磁盤可能會擴展。
-R:檢查稀疏虛擬磁盤的一致性和atte
mpt
修復任何錯誤。
-e:檢查磁盤鏈一致性。
-D:使磁盤可刪除。僅應在di上使用
s
從另外一產品複製的文件。翻譯
其餘選項:
-q:不記錄消息code
用於建立和轉換的其餘選項:
-a <適配器> :(僅與-c一塊兒使用)適配器類型
(ide,buslogic,lsilogic)。將lsilogic傳遞給其餘人
阻尼器類型。
-s <大小>:虛擬磁盤的容量
-t <disk-type>:磁盤類型標識ip
磁盤類型:
0:單個可增加虛擬磁盤
1:可擴展的虛擬磁盤分爲2GB文件
2:預分配的虛擬磁盤
3:將預分配的虛擬磁盤拆分爲2GB文件
4:預分配的ESX型虛擬磁盤
5:壓縮磁盤針對流進行了優化
6:精簡配置的虛擬磁盤– ESX 3.x及更高版本ci
能夠以扇區,KB,MB或GB指定容量。 可接受範圍: IDE適配器:[1MB,2040.0GB] scsi適配器:[1MB,2040.0GB] 例1:vmware-vdiskmanager.exe -c -s 850MB-助手-t 0 myIdeDisk.vmdk 例2:vmware-vdiskmanager.exe -d myDisk.vmdk 例3:vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 0 destinationDisk.vm
dk例4:vmware-vdiskmanager.exe -x 36GB myDisk.vmdk例5:vmware-vdiskmanager.exe -n sourceName.vmdk destinationName.vmdk例6:vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 4 -h esx-name.mycompany.com \-u用戶名-f密碼文件「 [storage1] /path/to/targetDisk.vmdk」前7:vmware-vdiskmanager.exe -k myDisk.vmdk例8:vmware-vdiskmanager.exe -p <安裝點>(首先須要在<mount-point>掛載虛擬磁盤)