{"id":589,"date":"2016-03-15T19:01:58","date_gmt":"2016-03-15T11:01:58","guid":{"rendered":"http:\/\/www.datarelab.com\/blog\/?p=589"},"modified":"2016-03-15T19:01:58","modified_gmt":"2016-03-15T11:01:58","slug":"%e4%bd%bf%e7%94%a8linux-vmfs-tools%e6%9d%a5%e6%8c%82%e8%bd%bd%e8%ae%bf%e9%97%aevmfs%e6%96%87%e4%bb%b6%e7%a3%81%e7%9b%98","status":"publish","type":"post","link":"https:\/\/www.datarelab.com\/blog\/Technical_literature\/589.html","title":{"rendered":"\u4f7f\u7528Linux vmfs-tools\u6765\u6302\u8f7d\u8bbf\u95eeVMFS\u6587\u4ef6\u78c1\u76d8"},"content":{"rendered":"<p>1.\u9996\u5148\u8981\u5b89\u88c5unbuntu\u7cfb\u7edf\uff0cX86\u6216\u8005X64\u90fd\u53ef\u4ee5\uff0c\u7248\u672c\u5fc5\u987b\u662f9.10\u6216\u8005\u4ee5\u4e0a\u7248\u672c\uff0c\u8fd9\u91cc\u4f7f\u752810.04 X64\u7248\u672c\uff0c\u5177\u4f53\u5b89\u88c5\u4e0d\u4f5c\u8d58\u8ff0\uff0c\u5b89\u88c5\u5b8c\u6bd5\u540e\u8bb0\u5f97\u8981\u5b89\u88c5\u7f16\u8bd1\u5305\uff0c\u5982\u4e0b<br \/>\n<strong>sudo apt-get install build-essential<\/strong><\/p>\n<p>2.\u5b89\u88c5vmfs-tools<br \/>\n<strong>sudo apt-get install vmfs-tools<\/strong><br \/>\n\u82e5\u65e0\u6cd5\u4f7f\u7528apt-get\u5b89\u88c5\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u6e90\u6587\u4ef6\u7f16\u8bd1\u5b89\u88c5\uff0c\u4e0b\u8f7d\u5730\u5740\u662fhttp:\/\/glandium.org\/projects\/vmfs-tools\/<br \/>\nmake&amp;&amp;make install \u5c31\u884c\u4e86<\/p>\n<p>3.\u6302\u8f7dvmfs\u6587\u4ef6\u683c\u5f0f\u786c\u76d8<br \/>\nwww@linux ~$ <strong>sudo fdisk -l<\/strong><br \/>\nDisk \/dev\/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors\/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical\/physical): 512 bytes \/ 512 bytes I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes Disk identifier: 0x49e2fd2f Device Boot Start End Blocks Id System<br \/>\n\/dev\/sdb1 * 1 140 1124518+ 83 Linux<br \/>\n\/dev\/sdb2 141 154 112455 fc VMware VMKCORE<br \/>\n\/dev\/sdb3 155 19457 155051347+ f W95 Ext'd (LBA)<br \/>\n\/dev\/sdb5 155 19457 155051316 fb VMware VMFS<br \/>\n\u6b64\u5904\/dev\/sdb5\u5c31\u662f vmfs\u6587\u4ef6\u683c\u5f0f\u7684\u5206\u533a<br \/>\nwww@linux ~$ <strong>sudo vmfs-fuse \/dev\/sdb5 \/opt\/vmfs<\/strong><br \/>\n\u6b64\u547d\u4ee4\u5373\u53ef\u6302\u8f7dvmfs\u5206\u533a\u5230\/opt\/vmfs\u4e0a\u9762\u4f7f\u7528cp\u547d\u4ee4\u5373\u53ef\u6210\u529f\u590d\u5236\u51fa\u91cc\u9762\u7684\u6587\u4ef6\u4e86\u3002<\/p>\n<p>4.\u82e5\u8981\u60f3\u4e86\u89e3\u66f4\u591a\u5173\u4e8evmfs-tools\u7684\u4fe1\u606f\u53ef\u4ee5\u53c2\u8003\u5982\u4e0b<br \/>\nwww@linux ~$ <strong>sudo apt-get install open-vm-source<\/strong><br \/>\nOR<br \/>\nwww@linux ~$ <strong>sudo apt-get install open-vm-tools<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u9996\u5148\u8981\u5b89\u88c5unbuntu\u7cfb\u7edf\uff0cX86\u6216\u8005X64\u90fd\u53ef\u4ee5\uff0c\u7248\u672c\u5fc5\u987b\u662f9.10\u6216\u8005\u4ee5\u4e0a\u7248\u672c\uff0c\u8fd9\u91cc\u4f7f\u752810.04  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-589","post","type-post","status-publish","format-standard","hentry","category-Technical_literature"],"views":3373,"_links":{"self":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/comments?post=589"}],"version-history":[{"count":0,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/589\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/media?parent=589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/categories?post=589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/tags?post=589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}