{"id":96,"date":"2009-10-03T22:53:58","date_gmt":"2009-10-03T13:53:58","guid":{"rendered":"http:\/\/chidipy.jpn.com\/topics\/?p=96"},"modified":"2009-10-03T22:53:58","modified_gmt":"2009-10-03T13:53:58","slug":"linux%e3%83%9e%e3%83%ab%e3%83%81%e3%83%91%e3%82%b9san%e3%83%96%e3%83%bc%e3%83%88%e3%83%9c%e3%83%aa%e3%83%a5%e3%83%bc%e3%83%a0%e3%82%b3%e3%83%94%e3%83%bc%e7%92%b0%e5%a2%83%e3%81%a7%e3%81%ae%e3%83%aa","status":"publish","type":"post","link":"https:\/\/chidipy.jpn.com\/topics\/?p=96","title":{"rendered":"[linux]\u30de\u30eb\u30c1\u30d1\u30b9SAN\u30d6\u30fc\u30c8+\u30dc\u30ea\u30e5\u30fc\u30e0\u30b3\u30d4\u30fc\u74b0\u5883\u3067\u306e\u30ea\u30b9\u30c8\u30a2\u65b9\u6cd5"},"content":{"rendered":"<p>Linux(RHEL)+\u30de\u30eb\u30c1\u30d1\u30b9SAN\u30d6\u30fc\u30c8+\u30c7\u30a3\u30b9\u30af\u88c5\u7f6e\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u30b3\u30d4\u30fc\u74b0\u5883\u3067\u306e\u30b7\u30b9\u30c6\u30e0\u30ea\u30b9\u30c8\u30a2\u65b9\u6cd5\u3002<br \/>\n\u6700\u8fd1\u3067\u306f\u3001\u30c7\u30a3\u30b9\u30af\u88c5\u7f6e\u306e\u6a5f\u80fd\u3068\u3057\u3066\u6301\u3063\u3066\u3044\u308b\u3001\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u4e38\u3054\u3068\u30b3\u30d4\u30fc\u3059\u308b\u6a5f\u80fd\u3092\u5229\u7528\u3057\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u5f97\u3059\u308b\u306e\u304c\u3001\u304a\u624b\u8efd\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u3057\u3066\u6d41\u884c\u3063\u3066\u3044\u308b\u6a21\u69d8\u3002<br \/>\n\u3053\u308c\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u30b3\u30d4\u30fc\u5143\u306e\u30c7\u30a3\u30b9\u30af\u304c\u3064\u3076\u308c\u305f\u5834\u5408\u3001\u30b3\u30d4\u30fc\u5148\u306e\u30c7\u30a3\u30b9\u30af\u3092\u30db\u30b9\u30c8\u306b\u898b\u305b\u308b\u3088\u3046\u306b\u3059\u308b\u3060\u3051\u3067\uff08\u30d7\u30ec\u30bc\u30f3\u30c8\u3084\u3089\u30de\u30c3\u30d4\u30f3\u30b0\u3084\u3089\u30de\u30b9\u30ad\u30f3\u30b0\u3084\u3089\u30fb\u30fb\u30fb\uff09\u30ea\u30b9\u30c8\u30a2\u3067\u304d\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u304c\u3001LInux\uff0b\u30de\u30eb\u30c1\u30d1\u30b9SAN\u30d6\u30fc\u30c8\u74b0\u5883\u3060\u3068\u7c21\u5358\u306b\u306f\u3044\u304b\u306a\u3044\u3002<br \/>\n\u305d\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u4ee5\u4e0b\u306b\u793a\u3059\u3002<br \/>\n\u203b\u30c7\u30a3\u30b9\u30af\u88c5\u7f6e\u306fHP MSA\u3092\u60f3\u5b9a<br \/>\n<span style=\"color: #ff0000;size:8pt;\">\u203b\u3053\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u65b9\u6cd5\u306f\u3001\u696d\u52d9\u3092\u505c\u6b62\u3059\u308b\u3053\u3068\u306a\u304f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u5f97\u3067\u304d\u308b\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b\u3001\u3068\u30e1\u30fc\u30ab\u30fc\u306f\u8a00\u3046\u304c\u3001OS\u304c\u4f55\u3057\u3088\u3046\u3068\u304c\u95a2\u4fc2\u306a\u3057\u306b\u3001\u30c7\u30a3\u30b9\u30af\u88c5\u7f6e\u5074\u3067\u52dd\u624b\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3068\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u4e0d\u6574\u5408\u306a\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u72b6\u614b\u3092\u3068\u3063\u3066\u3057\u307e\u3046\u304b\u3082\u3057\u308c\u306a\u3044\u30ea\u30b9\u30af\u304c\u3042\u308b\u3002\uff08\u4f8b\u3048\u3070\u3001\u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u8fbc\u307f\u4e2d\u3068\u304b\u30fb\u30fb\u30fb\uff09<\/span><\/p>\n<hr \/>\n<p>\uff11\uff0e\u30b3\u30d4\u30fc\u5148\u306e\u30c7\u30a3\u30b9\u30af\u3092\u3001\u30db\u30b9\u30c8\u306b\u898b\u305b\u308b\uff08MSA\u306e\u5834\u5408\u306f\u30de\u30c3\u30d4\u30f3\u30b0\uff09\u3002\u3053\u308c\u306f\u5f53\u7136<br \/>\n\uff12\uff0e\u30db\u30b9\u30c8\u3092\u30d6\u30fc\u30c8\u3057\u3066\u307f\u308b\u30fb\u30fb\u30fb\u30fb<br \/>\n\uff13\uff0e\u3059\u308b\u3068initrd\u51e6\u7406\u4e2d\u306b\u30a8\u30e9\u30fc\u306b\u306a\u308a\u3001\u3084\u304c\u3066VG\u306e\u91cd\u8907\u304c\u767a\u751f\u3057\u3001\u30ec\u30b9\u30ad\u30e5\u30fc\u306e\u305f\u3081\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u3066\u505c\u6b62\u3059\u308b<br \/>\n\uff08\u30a8\u30e9\u30fc\u306b\u306a\u308b\u539f\u56e0\u306f\u3001\u30dc\u30ea\u30e5\u30fc\u30e0\u30b3\u30d4\u30fc\u306b\u3088\u308a\u30de\u30eb\u30c1\u30d1\u30b9\u3092\u69cb\u6210\u3059\u308b\u305f\u3081\u306ewwid\u304c\u5b9f\u969b\u306e\u7269\u3068\u7570\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30de\u30eb\u30c1\u30d1\u30b9\u304c\u69cb\u6210\u3067\u304d\u305a\u5168\u30d1\u30b9\u304c\u500b\u5225\u306e\u91cd\u8907\u3057\u305f\u30c7\u30a3\u30b9\u30af\u3068\u3057\u3066\u898b\u3048\u3066\u3057\u307e\u3046\u3002\u30de\u30eb\u30c1\u30d1\u30b9\u306fwwid\u3092\u30d2\u30f3\u30c8\u306b\u540c\u4e00\u30c7\u30a3\u30b9\u30af\u306e\u8907\u6570\u30d1\u30b9\u3092\u63a2\u3057\u51fa\u3059\u3002\uff09<br \/>\n# \u3053\u3053\u3067\u3001\u3042\u304d\u3089\u3081\u308b\u4eba\u304c\u591a\u3044\u306f\u305a\u30fb\u30fb\u30fb<br \/>\n\uff14\uff0eroot\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b<br \/>\n\uff15\uff0e\/boot\u3067\u3042\u308b\u30c7\u30d0\u30a4\u30b9\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\uff08\u4f46\u3057\/boot\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u304c\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u4e0a\u306b\u76f4\u63a5\u4e57\u3063\u3066\u3044\u308b\u3068\u304d\u306e\u307f\u3002LVM\u4e0d\u53ef\uff01\uff09<br \/>\n\u666e\u6bb5\/boot\u304c\/dev\/mapper\/mpath0p1\u306a\u3089\u3001\/dev\/sda1\u3002\uff08sdb1\u3067\u3082sdc1\u3067\u3082sdd1\u3067\u3082\u53ef\u3002\u5b9f\u4f53\u306f\u540c\u3058\uff09<\/p>\n<blockquote><p># mount \/dev\/sda1 \/boot<\/p><\/blockquote>\n<p>\uff16\uff0einitrd\u3092\u5c55\u958b\u3059\u308b<br \/>\n\u3000initrd\u306e\u4e2d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u3044\u304f\u3064\u304b\u7de8\u96c6\u3059\u308b\u306e\u3067\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u5c55\u958b\u3059\u308b\u3002<\/p>\n<blockquote><p># cd \/boot<br \/>\n# cp -p initrd-xxxxx.img initrd-xxxxx.img.bk<br \/>\n# mkdir tmp<br \/>\n# cd tmp<br \/>\n# zcat initrd-xxxxx.img | cpio -i -o<\/p><\/blockquote>\n<p>\uff17\uff0e<strong>\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u306eSCSI\u30b7\u30ea\u30a2\u30eb\u756a\u53f7\uff08wwid\uff09<\/strong>\u3092\u8abf\u3079\u308b<br \/>\n\/dev\/disk\/by-id\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u540d\u306e\u982d\u300cscsi-\u300d\u3092\u524a\u3063\u305f\u3082\u306e\u304c\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u306eSCSI\u30b7\u30ea\u30a2\u30eb\u756a\u53f7\u3002<\/p>\n<blockquote><p># ls \/dev\/disk\/by-id\/<br \/>\nscsi-<span style=\"color: #ff0000;\"><strong>1111222233334444aaaabbbbccccdddd<\/strong><\/span><br \/>\nscsi-1111222233334444aaaabbbbccccdddd-part1<br \/>\nscsi-1111222233334444aaaabbbbccccdddd-part2<\/p><\/blockquote>\n<p>\u4e0a\u306e\u8d64\u592a\u5b57\u304cSCSI\u30b7\u30ea\u30a2\u30eb\u756a\u53f7\u3002<br \/>\n\uff18. init\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u306emultipath\u30b3\u30de\u30f3\u30c9\u3067\u6307\u5b9a\u3057\u3066\u3042\u308b<strong>\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u306eSCSI\u30b7\u30ea\u30a2\u30eb\u756a\u53f7\uff08wwid\uff09<\/strong>\u3092\u30b3\u30d4\u30fc\u5148\u30c7\u30a3\u30b9\u30af\u306e\u756a\u53f7\u306b\u66f8\u304d\u63db\u3048\u308b\uff08\u4e0b\u3001\u8d64\u659c\u4f53\u6587\u5b57\u7b87\u6240\uff09\u3002<\/p>\n<blockquote><p># vi init<br \/>\n\uff1a\uff08\u7701\u7565\uff09<br \/>\n\/bin\/multipath -v 0 <span style=\"color: #ff0000;\"><em>1111222233334444aaaabbbbccccdddd<\/em><\/span><br \/>\n\uff1a\uff08\u7701\u7565\uff09<\/p><\/blockquote>\n<p>\uff19\uff0eetc\/multipath.conf\u4e2d\u306e\u4fe1\u983c\u3059\u308b<strong>\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u306eSCSI\u30b7\u30ea\u30a2\u30eb\u756a\u53f7\uff08wwid\uff09<\/strong>\u3092\u65b0\u3057\u3044\u756a\u53f7\u306b\u66f8\u304d\u63db\u3048\u308b\uff08\u4e0b\u3001\u8d64\u659c\u4f53\u6587\u5b57\u7b87\u6240\uff09\u3002<\/p>\n<blockquote><p>vi etc\/multipath.conf<br \/>\nblacklist_exceptions {<br \/>\nwwid &#8220;<span style=\"color: #ff0000;\"><em>1111222233334444aaaabbbbccccdddd<\/em><\/span>&#8221;<br \/>\n}<\/p><\/blockquote>\n<p>\uff11\uff10\uff0evar\/lib\/multipath\/bindings\u30d5\u30a1\u30a4\u30eb\u4e2d\u306e\u30c7\u30d0\u30a4\u30b9\u540d\u30a8\u30a4\u30ea\u30a2\u30b9\u306b\u7d10\u3065\u3051\u308b<strong>\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u306eSCSI\u30b7\u30ea\u30a2\u30eb\u756a\u53f7\uff08wwid\uff09<\/strong>\u3092\u30b3\u30d4\u30fc\u5148\u306e\u756a\u53f7\u306b\u66f8\u304d\u63db\u3048\u308b\uff08\u4e0b\u3001\u8d64\u659c\u4f53\u6587\u5b57\u7b87\u6240\uff09\u3002<\/p>\n<blockquote><p># vi var\/lib\/multipath\/bindings<br \/>\nmpath0 <span style=\"color: #ff0000;\"><em>1111222233334444aaaabbbbccccdddd<\/em><\/span><\/p><\/blockquote>\n<p>\u3000\uff08\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3001wwid:1111222233334444aaaabbbbccccdddd\u306e\u30c7\u30a3\u30b9\u30af\u306fmpath0\u3092\u4f7f\u7528\u3059\u308b\u3068\u5b9a\u7fa9\u3057\u3066\u3044\u308b\uff09<br \/>\n\uff11\uff11\uff0einitrd\u518d\u4f5c\u6210<br \/>\n\u3000\u6b21\u56de\u4ee5\u964d\u306e\u8d77\u52d5\u3067\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u7de8\u96c6\u3057\u305finitrd\u3092\u518d\u4f5c\u6210\uff08\u30a4\u30e1\u30fc\u30b8\u5316\uff09\u3059\u308b\u3002<\/p>\n<blockquote><p># find . | cpio &#8211;quiet -o -c | gzip -c &gt; ..\/initrd-xxxxx.img<\/p><\/blockquote>\n<p>\uff11\uff12\uff0e\u518d\u8d77\u52d5<\/p>\n<blockquote><p># exit<\/p><\/blockquote>\n<p>\u4ee5\u4e0a\u3067\u3001\u3081\u3067\u305f\u304f\u8d77\u52d5\u3067\u304d\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux(RHEL)+\u30de\u30eb\u30c1\u30d1\u30b9SAN\u30d6\u30fc\u30c8+\u30c7\u30a3\u30b9\u30af\u88c5\u7f6e\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u30b3\u30d4\u30fc\u74b0\u5883\u3067\u306e\u30b7\u30b9\u30c6\u30e0\u30ea\u30b9\u30c8\u30a2\u65b9\u6cd5\u3002 \u6700\u8fd1\u3067\u306f\u3001\u30c7\u30a3\u30b9\u30af\u88c5\u7f6e\u306e\u6a5f\u80fd\u3068\u3057\u3066\u6301\u3063\u3066\u3044\u308b\u3001\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u4e38\u3054\u3068\u30b3\u30d4\u30fc\u3059\u308b\u6a5f\u80fd\u3092\u5229\u7528\u3057\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u30d0\u30c3\u30af\u30a2 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/chidipy.jpn.com\/topics\/?p=96\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;[linux]\u30de\u30eb\u30c1\u30d1\u30b9SAN\u30d6\u30fc\u30c8+\u30dc\u30ea\u30e5\u30fc\u30e0\u30b3\u30d4\u30fc\u74b0\u5883\u3067\u306e\u30ea\u30b9\u30c8\u30a2\u65b9\u6cd5&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,18,2],"tags":[52,71],"_links":{"self":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/posts\/96"}],"collection":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=96"}],"version-history":[{"count":0,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/posts\/96\/revisions"}],"wp:attachment":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}