{"id":946,"date":"2013-07-05T23:17:50","date_gmt":"2013-07-05T15:17:50","guid":{"rendered":"http:\/\/www.eumz.com\/?p=946"},"modified":"2013-07-05T23:17:50","modified_gmt":"2013-07-05T15:17:50","slug":"%e5%b0%86%e5%a4%9a%e4%b8%aavmware%e7%9a%84vmdk%e6%96%87%e4%bb%b6%e8%bd%ac%e5%8c%96%e6%88%90%e5%8d%95%e4%b8%aa%e6%96%87%e4%bb%b6%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.wxcn.com\/?p=946","title":{"rendered":"\u5c06\u591a\u4e2avmware\u7684vmdk\u6587\u4ef6\u8f6c\u5316\u6210\u5355\u4e2a\u6587\u4ef6\u7684\u65b9\u6cd5"},"content":{"rendered":"<p>\u901a\u8fc7vmware workstation\u8f6f\u4ef6\u521b\u9020\u51fa\u6765\u7684\u865a\u62df\u673a\uff0c\u5728\u865a\u62df\u673a\u76ee\u5f55\u4e0b\u6709\u65f6\u4f1a\u51fa\u73b0\u591a\u4e2a\u4ee5vmdk\u540e\u7f00\u540d\u7ed3\u5c3e\u7684\u6587\u4ef6\uff0c\u591a\u4e2a\u6587\u4ef6\u5360\u7528\u7684\u7a7a\u95f4\u90fd\u5f88\u5927\uff0c\u611f\u89c9\u5f88\u4e71\uff0c\u5e76\u4e14\u8fd9\u6837\u865a\u62df\u673a\u8fd0\u884c\u7684\u6548\u7387\u4e5f\u5f88\u4f4e\u3002<\/p>\n<p>\u51fa\u73b0\u8fd9\u79cd\u60c5\u51b5\u7684\u539f\u56e0\u662f\u5728\u521b\u5efa\u865a\u62df\u673a\u65f6\uff0c\u5728\u6307\u5b9a\u786c\u76d8\u5bb9\u91cf\u65f6\uff0c\u9009\u62e9\u4e86Split virtual disk into multiple files\uff0c\u5e76\u4e14\u4e0b\u9762\u6709\u8bf4\u660e\uff0c\u8fd9\u79cd\u591a\u4e2a\u6587\u4ef6\u6a21\u5f0f\u66f4\u6613\u4e8e\u5c06\u865a\u62df\u673a\u8f6c\u79fb\u5230\u5176\u4ed6\u7684\u7535\u8111\u4e0a\uff0c\u5e76\u4e14\u4f1a\u964d\u4f4e\u6027\u80fd\u4e14\u4f1a\u5360\u7528\u66f4\u591a\u7684\u786c\u76d8\u7a7a\u95f4\u3002<\/p>\n<p>\u5982\u679c\u9009\u62e9Store virtual disk as a single file\u6a21\u5f0f\uff0c\u865a\u62df\u673a\u5c31\u4f1a\u5728\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff0c\u4e0d\u4ec5\u4f1a\u63d0\u9ad8\u6027\u80fd\u51cf\u5c11\u5360\u7528\u786c\u76d8\u7a7a\u95f4\uff0c\u800c\u4e14\u770b\u7740\u66f4\u8212\u670d\u3002<\/p>\n<p>\u4f46\u662f\u8fd9\u4e24\u4e2a\u6a21\u5f0f\u4e4b\u95f4\u53ef\u4ee5\u8f6c\u6362\u5417\uff0c\u901a\u8fc7vmware workstation\u81ea\u5e26\u7684\u4e00\u4e2a\u5de5\u5177\u5c31\u53ef\u4ee5\u505a\u5230\u3002<\/p>\n<p>\u5728vmware workstation\u7684\u5b89\u88c5\u76ee\u5f55\u4e0b\uff0c\u6709\u4e00\u4e2avmware-vdiskmanager.exe\u6587\u4ef6\uff0c\u5728\u547d\u4ee4\u884c\u4e0b\u6267\u884c\uff0c\u53ef\u4ee5\u770b\u5230\u8fd9\u4e2a\u8f6f\u4ef6\u7684\u7528\u6cd5\uff0c\u5982\u4e0b\uff1a<\/p>\n<p>VMware Virtual Disk Manager &#8211; build 471780.<br \/>\nUsage: vmware-vdiskmanager.exe OPTIONS &lt;disk-name&gt; | &lt;mount-point&gt;<br \/>\nOffline disk manipulation utility<br \/>\n\u00a0 Operations, only one may be specified at a time:<br \/>\n\u00a0\u00a0\u00a0\u00a0 -c\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : create disk.\u00a0 Additional creation options must<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 be specified.\u00a0 Only local virtual disks can be<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 created.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -d\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : defragment the specified virtual disk. Only<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 local virtual disks may be defragmented.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -k\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : shrink the specified virtual disk. Only local<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 virtual disks may be shrunk.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -n &lt;source-disk&gt;\u00a0\u00a0\u00a0\u00a0 : rename the specified virtual disk; need to<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 specify destination disk-name. Only local virtual<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 disks may be renamed.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -p\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : prepare the mounted virtual disk specified by<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 the mount point for shrinking.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -r &lt;source-disk&gt;\u00a0\u00a0\u00a0\u00a0 : convert the specified disk; need to specify<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 destination disk-type.\u00a0 For local destination disks<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 the disk type must be specified.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -x &lt;new-capacity&gt;\u00a0\u00a0\u00a0 : expand the disk to the specified capacity. Only<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 local virtual disks may be expanded.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -R\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : check a sparse virtual disk for consistency and atte<br \/>\nmpt<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 to repair any errors.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -e\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : check for disk chain consistency.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -D\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : make disk deletable.\u00a0 This should only be used on di<br \/>\nsks<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 that have been copied from another product.<\/p>\n<p>\u00a0 Other Options:<br \/>\n\u00a0\u00a0\u00a0\u00a0 -q\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : do not log messages<\/p>\n<p>\u00a0 Additional options for create and convert:<br \/>\n\u00a0\u00a0\u00a0\u00a0 -a &lt;adapter&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : (for use with -c only) adapter type<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (ide, buslogic, lsilogic). Pass lsilogic for other a<br \/>\ndapter types.<br \/>\n\u00a0\u00a0\u00a0\u00a0 -s &lt;size&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : capacity of the virtual disk<br \/>\n\u00a0\u00a0\u00a0\u00a0 -t &lt;disk-type&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : disk type id<\/p>\n<p>\u00a0 Disk types:<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : single growable virtual disk<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : growable virtual disk split in 2GB files<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : preallocated virtual disk<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : preallocated virtual disk split in 2GB files<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : preallocated ESX-type virtual disk<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : compressed disk optimized for streaming<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0 6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : thin provisioned virtual disk &#8211; ESX 3.x and above<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0 The capacity can be specified in sectors, KB, MB or GB.<br \/>\n\u00a0\u00a0\u00a0\u00a0 The acceptable ranges:<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ide adapter : [1MB, 2040.0GB]<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 scsi adapter: [1MB, 2040.0GB]<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ex 1: vmware-vdiskmanager.exe -c -s 850MB -a ide -t 0 myIdeDisk.vmdk<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ex 2: vmware-vdiskmanager.exe -d myDisk.vmdk<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ex 3: vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 0 destinationDisk.vm<br \/>\ndk<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ex 4: vmware-vdiskmanager.exe -x 36GB myDisk.vmdk<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ex 5: vmware-vdiskmanager.exe -n sourceName.vmdk destinationName.vmdk<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ex 6: vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 4 -h esx-name.mycomp<br \/>\nany.com \\<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -u username -f passwordfile &#8220;[storage1]\/path\/to\/targetDisk.vmdk&#8221;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ex 7: vmware-vdiskmanager.exe -k myDisk.vmdk<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ex 8: vmware-vdiskmanager.exe -p &lt;mount-point&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (A virtual disk first needs to be mounted at &lt;mount-point&gt;)<\/p>\n<p>\u7528\u6cd5\u5df2\u7ecf\u8bf4\u7684\u5f88\u6e05\u695a\u4e86\uff0c\u8fd9\u91cc\u5047\u8bbe\u9700\u8981\u8f6c\u5316\u7684\u865a\u62df\u673a\u4f4d\u4e8eF:windows.vmdk\uff0c\u90a3\u4e48\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u64cd\u4f5c\u6765\u5b9e\u73b0\u5c06\u591a\u4e2avmdk\u6587\u4ef6\u8f6c\u5316\u6210\u4e00\u4e2a\u6587\u4ef6\uff1a<\/p>\n<p>vmware-vdiskmanager.exe -r &#8220;F:\\windows.vmdk&#8221; -t 0 \u201cF:\\b.vmdk&#8221;<\/p>\n<p>\u6ce8\u610f\u76ee\u6807\u6587\u4ef6\u548c\u6e90\u6587\u4ef6\u540d\u4e0d\u80fd\u4e00\u6837\uff0c\u8f6c\u6362\u540e\u539f\u6709\u865a\u62df\u673a\u4ecd\u7136\u5b58\u5728\uff0c\u5220\u9664\u5e76\u65b0\u5efa\u540e\uff0c\u4f7f\u7528\u73b0\u6709\u78c1\u76d8\u6dfb\u52a0\u65b0\u7684vmdk\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fc7vmware workstation\u8f6f\u4ef6\u521b\u9020\u51fa\u6765\u7684\u865a\u62df\u673a\uff0c\u5728\u865a\u62df\u673a\u76ee\u5f55\u4e0b\u6709\u65f6\u4f1a\u51fa\u73b0\u591a\u4e2a\u4ee5vmdk\u540e\u7f00\u540d\u7ed3\u5c3e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,8],"tags":[196,263,308,312,317],"class_list":["post-946","post","type-post","status-publish","format-standard","hentry","category-operating-system","category-cloud-computing","tag-multiple","tag-single","tag-vdiskmanager","tag-vmdk","tag-vmware-2"],"_links":{"self":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/posts\/946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=946"}],"version-history":[{"count":0,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/posts\/946\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}