{"id":5333,"date":"2023-05-13T19:38:03","date_gmt":"2023-05-13T11:38:03","guid":{"rendered":"http:\/\/www.menglanglang.cn\/?p=5333"},"modified":"2023-05-13T19:38:03","modified_gmt":"2023-05-13T11:38:03","slug":"windows-%e4%b8%8b-vmware-%e8%99%9a%e6%8b%9f%e6%9c%ba%e7%9a%84-vmdk-%e6%96%87%e4%bb%b6%e7%9a%84%e5%8e%8b%e7%bc%a9","status":"publish","type":"post","link":"http:\/\/www.menglanglang.cn\/?p=5333","title":{"rendered":"Windows \u4e0b VMware \u865a\u62df\u673a\u7684 vmdk \u6587\u4ef6\u7684\u538b\u7f29"},"content":{"rendered":"\n<p>\u5728 Windows \u4e0b\u73a9\u865a\u62df\u673a\uff0c\u4e00\u822c\u5927\u5bb6\u90fd\u4f1a\u5b89\u88c5 VMware \u8f6f\u4ef6\uff0c\u7136\u540e\u901a\u8fc7\u8f6f\u4ef6\u5b89\u88c5\u5176\u5b83\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\uff08\u5982 Linux\uff09\u6765\u6a21\u62df\u5404\u4e2a\u670d\u52a1\u5668\u73af\u5883\u3002\u7136\u800c\u5927\u5bb6\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u53ef\u4ee5\u53d1\u73b0\u8fd9\u6837\u4e00\u4e2a\u95ee\u9898\uff0c\u90a3\u5c31\u662f\u6bcf\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u5bf9\u5e94\u4e3b\u673a\u78c1\u76d8\u76ee\u5f55\u4e2d\uff0cvmdk \u6587\u4ef6\u4f1a\u8d8a\u6765\u8d8a\u5927\uff0c\u5373\u4f7f\u662f\u5728\u865a\u62df\u73af\u5883\u4e2d\u6e05\u7406\u51fa\u78c1\u76d8\u5927\u5c0f\uff0c\u4f46 Windows \u4e3b\u673a\u4e2d\u00a0vmdk \u6587\u4ef6\u8fd8\u662f\u65e0\u53d8\u5316\uff0c\u6240\u4ee5\u5360\u7528\u7684\u4e3b\u673a\u8d44\u6e90\u4f1a\u8d8a\u6765\u8d8a\u591a\uff0c\u53d1\u5c55\u5230\u6700\u540e\u5c06\u5bfc\u81f4\u865a\u62df\u7cfb\u7edf\u65e0\u6cd5\u542f\u52a8\u3002<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"513\" width=\"900\" src=\"\/\/images.weserv.nl\/?url=https:\/\/img-blog.csdnimg.cn\/2e2eea535fff41ea8aab9f02a2a0ffcb.png\" alt=\"\"\/>\u200b<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u4e00\u6b65\uff0c\u6e05\u7406\u865a\u62df\u7cfb\u7edf\u8d44\u6e90<\/h3>\n\n\n\n<p>\u542f\u52a8\u865a\u62df\u7cfb\u7edf Linux\uff0c\u5220\u9664\u78c1\u76d8\u4e2d\u65e0\u7528\u6587\u4ef6\uff0c\u6e05\u7406\u51fa\u6839\u76ee\u5f55\u7a7a\u95f4\u3002<\/p>\n\n\n\n<p>\u6e05\u7406\u524d\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"201\" width=\"731\" src=\"\/\/images.weserv.nl\/?url=https:\/\/img-blog.csdnimg.cn\/1bc698796bbf4ccf9a86cceafa567ab7.png\" alt=\"\"\/>\u200b<\/p>\n\n\n\n<p>\u6e05\u7406\u540e\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"190\" width=\"847\" src=\"\/\/images.weserv.nl\/?url=https:\/\/img-blog.csdnimg.cn\/d81ef8684d384a2ea3ecbfd60f82c0fb.png\" alt=\"\"\/>\u200b<\/p>\n\n\n\n<p>\u4f46\u67e5\u770b\u4e3b\u673a\u7cfb\u7edf Windows \u4e0b\u7684\u76ee\u5f55\u5360\u7528\u78c1\u76d8\u5927\u5c0f\u60c5\u51b5\uff0c\u53ef\u4ee5\u53d1\u73b0\u8fd8\u662f\u539f\u6837\u3002<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"513\" width=\"900\" src=\"\/\/images.weserv.nl\/?url=https:\/\/img-blog.csdnimg.cn\/2e2eea535fff41ea8aab9f02a2a0ffcb.png\" alt=\"\"\/>\u200b<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u4e8c\u6b65\uff0c\u96f6\u586b\u5145\u672a\u4f7f\u7528\u7684\u7a7a\u95f4<\/h3>\n\n\n\n<p>\u5728\u865a\u62df\u7cfb\u7edf Linux \u4e0a\u6267\u884c\u586b\u5145\u547d\u4ee4\uff0c\u96f6\u586b\u5145\u6240\u6709\u672a\u4f7f\u7528\u7684\u7a7a\u95f4\uff0c\u4f7f VMware \u80fd\u591f\u77e5\u9053\u8fd9\u4e9b\u7a7a\u95f4\u786e\u5b9e\u672a\u4f7f\u7528\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cat \/dev\/zero &gt; zero.fill<\/p>\n<\/blockquote>\n\n\n\n<p>\u6267\u884c\u8be5\u547d\u4ee4\u4f1a\u628a Linux \u7cfb\u7edf\u4e2d\u6ca1\u4f7f\u7528\u7684\u7a7a\u95f4\u5168\u90fd\u586b\u5145 0 \u5e76\u751f\u6210\u6587\u4ef6 zero.fill\uff0c\u6267\u884c\u5b8c\u6210\u540e\u7cfb\u7edf\u4f1a\u63d0\u793a\u5199\u5165\u9519\u8bef\uff0c\u7cfb\u7edf\u65e0\u7a7a\u95f4\u53ef\u7528\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cat: write error: No space left on device<\/p>\n<\/blockquote>\n\n\n\n<p>\u4f7f\u7528 df \u547d\u4ee4\u67e5\u770b\u78c1\u76d8\u60c5\u51b5\uff0c\u53ef\u4ee5\u770b\u5230\u5df2\u586b\u5145\u6ee1\u3002<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"230\" width=\"715\" src=\"\/\/images.weserv.nl\/?url=https:\/\/img-blog.csdnimg.cn\/71159eb82c6a43af83af48ec340901e7.png\" alt=\"\"\/>\u200b<\/p>\n\n\n\n<p>\u5220\u9664\u751f\u6210\u7684&nbsp;zero.fill \u6587\u4ef6\uff0c\u4f7f\u5f97\u78c1\u76d8\u5927\u5c0f\u6062\u590d\u5230\u586b\u5145\u524d\u7684\u72b6\u6001\u3002<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"279\" width=\"773\" src=\"\/\/images.weserv.nl\/?url=https:\/\/img-blog.csdnimg.cn\/0d87ab25783d4f0eb65a1aebcbd8f6d4.png\" alt=\"\"\/>\u200b<\/p>\n\n\n\n<p>\u622a\u6b62\u76ee\u524d\uff0c\u53ef\u4ee5\u770b\u5230\u4e3b\u673a\u7cfb\u7edf Windows \u4e0b\u7684\u76ee\u5f55\u5360\u7528\u78c1\u76d8\u5927\u5c0f\u60c5\u51b5\u8fd8\u662f\u539f\u6837\u3002<\/p>\n\n\n\n<p>\u5173\u6389\u865a\u62df\u7cfb\u7edf Linux\uff0c\u56de\u5230\u4e3b\u673a\u7cfb\u7edf Windows \u6267\u884c\u7b2c\u4e09\u6b65\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c\u4e09\u6b65\uff0c\u538b\u7f29&nbsp;vmdk \u6587\u4ef6<\/h3>\n\n\n\n<p>\u6253\u5f00 cmd \u547d\u4ee4\u7a97\u53e3\uff0c\u627e\u5230 VMware \u7684\u5b89\u88c5\u76ee\u5f55\uff0c\u6267\u884c\u4e0b\u9762\u547d\u4ee4\uff0c\u538b\u7f29&nbsp;vmdk \u6587\u4ef6\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cd C:\\Program Files (x86)\\VMware\\VMware Workstation<\/p>\n\n\n\n<p>vmware-vdiskmanager.exe -k \"F:\\soft\\cluster\\test1\\test1.vmdk\"<\/p>\n<\/blockquote>\n\n\n\n<p>\u6267\u884c\u6210\u529f\u540e\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>C:\\Program Files (x86)\\VMware\\VMware Workstation&gt;vmware-vdiskmanager.exe -k \"F:\\soft\\cluster\\test1\\test1.vmdk\"<br \/>&nbsp; Shrink: 100% done.<br \/>Shrink completed successfully.<\/p>\n<\/blockquote>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"251\" width=\"877\" src=\"\/\/images.weserv.nl\/?url=https:\/\/img-blog.csdnimg.cn\/a05a90de4d4f4fc8889e31862f36e377.png\" alt=\"\"\/>\u200b<\/p>\n\n\n\n<p>\u518d\u6b21\u67e5\u770b\u4e3b\u673a\u7cfb\u7edf Windows \u4e0b\u7684\u76ee\u5f55\u5360\u7528\u78c1\u76d8\u5927\u5c0f\u60c5\u51b5\uff0c\u53ef\u4ee5\u53d1\u73b0\u77ac\u95f4\u53d8\u5c0f\u3002<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"518\" width=\"881\" src=\"\/\/images.weserv.nl\/?url=https:\/\/img-blog.csdnimg.cn\/f8f6fe8afba04c9c835ac20c5a54e3ef.png\" alt=\"\"\/>\u200b<\/p>\n\n\n\n<p>Good Luck\uff01 \u200b<\/p>\n\n\n\n<p>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/blog.csdn.net\/tzhuwb\/article\/details\/130660824\" target=\"_blank\" rel=\"noreferrer noopener\">Windows \u4e0b VMware \u865a\u62df\u673a\u7684 vmdk \u6587\u4ef6\u7684\u538b\u7f29<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Windows \u4e0b\u73a9\u865a\u62df\u673a\uff0c\u4e00\u822c\u5927\u5bb6\u90fd\u4f1a\u5b89\u88c5 VMware \u8f6f\u4ef6\uff0c\u7136\u540e\u901a\u8fc7\u8f6f\u4ef6\u5b89\u88c5\u5176\u5b83\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\uff08\u5982 L [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[820],"tags":[354,602,755,605,914,775,212],"class_list":["post-5333","post","type-post","status-publish","format-standard","hentry","category-vmware","tag-centos","tag-linux","tag-vmware","tag-windows","tag-914","tag-775","tag-212"],"_links":{"self":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts\/5333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5333"}],"version-history":[{"count":1,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts\/5333\/revisions"}],"predecessor-version":[{"id":5336,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts\/5333\/revisions\/5336"}],"wp:attachment":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5333"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}