{"id":582,"date":"2011-05-17T16:27:39","date_gmt":"2011-05-17T08:27:39","guid":{"rendered":"http:\/\/blog.infinity.idv.tw\/index.php\/2011\/05\/17\/esxi-%e4%b8%8b%e7%9a%84vm%e7%a1%ac%e7%a2%9f%e5%a3%93%e7%b8%ae%e9%87%8b%e6%94%be%e7%a9%ba%e9%96%93%e5%95%8f%e9%a1%8c\/"},"modified":"2011-05-17T16:35:53","modified_gmt":"2011-05-17T08:35:53","slug":"esxi-%e4%b8%8b%e7%9a%84vm%e7%a1%ac%e7%a2%9f%e5%a3%93%e7%b8%ae%e9%87%8b%e6%94%be%e7%a9%ba%e9%96%93%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"http:\/\/blog.infinity.idv.tw\/?p=582","title":{"rendered":"ESXi \u4e0b\u7684VM\u786c\u789f\u58d3\u7e2e\u91cb\u653e\u7a7a\u9593\u554f\u984c"},"content":{"rendered":"<p>ESXi \u4e0b\u7684VM\u786c\u789f\u58d3\u7e2e\u91cb\u653e\u7a7a\u9593\u554f\u984c<\/p>\n<p>\u6587\u7ae0\u51fa\u8655 : <a title=\"http:\/\/hector958.pixnet.net\/blog\/post\/26399389\" href=\"http:\/\/hector958.pixnet.net\/blog\/post\/26399389\">http:\/\/hector958.pixnet.net\/blog\/post\/26399389<\/a><\/p>\n<p>==================================================<\/p>\n<p>20110217\u88dc\u5145\uff1a<\/p>\n<p>\u95dc\u65bcVMWARE\u7684thin provisioning\uff0c\u7e7c\u67d0SERVER\u4f7f\u7528CONVERTER\u532f\u51fa\u65b9\u5f0f\u89e3\u6c7a\uff0c\u53e6\u5916\u6709\u9019\u53f0SERVER\u914d\u7f6e30GB\u786c\u789f\uff0c\u7cfb\u7d71\u4e2d\u5269\u99185GB\uff0c\u4f46\u662fVMDK\u4e00\u76f4\u662f\u4f54\u6eff30GB\/30GB\u7684\u7570\u5e38\u72c0\u614b\u3002<\/p>\n<p>\u540c\u6a23\u7684\u641e\u4e86\u5f88\u4e45\u7121\u89e3\uff0c\u7576\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u6a19\u8a18\u975e\u4f7f\u7528\u4e2d\u7684BLOCK\u70ba0\u5f8c\uff0cSVMOTION\u7121\u6548\u3001CLONE\u53bb\u53e6\u500bSTORAGE\u7121\u6548\u3001\u53ea\u6709\u532f\u51fa\u6709\u6548\u3002\u6240\u4ee5\u78ba\u8a8d\u4e00\u4ef6\u4e8b\u5c31\u662f\uff1a<\/p>\n<p>VM\u7684CLONE\u662fBLOCK TO BLOCK\u7684\u642c\u52d5\uff1b\u532f\u51fa\u5247\u662f\u5efa\u7acbVMDK\u5f8cFILE TO FILE\u7684\u642c\u52d5\uff0c\u800cBLOCK\u6a19\u8a18\u70ba0\u7684\u90e8\u5206\u6c92\u6709\u88abSVMOTION\u8207CLONE\u7684\u52d5\u4f5c\u5f71\u97ff\u3002<\/p>\n<p>\u7814\u7a76\u4e4b\u5f8c\u767c\u73fe\u662fVMWARE\u7684BUG\uff0c\u7576\u5728\u4f5cSVMOTION\u7684\u6642\u5019\uff0c\u4f86\u6e90\u8207\u76ee\u6a19\u78c1\u5340\u7684BLOCK SIZE\u76f8\u540c\u7684\u8a71\uff0c\u6703\u5c0e\u81f4BLOCK\u88ab\u6a19\u8a18\u70ba0\u8655\u7121\u6cd5\u6e05\u9664\uff0c\u6240\u4ee5\u5fc5\u9808SVMOTION\u53bb\u4e00\u500b\u4e0d\u540cBLOCK SIZE\u7684STORAGE\u624d\u884c\u3002<\/p>\n<p>\u4f8b\u5982\u628aVDisk00_V1\u4e0a\u7684\u6771\u897f(BLOCK SIZE=8MB)\u642c\u53bbVDISK01_V4(BLOCK SIZE=8MB)\uff0cthin provisioning\u7121\u6548\u3002<\/p>\n<p>\u4f46VDisk00_V1\u4e0a\u7684\u6771\u897f(BLOCK SIZE=8MB)\u642c\u53bbESXi2_ihd(BLOCK SIZE=1MB) \uff0cthin provisioning\u751f\u6548\u3002<\/p>\n<hr \/>\n<p>\u7576\u6211\u5011\u4f7f\u7528\u865b\u64ec\u6a5f\u5668\u6642\uff0c\u865b\u64ec\u786c\u789f\u7684\u5f62\u5f0f\u53ef\u4ee5\u9078thin provisioning\uff0c\u4f46\u662f\u660e\u660e\u914d\u7f6e\u7684\u7a7a\u9593\u4e2d\u53ea\u7528\u4e86\u4e00\u534a\uff0c\u70ba\u4f55\u7ba1\u7406\u4e0a\u770b\u8d77\u4f86\u537b\u5927\u5c0f\u660e\u986f\u8d85\u904e\uff1fVMDK\u7684\u5927\u5c0f\u4e5f\u660e\u986f\u8d85\u904e\uff1f<\/p>\n<p>\u50cf\u9019\u6a23 \uff1aWINDOS\u4e2d\u660e\u660e\u53ea\u6709\u7528\u4e00\u534a\uff1a<\/p>\n<p><img title=\"000\" border=\"0\" alt=\"000\" src=\"http:\/\/pic.pimg.tw\/hector958\/4b73817171ff1.jpg\" \/><\/p>\n<p>\u4f46\u662f\u53bb\u89c0\u5bdf\u865b\u64ec\u74b0\u5883\u4e2d\u53bb\u5403\u7684\u6eff\u6eff\u7684\uff1a<\/p>\n<p><img title=\"001.jpg\" border=\"0\" alt=\"001.jpg\" src=\"http:\/\/pic.pimg.tw\/hector958\/4b7381717df5c.jpg?v=1265860977\" \/><\/p>\n<p>\u9019\u660e\u986f\u6709\u554f\u984c\uff0c\u5176\u5be6\u662f\u56e0\u70baWINDOWS\u7684\u6a94\u6848\u6bba\u4e86\u4e0d\u662f\u771f\u6bba\uff0c\u9019\u5927\u5bb6\u61c9\u8a72\u90fd\u77e5\u9053\u3002<\/p>\n<p>\u5728WINDOWS\u4e4b\u4e2d\u539f\u672c\u786c\u789f\u585e\u4e86\u8cc7\u6599\uff0c\u800c\u5f8c\u4f86\u780d\u6389\u4e4b\u5f8c\u537b\u6c92\u6709\u628a\u7a7a\u9593\u91cb\u653e\uff0cvmdk\u5927\u5c0f\u6c92\u6709\u7e2e\u56de\u4f86\uff0c\u9019\u4e00\u9edeVMWARE\u5c31\u6c92\u6709\u8fa6\u6cd5\u5e6b\u6211\u5011\u8655\u7406\u4e86\u3002<\/p>\n<p>\u8655\u7406\u7684\u8fa6\u6cd5\uff1a<\/p>\n<p>\u9996\u5148\u6709\u7a7a\u7684\u8a71\u6700\u597d\u662fWINDOWS\u786c\u789f\u5148\u91cd\u7d44\uff0c\u7136\u5f8c\u8981\u7528SDELETE\u9019\u500b\u5de5\u5177\u7a0b\u5f0f\uff0c\u53bb\u5fae\u8edf\u4e0b\u8f09\u9019\u500b47K\u7684\u5c0f\u7a0b\u5f0f\uff1a<\/p>\n<p><a href=\"http:\/\/www.microsoft.com\/taiwan\/technet\/sysinternals\/FileAndDisk\/SDelete.mspx\">http:\/\/www.microsoft.com\/taiwan\/technet\/sysinternals\/FileAndDisk\/SDelete.mspx<\/a><\/p>\n<p> <font color=\"#ff0000\">\u4e0a\u9762\u9023\u7d50\u4f3c\u4e4e\u6c92\u4e86,\u8acb\u4e0b\u8f09\u5fae\u8edf\u745e\u58eb\u5200\u5de5\u5177:   <br \/><\/font><a title=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb842062.aspx\" href=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb842062.aspx\"><font color=\"#ff0000\">http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb842062.aspx<\/font><\/a>  <\/p>\n<p>\u7136\u5f8c\u8907\u88fd\u53bb\u865b\u64ec\u6a5f\u5668\u7684\u786c\u789f\u4e0b\uff0c\u7528\u547d\u4ee4\u5217\u57f7\u884c\uff1a <\/p>\n<p>sdelete -c c:<\/p>\n<p>\u9019\u6a23\u6703\u628a c \u69fd\u7684\u7a7a\u767d\u5730\u65b9\u90fd\u6a19\u62100\uff0c\u7b49\u4ed6\u8dd1\u5b8c\u4ee5\u5f8c\uff0c\u7528storage vmotion\u628a\u9019\u53f0vm\u7684\u6a94\u6848\u642c\u53bb\u53e6\u4e00\u500bstorge\u7a7a\u9593\uff0c\u904e\u7a0b\u4e2d\u9078thin provisioning\u5f62\u5f0f\u3002<\/p>\n<p>\u7b49\u642c\u5b8c\u4e4b\u5f8c\uff0c\u786c\u789f\u6240\u4f54\u7528\u7a7a\u9593\u7684\u5927\u5c0f\u5c31\u7e2e\u56de\u4f86\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ESXi \u4e0b\u7684VM\u786c\u789f\u58d3\u7e2e\u91cb\u653e\u7a7a\u9593\u554f\u984c<\/p>\n<p>\u6587\u7ae0\u51fa\u8655 : http:\/\/hector958.pixnet.net\/blog\/post\/26399389<\/p>\n<p>==================================================<\/p>\n<p>20110217\u88dc\u5145\uff1a<\/p>\n<p>\u95dc\u65bcVMWARE\u7684thin provisioning\uff0c\u7e7c\u67d0SERVER\u4f7f\u7528CONVERTER\u532f\u51fa\u65b9\u5f0f\u89e3\u6c7a\uff0c\u53e6\u5916\u6709\u9019\u53f0SERVER\u914d\u7f6e30GB\u786c\u789f\uff0c\u7cfb\u7d71\u4e2d\u5269\u99185GB\uff0c\u4f46\u662fVMDK\u4e00\u76f4\u662f\u4f54\u6eff30GB\/30GB\u7684\u7570\u5e38\u72c0\u614b\u3002<\/p>\n<p>\u540c\u6a23\u7684\u641e\u4e86\u5f88\u4e45\u7121\u89e3\uff0c\u7576\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u6a19\u8a18\u975e\u4f7f\u7528\u4e2d\u7684BLOCK\u70ba0\u5f8c\uff0cSVMOTION\u7121\u6548\u3001CLONE\u53bb\u53e6\u500bSTORAGE\u7121\u6548\u3001\u53ea\u6709\u532f\u51fa\u6709\u6548\u3002\u6240\u4ee5\u78ba\u8a8d\u4e00\u4ef6\u4e8b\u5c31\u662f\uff1a<\/p>\n<p>VM\u7684CLONE\u662fBLOCK TO BLOCK\u7684\u642c\u52d5\uff1b\u532f\u51fa\u5247\u662f\u5efa\u7acbVMDK\u5f8cFILE TO FILE\u7684\u642c\u52d5\uff0c\u800cBLOCK\u6a19\u8a18\u70ba0\u7684\u90e8\u5206\u6c92\u6709\u88abSVMOTION\u8207CLONE\u7684\u52d5\u4f5c\u5f71\u97ff\u3002<\/p>\n<p>\u7814\u7a76\u4e4b\u5f8c\u767c\u73fe\u662fVMWARE\u7684BUG\uff0c\u7576\u5728\u4f5cSVMOTION\u7684\u6642\u5019\uff0c\u4f86\u6e90\u8207\u76ee\u6a19\u78c1\u5340\u7684BLOCK SIZE\u76f8\u540c\u7684\u8a71\uff0c\u6703\u5c0e\u81f4BLOCK\u88ab\u6a19\u8a18\u70ba0\u8655\u7121\u6cd5\u6e05\u9664\uff0c\u6240\u4ee5\u5fc5\u9808SVMOTION\u53bb\u4e00\u500b\u4e0d\u540cBLOCK SIZE\u7684STORAGE\u624d\u884c\u3002<\/p>\n<p>\u4f8b\u5982\u628aVDisk00_V1\u4e0a\u7684\u6771\u897f(BLOCK SIZE=8MB)\u642c\u53bbVDISK01_V4(BLOCK SIZE=8MB)\uff0cthin provisioning\u7121\u6548\u3002<\/p>\n<p>\u4f46VDisk00_V1\u4e0a\u7684\u6771\u897f(BLOCK SIZE=8MB)\u642c\u53bbESXi2_ihd(BLOCK SIZE=1MB) \uff0cthin provisioning\u751f\u6548\u3002<\/p>\n<p>\u7576\u6211\u5011\u4f7f\u7528\u865b\u64ec\u6a5f\u5668\u6642\uff0c\u865b\u64ec\u786c\u789f\u7684\u5f62\u5f0f\u53ef\u4ee5\u9078thin provisioning\uff0c\u4f46\u662f\u660e\u660e\u914d\u7f6e\u7684\u7a7a\u9593\u4e2d\u53ea\u7528\u4e86\u4e00\u534a\uff0c\u70ba\u4f55\u7ba1\u7406\u4e0a\u770b\u8d77\u4f86\u537b\u5927\u5c0f\u660e\u986f\u8d85\u904e\uff1fVMDK\u7684\u5927\u5c0f\u4e5f\u660e\u986f\u8d85\u904e\uff1f<\/p>\n<p>\u50cf\u9019\u6a23 \uff1aWINDOS\u4e2d\u660e\u660e\u53ea\u6709\u7528\u4e00\u534a\uff1a<\/p>\n<\/p>\n<p>\u4f46\u662f\u53bb\u89c0\u5bdf\u865b\u64ec\u74b0\u5883\u4e2d\u53bb\u5403\u7684\u6eff\u6eff\u7684\uff1a<\/p>\n<\/p>\n<p>\u9019\u660e\u986f\u6709\u554f\u984c\uff0c\u5176\u5be6\u662f\u56e0\u70baWINDOWS\u7684\u6a94\u6848\u6bba\u4e86\u4e0d\u662f\u771f\u6bba\uff0c\u9019\u5927\u5bb6\u61c9\u8a72\u90fd\u77e5\u9053\u3002<\/p>\n<p>\u5728WINDOWS\u4e4b\u4e2d\u539f\u672c\u786c\u789f\u585e\u4e86\u8cc7\u6599\uff0c\u800c\u5f8c\u4f86\u780d\u6389\u4e4b\u5f8c\u537b\u6c92\u6709\u628a\u7a7a\u9593\u91cb\u653e\uff0cvmdk\u5927\u5c0f\u6c92\u6709\u7e2e\u56de\u4f86\uff0c\u9019\u4e00\u9edeVMWARE\u5c31\u6c92\u6709\u8fa6\u6cd5\u5e6b\u6211\u5011\u8655\u7406\u4e86\u3002<\/p>\n<p>\u8655\u7406\u7684\u8fa6\u6cd5\uff1a<\/p>\n<p>\u9996\u5148\u6709\u7a7a\u7684\u8a71\u6700\u597d\u662fWINDOWS\u786c\u789f\u5148\u91cd\u7d44\uff0c\u7136\u5f8c\u8981\u7528SDELETE\u9019\u500b\u5de5\u5177\u7a0b\u5f0f\uff0c\u53bb\u5fae\u8edf\u4e0b\u8f09\u9019\u500b47K\u7684\u5c0f\u7a0b\u5f0f\uff1a<\/p>\n<p>http:\/\/www.microsoft.com\/taiwan\/technet\/sysinternals\/FileAndDisk\/SDelete.mspx<\/p>\n<p> \u4e0a\u9762\u9023\u7d50\u4f3c\u4e4e\u6c92\u4e86,\u8acb\u4e0b\u8f09\u5fae\u8edf\u745e\u58eb\u5200\u5de5\u5177:   http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb842062.aspx  <\/p>\n<p>\u7136\u5f8c\u8907\u88fd\u53bb\u865b\u64ec\u6a5f\u5668\u7684\u786c\u789f\u4e0b\uff0c\u7528\u547d\u4ee4\u5217\u57f7\u884c\uff1a <\/p>\n<p>sdelete -c c:<\/p>\n<p>\u9019\u6a23\u6703\u628a c \u69fd\u7684\u7a7a\u767d\u5730\u65b9\u90fd\u6a19\u62100\uff0c\u7b49\u4ed6\u8dd1\u5b8c\u4ee5\u5f8c\uff0c\u7528storage vmotion\u628a\u9019\u53f0vm\u7684\u6a94\u6848\u642c\u53bb\u53e6\u4e00\u500bstorge\u7a7a\u9593\uff0c\u904e\u7a0b\u4e2d\u9078thin provisioning\u5f62\u5f0f\u3002<\/p>\n<p>\u7b49\u642c\u5b8c\u4e4b\u5f8c\uff0c\u786c\u789f\u6240\u4f54\u7528\u7a7a\u9593\u7684\u5927\u5c0f\u5c31\u7e2e\u56de\u4f86\u4e86\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[46],"tags":[375],"_links":{"self":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/582"}],"collection":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=582"}],"version-history":[{"count":1,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/582\/revisions"}],"predecessor-version":[{"id":583,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/582\/revisions\/583"}],"wp:attachment":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}