{"id":7748,"date":"2020-05-23T18:45:10","date_gmt":"2020-05-23T10:45:10","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7748"},"modified":"2020-05-23T18:45:10","modified_gmt":"2020-05-23T10:45:10","slug":"vmkfstools","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/vmkfstools","title":{"rendered":"vmkfstools\u547d\u4ee4 – \u865a\u62df\u78c1\u76d8\u5de5\u5177"},"content":{"rendered":"\n

vmkfstools\u88ab\u6bd4\u505a\u865a\u62df\u78c1\u76d8\u4e2d\u7684\u745e\u58eb\u519b\u5200\uff0c\u53ef\u7528\u4e8e\u590d\u5236\u3001\u8f6c\u6362\u3001\u91cd\u547d\u540d\u3001\u8f93\u5165\u3001\u8f93\u51fa\u548c\u8c03\u6574\u865a\u62df\u78c1\u76d8\u6587\u4ef6\u7684\u5927\u5c0f\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>vmkfstools [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-i<\/td>\u539fvmdk\u78c1\u76d8\u540d<\/td><\/tr>
-d<\/td>\u76ee\u6807\u78c1\u76d8\u7684\u683c\u5f0f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u66f4\u6539\u865a\u62df\u78c1\u76d8(vmdk)\u5927\u5c0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vmkfstools -X 40g converter-one.vmdk<\/pre>\n\n\n\n

\u7cbe\u7b80\u7f6e\u5907\u8f6c\u6362\u81f3\u539a\u7f6e\u5907\u7f6e\u96f6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vmkfstools --inflatedisk \/vmfs\/volumes\/DatastoreName\/VMName\/VMName.vmdk<\/pre>\n\n\n\n

\u539a\u7f6e\u5907\u5ef6\u8fdf\u7f6e\u96f6\u8f6c\u6362\u81f3\u539a\u7f6e\u5907\u7f6e\u96f6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vmkfstools --eagerzero \/vmfs\/volumes\/DatastoreName\/VMName\/VMName.vmdk<\/pre>\n\n\n\n

\u767b\u9646ESXI \u8c03\u6574\u865a\u62df\u78c1\u76d8\u5927\u5c0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vmkfstools -X 40g converter-two.vmdk<\/pre>\n\n\n\n

\u521b\u5efa\u865a\u62df\u78c1\u76d8\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vmkfstools -C --createfs vmfs3<\/pre>\n","protected":false},"excerpt":{"rendered":"

vmkfstools\u88ab\u6bd4\u505a\u865a\u62df\u78c1\u76d8\u4e2d\u7684\u745e\u58eb\u519b\u5200\uff0c\u53ef\u7528\u4e8e\u590d\u5236\u3001\u8f6c\u6362\u3001\u91cd\u547d\u540d\u3001\u8f93\u5165\u3001\u8f93\u51fa\u548c\u8c03\u6574\u865a\u62df\u78c1\u76d8\u6587\u4ef6\u7684\u5927\u5c0f\u3002 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7748"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7748"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7748\/revisions"}],"predecessor-version":[{"id":7749,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7748\/revisions\/7749"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}