{"id":272,"date":"2018-03-13T10:10:39","date_gmt":"2018-03-13T02:10:39","guid":{"rendered":"http:\/\/www.max-shu.com\/blog\/?p=272"},"modified":"2018-03-13T10:10:39","modified_gmt":"2018-03-13T02:10:39","slug":"%e4%bd%bf%e7%94%a8openfiler%e6%9d%a5%e5%81%9aiscsi-target%e8%ae%be%e5%a4%87","status":"publish","type":"post","link":"http:\/\/www.max-shu.com\/blog\/?p=272","title":{"rendered":"\u4f7f\u7528OpenFiler\u6765\u505aiSCSI target\u8bbe\u5907"},"content":{"rendered":"<p>openfiler\u7528\u6765\u505a\u5b58\u50a8\uff0c\u6700\u7a81\u51fa\u7684\u53ef\u4ee5\u7528\u6765\u505aiSCSI\u7684target\u3002<\/p>\n<p>\u4e0b\u8f7dopenfileresa-2.99.1-x86_64-disc1.iso<br \/>\n\u672c\u8eab\u5c31\u662f\u5e26\u6709\u4e00\u4e2a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u76f4\u63a5\u5b89\u88c5linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u65b9\u5f0f\u5b89\u88c5\u5373\u53ef\u3002\u5b89\u88c5\u4e2d\u5206\u533a\u65f6\u9ed8\u8ba4\u5c31\u884c\uff0c\u5176\u4e2d\u4f1a\u4fdd\u7559\u5927\u90e8\u5206\u786c\u76d8\u4f5c\u4e3afree\u90e8\u5206\u4e0d\u5206\u914d\uff0c\u540e\u9762\u4f7f\u7528web\u65b9\u5f0f\u6765\u5206\u914d\u548c\u4f7f\u7528\u3002<\/p>\n<p>\u4f7f\u7528\uff1a<br \/>\n\u901a\u8fc7web\u754c\u9762\u6765\u914d\u7f6e\u548c\u4f7f\u7528\uff0c\u5730\u5740\uff1a<br \/>\nhttps:\/\/OPENFILER_IP:446\/<br \/>\n\u7528\u6237\u540d\/\u5bc6\u7801\uff1aopenfiler\/password<\/p>\n<p>\u8fdb\u5165\u540e\u9700\u8981\u5728System tab\u9875\u91cc\u9762\u7684Network Access Configuration\u4f4d\u7f6e\u5904\u52a0\u5165\u5916\u90e8\u53ef\u4ee5\u8bbf\u95ee\u8be5\u673a\u5668\u7684IP\u5730\u5740\uff0c\u5426\u5219\u522b\u7684\u673a\u5668\u65e0\u6cd5\u8ddf\u8be5\u673a\u5668\u901a\u4fe1\u3002<\/p>\n<p>\u63a5\u7740\u8fdb\u5165Volumes tab\u9875\u91cc\u9762\u53f3\u4fa7\u7684\u201cVolume Groups\u201d\u83dc\u5355\uff0c\u5efa\u7acb\u9700\u8981\u7528\u5230\u7684\u5377\uff0c\u5728\u8fdb\u5165\u201cEdit partitions in \/dev\/sda\u201d\u8fd9\u91cc\u65f6\uff0c\u6574\u4e2aweb\u9875\u9762\u8981\u5f80\u4e0b\u62c9\u624d\u80fd\u770b\u5230\u786c\u76d8\u7684free\u90e8\u5206\u3002\u5efa\u7acbPV\u7684\u65f6\u5019\u6709\u53ef\u80fd\u9700\u8981\u628a\u5f00\u59cb\u4f4d\u7f6e\u52a0\u59275G\u5de6\u53f3\uff0c\u628a\u7ed3\u675f\u4f4d\u7f6e\u51cf\u5c0f5G\u5de6\u53f3\uff0c\u5426\u5219\u53ef\u80fd\u4e0d\u80fd\u5efa\u7acb\uff0c\u800c\u4e14\u4e0d\u51fa\u9519\u3002<br \/>\n\u6309\u7167\u6b65\u9aa4\u5efa\u7acbPV\u3001VG\u3002\u8fd9\u91cc\u7684PV\/VG\u6982\u5ff5\u548clinux\u91cc\u9762\u7684\u4e00\u6837\u3002<\/p>\n<p>\u8bbe\u7f6e\u6587\u4ef6\u7cfb\u7edf\u4e3aiSCSI<br \/>\n\u8fdb\u5165Volumes tab\u9875\u91cc\u9762\u53f3\u4fa7\u7684\u201cAdd Volume\u201d\u83dc\u5355\uff0c\u9009\u62e9VG\uff0c\u5efa\u7acbvolume\u3002\u5176\u4e2d\u201cRequired Space (MB)\u201d\u548c\u201cFilesystem \/ Volume type\u201d\u6839\u636e\u9700\u8981\u9009\u62e9\uff08\u6bd4\u5982iscsi\u5c31\u8981\u9009\u62e9\u201cblock(iSCSI,FC,etc)\u201d\uff09\uff0c\u4e00\u4e2aVG\u53ef\u4ee5\u5efa\u7acb\u591a\u4e2avolume\u3002<br \/>\n\u8fdb\u5165Services tab\u9875\u91cc\u9762\u628a\u201ciSCSI Target\u201d\u670d\u52a1Enabled\uff0c\u5e76\u4e14Start\u8d77\u6765\u3002<br \/>\n\u8fdb\u5165Volumes tab\u9875\u91cc\u9762\u53f3\u4fa7\u7684\u201ciSCSI Targets\u201d\u83dc\u5355\uff0c\u4ece\u201cTarget Configuration\u201d\uff08\u6ce8\u610f\u8fd9\u91cc\u9762\u7684\u201cMaxconnections\u201d\u610f\u601d\u662f\u4e00\u4e2ainitiator\u53ea\u6709\u4e00\u4e2a\u8fde\u63a5\u5230\u8fd9\u4e2atarget\uff0c\u4f46\u662f\u4e0d\u9650\u5236\u6709\u591a\u5c11\u4e2ainitiator\u6765\u8fde\u63a5\uff09\u5230\u201cCHAP Authentication\u201d\u5f00\u59cb\u4e00\u6b65\u4e00\u6b65\u5f80\u4e0b\u8d70\u3002\u6ce8\u610f\u5728\u201cTarget Configuration\u201d\u91cc\u9762\u9009\u62e9\u7684\u201cSelect iSCSI Target\u201d\u4f1a\u4e00\u76f4\u4f5c\u7528\u5230\u201cCHAP Authentication\u201d\u3002<\/p>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u4f9b\u5916\u9762\u4f7f\u7528\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>openfiler\u7528\u6765\u505a\u5b58\u50a8\uff0c\u6700\u7a81\u51fa\u7684\u53ef\u4ee5\u7528\u6765\u505aiSCSI\u7684target\u3002 \u4e0b\u8f7dopenfileresa-2. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[208,206,205,207],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-linuxandroid","tag-initiator","tag-iscsi","tag-openfiler","tag-target"],"views":1558,"_links":{"self":[{"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=272"}],"version-history":[{"count":1,"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":273,"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/272\/revisions\/273"}],"wp:attachment":[{"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.max-shu.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}