{"id":2085,"date":"2023-07-27T17:48:38","date_gmt":"2023-07-27T09:48:38","guid":{"rendered":"https:\/\/www.yusian.com\/blog\/?p=2085"},"modified":"2023-07-27T17:56:49","modified_gmt":"2023-07-27T09:56:49","slug":"%e5%a6%82%e4%bd%95%e7%bb%99%e8%99%9a%e6%8b%9f%e6%9c%bavirtualbox%e7%9a%84%e7%a3%81%e7%9b%98%e6%96%87%e4%bb%b6vdi%e7%98%a6%e8%ba%ab","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/article\/2023\/07\/27\/1748382085.html","title":{"rendered":"\u5982\u4f55\u7ed9\u865a\u62df\u673avirtualbox\u7684\u78c1\u76d8\u6587\u4ef6vdi\u7626\u8eab"},"content":{"rendered":"<h2>\u95ee\u9898\u63cf\u8ff0<\/h2>\n<blockquote><p>\n  \u865a\u62df\u673a\u7684\u786c\u76d8\u4f7f\u7528\u7a7a\u95f4\u53ea\u670920G\uff0c\u4e3a\u4ec0\u4e48\u865a\u62df\u673a\u78c1\u76d8\u6587\u4ef6\u5374\u8fdc\u8fdc\u5927\u4e8e\u8fd9\u4e2a\u503c\uff0c\u6bd4\u598240G\uff1f\n<\/p><\/blockquote>\n<h2>\u539f\u56e0\u5206\u6790<\/h2>\n<p>\u5373\u4f7f\u662f\u52a8\u6001\u5206\u6790\u7a7a\u95f4\u7684\u865a\u62df\u786c\u76d8\u4e5f\u4f1a\u968f\u7740\u865a\u62df\u673a\u7684\u4f7f\u7528\uff0c\u7a7a\u95f4\u9010\u6e10\u53d8\u5927\uff0c\u5e76\u4e14\u4e00\u822c\u4e0d\u4f1a\u56e0\u4e3a\u865a\u62df\u673a\u78c1\u76d8\u7684\u5360\u7528\u7a7a\u95f4\u53d8\u5c0f\u800c\u53d8\u5c0f\u3002\u56e0\u4e3a\u5206\u914d\u65b0\u7684\u7a7a\u95f4\u5f88\u7b80\u5355\uff0c\u4f46\u8981\u91ca\u653e\u5c31\u4f1a\u6d89\u53ca\u5230\u788e\u7247\u7684\u95ee\u9898\uff0c\u5bbf\u4e3b\u673a\u662f\u65e0\u6cd5\u81ea\u52a8\u5e2e\u865a\u62df\u673a\u6574\u7406\u788e\u7247\u7684\u3002<\/p>\n<h2>\u89e3\u51b3\u65b9\u6848<\/h2>\n<ul>\n<li>virtualbox\u81ea\u5e26\u6709\u78c1\u76d8\u6587\u4ef6\u538b\u7f29\u7684\u529f\u80fd<\/li>\n<\/ul>\n<pre><code class=\"language-command line-numbers\">:~\/VirtualMachines\/Windows$ VBoxManage modifyhd Windows.vdi --compact\n0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%\n<\/code><\/pre>\n<p>\u7136\u800c\u5982\u679c\u6211\u4eec\u76f4\u63a5\u6267\u884c\u8fd9\u6761\u547d\u4ee4\uff0c\u6548\u679c\u662f\u4e0d\u660e\u663e\u7684\uff0cvdi\u7684\u5360\u7528\u7a7a\u95f4\u8fd8\u662f\u5dee\u4e0d\u591a\u90a3\u4e48\u5927\uff0c\u6240\u4ee5\u5728\u6b64\u4e4b\u524d\u8981\u6574\u7406\u865a\u62df\u673a\u64cd\u4f5c\u7cfb\u7edf\u7684\u78c1\u76d8\u788e\u7247\uff0c\u4ee5windowo\u4e3a\u4f8b\uff1a<\/p>\n<ol>\n<li>\n<p>\u4e0b\u8f7d\u78c1\u76d8\u6574\u7406\u5de5\u5177\uff1a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/learn.microsoft.com\/en-us\/sysinternals\/downloads\/sdelete\">https:\/\/learn.microsoft.com\/en-us\/sysinternals\/downloads\/sdelete<\/a><\/p>\n<\/li>\n<li>\n<p>\u547d\u4ee4\u884c\u4e0b\u6267\u884c\u64cd\u4f5c\u5373\u53ef<\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"language-command line-numbers\">C:\\Users\\yusia\\Downloads\\SDelete&gt;sdelete.exe c: -z\n.\nSDelete v2.04 - Secure file delete\nCopyright (C) 1999-2019 Mark Russinovich\nSysinternals - www.sysinternals.com\n.\nSDelete is set for 1 pass.\nFree space cleaned on C:\\\n1 drive cleaned.\n\n C:\\Users\\yusia\\Downloads\\SDelete&gt;\n<\/code><\/pre>\n<ul>\n<li>\u5173\u6389\u865a\u62df\u673a\uff0c\u518d\u6b21\u5728\u5bbf\u4e3b\u673a\u4e0a\u6267\u884cVBoxManage\u7684\u538b\u7f29\u547d\u4ee4\uff0c\u4f60\u5c31\u4f1a\u53d1\u73b0vdi\u7684\u6587\u4ef6\u5927\u5c0f\u548c\u865a\u62df\u673a\u7684\u786c\u76d8\u4f7f\u7528\u5927\u5c0f\u57fa\u672c\u4e00\u81f4\u4e86\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>How to impact Virtualbox&#8217;s vdi file size.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[386,369,1],"tags":[419,418,390],"class_list":["post-2085","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-windows","category-article","tag-sdelete","tag-vdi","tag-virtualbox"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=2085"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2085\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=2085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=2085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=2085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}