{"id":2450,"date":"2019-05-20T03:08:50","date_gmt":"2019-05-20T03:08:50","guid":{"rendered":""},"modified":"2019-05-20T11:09:15","modified_gmt":"2019-05-20T03:09:15","slug":"%e4%ba%91%e5%ad%98%e5%82%a8%e7%9a%84%e6%a0%b8%e5%bf%83%e6%8a%80%e6%9c%af+%e8%99%9a%e6%8b%9f%e5%8c%96%e5%ad%98%e5%82%a8","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2450","title":{"rendered":"\u4e91\u5b58\u50a8\u7684\u6838\u5fc3\u6280\u672f \u865a\u62df\u5316\u5b58\u50a8"},"content":{"rendered":"
\n\t\u865a\u62df\u5316\u6539\u53d8\u4e86\u8ba1\u7b97\u673a\u4f7f\u7528\u5b58\u50a8\u7684\u65b9\u5f0f\u3002\u5c31\u50cf\u7269\u7406\u673a\u5668\u62bd\u8c61\u6210\u865a\u62df\u673a\uff08VM\uff1aVirtual Machine\uff09\u4e00\u6837\uff0c\u7269\u7406\u5b58\u50a8\u8bbe\u5907\u4e5f\u88ab\u62bd\u8c61\u6210\u865a\u62df\u78c1\u76d8\uff08Virtual Disk\uff09\u3002\u4eca\u5929\u6211\u4eec\u5c31\u6765\u804a\u804a\u865a\u62df\u5316\u5b58\u50a8\uff08Storage Virtualizati<\/u>on\uff09\u6280\u672f\uff0c\u7a76\u7adf\u865a\u62df\u78c1\u76d8\u662f\u600e\u6837\u5b9e\u73b0\u7684\uff1f<\/p>\n
\n\t\u865a\u62df\u78c1\u76d8\u7684\u5b9e\u73b0<\/strong><\/p>\n \n\t\u6211\u4eec\u77e5\u9053\uff0c\u670d\u52a1\u5668\u6269\u5c55\u5b58\u50a8\u7684\u624b\u6bb5\u4e3b\u8981\u6709\u76f4\u8fde\u5b58\u50a8\uff08DAS\uff09\u3001\u5b58\u50a8\u533a\u57df\u7f51\u7edc\uff08SAN\uff09\u548c\u7f51\u7edc\u9644\u52a0\u5b58\u50a8\uff08NAS<\/u>\uff09\u8fd9\u4e09\u79cd\u7c7b\u578b\u3002\u90a3\u4e48\u54ea\u79cd\u5b58\u50a8\u7c7b\u578b\u53ef\u4ee5\u7528\u6765\u5b9e\u73b0\u865a\u62df\u78c1\u76d8\u5462\uff1f<\/p>\n \n\t\u5728\u865a\u62df\u5316\u73af\u5883\u4e2d\uff0c\u7c7b\u4f3cVMWare\u8fd9\u6837\u7684\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8fhypervisor\uff0c\u8981\u540c\u65f6\u7ed9\u5f88\u591aVM\u5206\u914d\u5b58\u50a8\u7a7a\u95f4\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u5148\u628a\u7269\u7406\u5b58\u50a8\u8d44\u6e90\u91cd\u65b0\u5212\u5206\u6210\u865a\u62df\u78c1\u76d8\uff0c\u7136\u540e\u518d\u5206\u914d\u7ed9VM.<\/p>\n \n\t\u663e\u7136\u6211\u4eec\u4e0d\u80fd\u7528DAS\u65b9\u5f0f\u628a\u7269\u7406\u78c1\u76d8\u76f4\u8fde\u5230VM\u4e0a\uff0c\u5982\u679c\u8fd9\u6837\uff0c\u9700\u8981\u7684\u7269\u7406\u78c1\u76d8\u5c31\u592a\u591a\u4e86\u3002SAN\u662f\u4ee5\u903b\u8f91\u5355\u5143\uff08LUN\uff1aLogic Unit\uff09\u7684\u5f62\u5f0f\u63d0\u4f9b\u5b58\u50a8\u8d44\u6e90\uff0c\u4f46\u865a\u62df\u73af\u5883\u4e0b\u7684VM\u6570\u91cf\u5f88\u5927\uff0cLUN\u7684\u6570\u91cf\u4e5f\u4e0d\u8db3\u4ee5\u652f\u6491\u8fd9\u4e48\u591a\u865a\u62df\u78c1\u76d8\u3002<\/p>\n \n\t\u66f4\u91cd\u8981\u7684\u4e00\u70b9\uff0c\u865a\u62df\u78c1\u76d8\u5bf9\u4e8e\u4f17\u591a\u7684VM\u6765\u8bf4\u662f\u5171\u4eab\u7684\uff0c\u56e0\u4e3aVM\u9700\u8981\u968f\u65f6\u521b\u5efa\u3001\u5220\u9664\u6216\u8005\u8fc1\u79fb\uff0c\u5728\u8fc1\u79fbVM\u7684\u65f6\u5019\u5c31\u9700\u8981\u5171\u4eab\u5b58\u50a8\uff0c\u53ea\u6709\u8fd9\u6837\u539f\u6765\u7684\u6570\u636e\u624d\u4e0d\u4f1a\u4e22\u5931\u3002\u65e0\u8bbaDAS\u8fd8\u662fSAN\uff0c\u90fd\u4e0d\u9002\u5408\u5171\u4eab\u5b58\u50a8\u3002<\/p>\n \n\t<\/p>\n \n\t\u8003\u8651\u5230\u8d44\u6e90\u5206\u914d\u4ee5\u53ca\u5171\u4eab\u7684\u95ee\u9898\uff0chypervisor\u91c7\u7528NAS\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u865a\u62df\u78c1\u76d8\u3002VMware\u901a\u5e38\u91c7\u7528VMFS\uff08Virtual Machine File Syste<\/u>m\uff09\u6216NFS\u534f\u8bae\u6765\u5b9e\u73b0\u865a\u62df\u78c1\u76d8\uff0cVMFS\u662f\u4e13\u95e8\u9488\u5bf9\u865a\u62df\u673a\u73af\u5883\u7684\u6587\u4ef6\u7cfb\u7edf\u534f\u8bae\u3002<\/p>\n \n\t<\/p>\n \n\t\u6bcf\u4e2a\u865a\u62df\u673a\u7684\u6570\u636e\u5b9e\u9645\u4e0a\u5c31\u662f\u4e00\u5806\u6587\u4ef6\uff0c\u6700\u4e3b\u8981\u7684\u6587\u4ef6\u5c31\u662f\u865a\u62df\u78c1\u76d8\u6587\u4ef6\uff08VMDK\u6587\u4ef6\uff09\uff0c\u6b64\u5916\u8fd8\u6709\u4ea4\u6362\u5206\u533a\u6587\u4ef6\uff08vswp\u6587\u4ef6\uff0c\u76f8\u5f53\u4e8eswap\uff09\u3001\u975e\u6613\u5931\u6027\u5185\u5b58\u6587\u4ef6\uff08nvram<\/u>\u76f8\u5f53\u4e8ebios<\/u>\uff09\u7b49\u3002\u6bcf\u4e2aVM\u5bf9\u865a\u62df\u78c1\u76d8\u7684IO\u64cd\u4f5c\uff0c\u5b9e\u9645\u4e0a\u662f\u5bf9\u8fd9\u4e2a\u865a\u62df\u78c1\u76d8\u6587\u4ef6\u7684\u8bfb\u5199\u3002<\/p>\n \n\tVMFS\u7684\u8bbe\u8ba1\u3001\u6784\u5efa\u548c\u4f18\u5316\u9488\u5bf9\u865a\u62df\u670d\u52a1\u5668\u73af\u5883\uff0c\u53ef\u8ba9\u591a\u4e2a\u865a\u62df\u673a\u5171\u540c\u8bbf\u95ee\u4e00\u4e2a\u6574\u5408\u7684\u7fa4\u96c6\u5f0f\u5b58\u50a8\u6c60\uff0c\u4ece\u800c\u663e\u7740\u63d0\u9ad8\u4e86\u8d44\u6e90\u5229\u7528\u7387\u3002\u91c7\u7528 VMFS \u53ef\u5b9e\u73b0\u8d44\u6e90\u5171\u4eab\uff0c\u4f7f\u7ba1\u7406\u5458\u8f7b\u677e\u5730\u4ece\u66f4\u9ad8\u6548\u7387\u548c\u5b58\u50a8\u5229\u7528\u7387\u4e2d\u76f4\u63a5\u83b7\u76ca\u3002<\/p>\n \n\t\u90a3\u4e48\u6211\u4eec\u5982\u4f55\u5728\u4e91\u8ba1\u7b97\u4e2d\u4f7f\u7528\u865a\u62df\u78c1\u76d8\u5462\uff1f<\/p>\n \n\t\u5b9e\u4f8b\u5b58\u50a8<\/strong><\/p>\n \n\t\u6700\u4e3b\u8981\u7684\u4e00\u79cd\u4f7f\u7528\u865a\u62df\u78c1\u76d8\u7684\u65b9\u5f0f\u5c31\u662f\u5b9e\u4f8b\u5b58\u50a8\uff0c\u6bcf\u4e00\u4e2aVM\u5c31\u662f\u4e00\u4e2a\u865a\u62df\u673a\u5b9e\u4f8b\uff0chypervisor\u5728\u6bcf\u4e2a\u5b9e\u4f8b\u4e2d\u63d0\u4f9b\u4eff\u771f\u7684\u786c\u4ef6\u73af\u5883\uff0c\u5305\u62ecCPU<\/u>\u3001\u5185\u5b58\u548c\u78c1\u76d8\u3002\u8fd9\u79cd\u65b9\u5f0f\uff0c\u4f7f\u5f97\u865a\u62df\u78c1\u76d8\u6210\u4e3a\u865a\u62df\u673a\u5b9e\u4f8b\u7684\u4e00\u90e8\u5206\uff0c\u5c31\u50cf\u7269\u7406\u4e16\u754c\u4e00\u6837\u3002VM\u5220\u9664\u540e\uff0c\u865a\u62df\u78c1\u76d8\u4e5f\u4f1a\u88ab\u5220\u9664\u3002<\/p>\n \n\t\u8fd9\u79cd\u5b9e\u4f8b\u5b58\u50a8\u6a21\u578b\u4e2d\uff0c\u865a\u62df\u78c1\u76d8\u4e0e\u865a\u62df\u673a\u4e4b\u95f4\u7684\u5b58\u50a8\u5173\u7cfb\uff0c\u5b9e\u9645\u4e0a\u662fDAS\u5b58\u50a8\u3002\u4f46\u865a\u62df\u78c1\u76d8\u7684\u5e95\u5c42\u5b9e\u73b0\uff0c\u4e0a\u9762\u6211\u4eec\u8bf4\u4e86\uff0c\u662f\u7528NAS\u65b9\u5f0f\u5b9e\u73b0\u7684\u3002\u800chypervisor\u7684\u4f5c\u7528\u5c31\u662f\u628aVM\u5c42\u7684\u5b58\u50a8\u6a21\u578b\uff0c\u4e0e\u865a\u62df\u673a\u4e0b\u5c42\u7684\u5b9e\u73b0\u534f\u8bae\uff08VMFS\u6216NFS\uff09\u5206\u79bb\u5f00\u4e86\u3002<\/p>\n \n\t<\/p>\n \n\t\u5377\u5b58\u50a8<\/strong><\/p>\n \n\t\u5b9e\u4f8b\u5b58\u50a8\u6709\u5b83\u7684\u9650\u5236\uff0c\u5f00\u53d1\u8005\u4e00\u822c\u5e0c\u671b\u628a\u5b9e\u4f8b\u6570\u636e\uff08\u6bd4\u5982OS\u4ee5\u53ca\u5b89\u88c5\u7684\u4e00\u4e9b\u670d\u52a1\u5668\u5e94\u7528\u8f6f\u4ef6\uff09\u548c\u7528\u6237\u6570\u636e\u5206\u5f00\uff0c\u8fd9\u6837\u91cd\u5efaVM\u7684\u65f6\u5019\u53ef\u4ee5\u4fdd\u7559\u7528\u6237\u7684\u6570\u636e\u3002<\/p>\n \n\t\u8fd9\u4e2a\u9700\u6c42\u884d\u751f\u51fa\u53e6\u5916\u4e00\u79cd\u5b58\u50a8\u6a21\u578b\uff1a\u5377\u5b58\u50a8\u3002\u5377\u662f\u5b58\u50a8\u7684\u4e3b\u8981\u5355\u4f4d\uff0c\u76f8\u5f53\u4e8e\u4e00\u4e2a\u865a\u62df\u7684\u78c1\u76d8\u5206\u533a\u3002\u4e0d\u5c5e\u4e8e\u865a\u62df\u673a\u5b9e\u4f8b\u7684\u4e00\u90e8\u5206\uff0c\u53ef\u4ee5\u8ba4\u4e3a\u662f\u865a\u62df\u673a\u7684\u5916\u7f6e\u5b58\u50a8\u8bbe\u5907\u3002<\/p>\n \n\t\u5377\u53ef\u4ee5\u4ece\u4e00\u4e2aVM\u5378\u4e0b\uff0c\u7136\u540e\u9644\u52a0\u7ed9\u53e6\u5916\u4e00\u4e2aVM.\u8fd9\u6837\u6211\u4eec\u5c31\u5b9e\u73b0\u4e86\u5b9e\u4f8b\u6570\u636e\u4e0e\u7528\u6237\u6570\u636e\u7684\u5206\u79bb\u3002OpenStack\u7684Cinder\u5c31\u662f\u4e00\u4e2a\u5377\u5b58\u50a8\u7684\u5b9e\u73b0\u3002<\/p>\n \n\t\u9664\u4e86\u5b9e\u4f8b\u5b58\u50a8\u548c\u5377\u5b58\u50a8\uff0c\u6700\u540e\u6211\u4eec\u518d\u8bf4\u4e00\u8bf4\u53e6\u5916\u4e00\u79cd\u6bd4\u8f83\u7279\u6b8a\u7684\u865a\u62df\u5316\u5b58\u50a8\uff1a\u5bf9\u8c61\u5b58\u50a8\u3002<\/p>\n \n\t\u5bf9\u8c61\u5b58\u50a8<\/strong><\/p>\n \n\t\u5f88\u591a\u4e91\u5e94\u7528\u9700\u8981\u5728\u4e0d\u540c\u7684VM\u4e4b\u95f4\u5171\u4eab\u6570\u636e\uff0c\u7ecf\u5e38\u9700\u8981\u8de8\u8d8a\u591a\u4e2a\u6570\u636e\u4e2d\u5fc3\uff0c\u5bf9\u8c61\u5b58\u50a8\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\u5728\u524d\u6587\u300a\u4e91\u8ba1\u7b97IaaS\u7ba1\u7406\u5e73\u53f0\u7684\u57fa\u672c\u529f\u80fd\u6709\u54ea\u4e9b\uff1f\u300b\u4e2d\u66fe\u7ecf\u63d0\u5230\u8fc7\u5bf9\u8c61\u5b58\u50a8\u3002<\/p>\n \n\t\u5728\u5bf9\u8c61\u5b58\u50a8\u6a21\u578b\u4e2d\uff0c\u6570\u636e\u5b58\u50a8\u5728\u5b58\u50a8\u6bb5\uff08bucket\uff09\u4e2d\uff0c\u6309\u5b57\u9762\u610f\u601dbucket\u4e5f\u53ef\u4ee5\u88ab\u79f0\u4e3a“\u6876”\u3002\u6211\u4eec\u53ef\u4ee5\u7528\u786c\u76d8\u8fdb\u884c\u7c7b\u6bd4\uff0c\u5bf9\u8c61\u5c31\u597d\u6bd4\u6587\u4ef6\uff0c\u5b58\u50a8\u6bb5\u5c31\u50cf\u662f\u6587\u4ef6\u5939\uff08\u6216\u76ee\u5f55\uff09\u3002\u5bf9\u8c61\u548c\u5b58\u50a8\u6bb5\u53ef\u4ee5\u901a\u8fc7\u7edf\u4e00\u8d44\u6e90\u6807\u8bc6\u7b26\uff08URI\uff1a Uniform Resource IdenTIfier\uff09\u67e5\u627e\u3002<\/p>\n \n\t\u5bf9\u8c61\u5b58\u50a8\u7684\u6838\u5fc3\u8bbe\u8ba1\u601d\u60f3\u5176\u5b9e\u4e5f\u662f\u865a\u62df\u5316\uff0c\u5177\u4f53\u8bf4\u6765\uff0c\u5c31\u662f\u628a\u6587\u4ef6\u7684\u7269\u7406\u5b58\u50a8\u4f4d\u7f6e\uff0c\u6bd4\u5982\u5377\u3001\u76ee\u5f55\u3001\u78c1\u76d8\u7b49\uff0c\u865a\u62df\u5316\u4e3abucket\uff0c\u628a\u6587\u4ef6\u865a\u62df\u5316\u4e3a\u5bf9\u8c61\u3002\u5bf9\u5e94\u7528\u5c42\u6765\u8bf4\uff0c\u7b80\u5316\u4e86\u5bf9\u6570\u636e\u7684\u5b58\u53d6\u8bbf\u95ee\uff0c\u5c4f\u853d\u4e86\u5e95\u5c42\u5b58\u50a8\u6280\u672f\u7684\u5f02\u6784\u6027\u548c\u590d\u6742\u6027\u3002<\/p>\n \n\t<\/p>\n \n\t\u5bf9\u8c61\u5b58\u50a8\u6a21\u578b<\/p>\n \n\tNAS\u4e0e\u5bf9\u8c61\u5b58\u50a8\u5404\u6709\u6240\u957f<\/strong><\/p>\n \n\t\u5f53\u7136\u4f60\u4e5f\u8bb8\u4f1a\u95ee\uff0cNAS\u5b58\u50a8\u6280\u672f\u4e0d\u662f\u4e5f\u53ef\u4ee5\u89e3\u51b3\u6570\u636e\u5171\u4eab\u7684\u95ee\u9898\u5417\uff1f\u7531\u4e8e\u5bf9\u8c61\u5b58\u50a8\u7684\u89c4\u6a21\u4f18\u52bf\u548c\u6210\u672c\u4f18\u52bf\uff0c\u5f88\u591a\u4e91\u73af\u5883\u91c7\u7528\u5bf9\u8c61\u5b58\u50a8\u6765\u4ee3\u66ffNAS.<\/p>\n \n\t\u7531\u4e8e\u5bf9\u8c61\u5b58\u50a8\u5c06\u904d\u5e03\u4e8e\u5f88\u591a\u8282\u70b9\u4e14\u6700\u65b0\u7684\u6570\u636e\u5e76\u975e\u603b\u662f\u53ef\u7528\uff0c \u6240\u4ee5\u5bf9\u8c61\u5b58\u50a8\u7684\u6570\u636e\u4e00\u81f4\u6027\u4e0d\u5f3a\u3002\u5982\u679c\u5bf9\u5f3a\u4e00\u81f4\u6027\u6709\u8981\u6c42\uff0c\u90a3\u4e48\u53ef\u4ee5\u4f7f\u7528NAS.\u76ee\u524d\u5728\u4e91\u8ba1\u7b97\u73af\u5883\u4e0b\uff0cNAS\u548c\u5bf9\u8c61\u5b58\u50a8\u662f\u5171\u5b58\u7684\u5173\u7cfb\u3002<\/p>\n \n\t\u548cNAS\u4e00\u6837\uff0c\u5bf9\u8c61\u5b58\u50a8\u4e5f\u662f\u8f6f\u4ef6\u67b6\u6784\uff0c\u4e0d\u662f\u786c\u4ef6\u67b6\u6784\u3002\u5e94\u7528\u76f4\u63a5\u901a\u8fc7REST API<\/u>\u6765\u8bbf\u95ee\u5bf9\u8c61\u5b58\u50a8\u3002\u5e38\u7528\u7684\u5bf9\u8c61\u5b58\u50a8\u5305\u62ec\uff1aAmazon\u7684S3\u548cOpenStack\u7684Swift.<\/p>\n \n\t\u7ed3\u8bed<\/p>\n \n\t\u5728\u5b9e\u9645\u7684\u4e91\u5e73\u53f0\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u6839\u636e\u81ea\u5df1\u7684\u5b9e\u9645\u60c5\u51b5\u6765\u5408\u7406\u8fd0\u7528\u4e0d\u540c\u7684\u865a\u62df\u5316\u5b58\u50a8\u6280\u672f\u3002<\/p>\n \n\t\u5bf9\u4e8e\u975e\u7ed3\u6784\u5316\u7684\u9759\u6001\u6570\u636e\u6587\u4ef6\uff0c\u5982\u97f3\u89c6\u9891\u3001\u56fe\u7247\u7b49\uff0c\u6211\u4eec\u4e00\u822c\u4f7f\u7528\u5bf9\u8c61\u5b58\u50a8\u3002<\/p>\n \n\t\u5bf9\u4e8e\u7cfb\u7edf\u955c\u50cf\u4ee5\u53ca\u5e94\u7528\u7a0b\u5e8f\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u4e91\u4e3b\u673a\u5b9e\u4f8b\u5b58\u50a8\u6216\u8005\u5377\u5b58\u50a8\u3002<\/p>\n \n\t\u5bf9\u4e8e\u5e94\u7528\u4ea7\u751f\u7684\u52a8\u6001\u6570\u636e\uff0c\u6211\u4eec\u4e00\u822c\u8fd8\u9700\u8981\u5229\u7528\u4e91\u6570\u636e\u5e93<\/u>\u6765\u5bf9\u6570\u636e\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u865a\u62df\u5316\u6539\u53d8\u4e86\u8ba1\u7b97\u673a\u4f7f\u7528\u5b58\u50a8\u7684\u65b9\u5f0f\u3002\u5c31\u50cf\u7269\u7406\u673a\u5668\u62bd\u8c61\u6210\u865a\u62df\u673a\uff08VM\uff1aVirtual Machine\uff09\u4e00\u6837\uff0c\u7269\u7406\u5b58\u50a8\u8bbe\u5907\u4e5f\u88ab\u62bd\u8c61\u6210\u865a\u62df\u78c1\u76d8\uff08Virtual Disk\uff09\u3002\u4eca\u5929\u6211\u4eec\u5c31\u6765\u804a\u804a\u865a\u62df\u5316\u5b58\u50a8\uff08Storage Vi<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2450"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2450"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2450\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2450"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}