{"id":1886,"date":"2013-06-02T23:55:17","date_gmt":"2013-06-02T14:55:17","guid":{"rendered":"http:\/\/blog.kourin.org\/blog\/?p=1886"},"modified":"2013-06-03T11:20:12","modified_gmt":"2013-06-03T02:20:12","slug":"%e5%85%89%e8%bc%aa%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%aeraid%e3%81%8c%e3%81%b6%e3%81%a3%e5%a3%8a%e3%82%8c%e3%81%9f","status":"publish","type":"post","link":"http:\/\/blog.kourin.org\/blog\/?p=1886","title":{"rendered":"\u5149\u8f2a\u30b5\u30fc\u30d0\u30fc\u306eRAID\u304c\u3076\u3063\u58ca\u308c\u305f&#8230;"},"content":{"rendered":"<p>\u5b9f\u306f\u7d50\u69cb\u524d\u304b\u3089\u5197\u9577\u5316\u5916\u308c\u3066\u305f\u3093\u3067\u3059\u304c\u3001<br \/>\n\u3053\u306e\u305f\u3073\u3061\u3087\u3063\u304f\u3089\u30c7\u30a3\u30b9\u30af\u3092\u4ea4\u63db\u3057\u3066\u307f\u305f\u306e\u3067\u30e1\u30e2\u304c\u3066\u3089&#8230;<\/p>\n<p>\u4f5c\u696d\u306f\u30b3\u30c1\u30e9\u3092\u53c2\u8003\u306b\u5b9f\u65bd<br \/>\n<a href=\"http:\/\/centossrv.com\/centos5-raid-3.shtml\" target=\"_blank\">http:\/\/centossrv.com\/centos5-raid-3.shtml<\/a><\/p>\n<p>\u5f53\u521d\u306f\u58ca\u308c\u305fDisk\u3092\u5dee\u3057\u63db\u3048\u3066\u5f8c\u306f\u30ea\u30e2\u30fc\u30c8\u3067&#8230;<br \/>\n\u3068\u601d\u3063\u3066\u3044\u305f\u3093\u3067\u3059\u304c\u3001\u3061\u3087\u3063\u304f\u3089\u518d\u8d77\u52d5\u3057\u3066\u307f\u308b\u3068\u9a5a\u304d\u306e\u65b0\u4e8b\u5b9f \ud83d\ude2f<\/p>\n<p>\u30fb\u30fb\u30fb\u30df\u30e9\u30fc\u5074\uff08\u6b63\u5e38\u306a\u65b9\uff09\u304b\u3089\u8d77\u52d5\u3067\u304d\u306a\u3044\u3058\u3083\u3093\uff08\u7206\u6b7b\uff09<br \/>\n\u306a\u3093\u304bgrub\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u304a\u304b\u3057\u304b\u3063\u305f\u3093\u3060\u308d\u3046\u304b\u3001<br \/>\n\u30d7\u30e9\u30a4\u30de\u30ea\u5074\uff08\u58ca\u308c\u305f\u65b9\uff09\u304b\u3089\u8d77\u52d5\u3057\u3066\u30df\u30e9\u30fc\u5074\u306b\u5207\u308a\u66ff\u308f\u308b<br \/>\n\u307f\u305f\u3044\u306a\u52d5\u304d\u3067\u8f9b\u3046\u3058\u3066\u7a3c\u50cd\u3057\u3066\u3044\u305f\u3089\u3057\u3044&#8230;\u6050\u308d\u3057\u3084 \ud83d\ude10<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u6545\u969c\u3057\u305f\u30c7\u30a3\u30b9\u30af\u306b\u623b\u3057\u3066OS\u3092\u8d77\u52d5\u306e\u5f8c\u3001<br \/>\n\u4e0a\u8a18URL\u306b\u3082\u3042\u308b\u3001grub setup\u4e91\u3005\u3092\u5b9f\u65bd\u3002<br \/>\n\u58ca\u308c\u305f\u30c7\u30a3\u30b9\u30af\u3092\u629c\u3044\u3066\u3001\u30df\u30e9\u30fc\u5074\u5358\u72ec\u8d77\u52d5\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u65b0\u3057\u3044\u30c7\u30a3\u30b9\u30af\u3092\u633f\u5165\u30fc\u266a<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u5207\u308b\u306e\u3067\u3001\u6b63\u5e38\u306a\u30c7\u30a3\u30b9\u30af\u3092\u53c2\u7167&#8230;<br \/>\n<span style=\"font-size: x-small;\"><strong># <span style=\"background-color: #999999;\">fdisk -l \/dev\/sda<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-size: x-small;\"><strong>\u30c7\u30a3\u30b9\u30af \/dev\/sda: 500.1 GB, 500107862016 \u30d0\u30a4\u30c8<br \/>\n\u30d8\u30c3\u30c9 255, \u30bb\u30af\u30bf 63, \u30b7\u30ea\u30f3\u30c0 60801 Units = \u30b7\u30ea\u30f3\u30c0\u6570 of 16065 * 512 = 8225280 \u30d0\u30a4\u30c8<br \/>\n\u30bb\u30af\u30bf\u30b5\u30a4\u30ba (\u8ad6\u7406 \/ \u7269\u7406): 512 \u30d0\u30a4\u30c8 \/ 512 \u30d0\u30a4\u30c8<br \/>\n<\/strong><strong>I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes<br \/>\n<\/strong><strong>\u30c7\u30a3\u30b9\u30af\u8b58\u5225\u5b50: 0x000cfb83<\/strong><\/span><\/p>\n<p><span style=\"font-size: x-small;\"><strong>\u30c7\u30d0\u30a4\u30b9 \u30d6\u30fc\u30c8\u00a0\u00a0\u00a0\u00a0\u00a0 \u59cb\u70b9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u7d42\u70b9\u00a0\u00a0\u00a0\u00a0 \u30d6\u30ed\u30c3\u30af\u00a0\u00a0 Id\u00a0 \u30b7\u30b9\u30c6\u30e0<br \/>\n\/dev\/sda1\u00a0\u00a0 *\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 131\u00a0\u00a0\u00a0\u00a0 1048576\u00a0\u00a0 fd\u00a0 Linux raid \u81ea\u52d5\u691c\u51fa<br \/>\n\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3 1 \u306f\u3001\u30b7\u30ea\u30f3\u30c0\u5883\u754c\u3067\u7d42\u308f\u3063\u3066\u3044\u307e\u305b\u3093\u3002<br \/>\n\/dev\/sda2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 131\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 60797\u00a0\u00a0 487301120\u00a0\u00a0 fd\u00a0 Linux raid \u81ea\u52d5\u691c\u51fa<\/strong><\/span><\/p>\n<p>\u30fb\u30fb\u30fb\u7d42\u70b9\u3068\u59cb\u70b9\u304c\u4e00\u7dd2\u304b\u3088\u3001<br \/>\n\u65b0\u3057\u3044\u30c7\u30a3\u30b9\u30af\u5074\u306b\u540c\u3058\u3088\u3046\u306b\u5207\u308d\u3046\u3068\u3057\u3066\u3082132\u30b9\u30bf\u30fc\u30c8\u306b\u306a\u3063\u3061\u3083\u3045\u306e\u3067\u3068\u308a\u3042\u3048\u305a1\u500b\u30b9\u30e9\u30a4\u30c9\u3055\u305b\u3066\u4f5c\u6210&#8230;<br \/>\n\/proc\/mdstat\u3092\u898b\u308b\u9650\u308a\u3067\u306f\u3001\u4e0d\u826f\u306e\u30c7\u30a3\u30b9\u30af\u306f\u65e2\u306b\u30a8\u30f3\u30c8\u30ea\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u3042\u3068\u306fmdadm\u30b3\u30de\u30f3\u30c9\u3067\u65b0\u3057\u3044\u30c7\u30a3\u30b9\u30af\u3092add\u3059\u308b\u3060\u3051&#8230; \u306a\u3093\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u554f\u984c\u767a\u751f\uff01<\/p>\n<p><strong><span style=\"font-size: x-small;\">#\u00a0mdadm \/dev\/md0 &#8211;add \/dev\/sdb1<\/span><\/strong><br \/>\n<strong><span style=\"font-size: x-small;\">mdadm: Cannot open \/dev\/sdb1: Device or resource busy<\/span><\/strong><\/p>\n<p>\u306a\u3093\u304b\u3001\u5fd9\u3057\u3044\u3063\u3066\u30fc\uff1f<br \/>\n\u3067\u3082\u3001dd\u30b3\u30de\u30f3\u30c9\u3068\u304b\u666e\u901a\u306b\u4f7f\u3048\u308b\u3057\u306a\u3093\u3060\u308d\u30fc\u3068\u601d\u3044\u306a\u304c\u3089\u3082\/dev\/sdb\u306bfuser\u3092\u3057\u3066\u307f\u308b\u3068&#8230;<br \/>\n\u3069\u3046\u3082\u3001multipathd\u304c\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306b\u5b58\u5728\u3057\u306a\u3044\u65b0\u3057\u3044\u30c7\u30a3\u30b9\u30af\u306a\u306e\u3067\u3001\u30de\u30eb\u30c1\u30d1\u30b9\u30c7\u30d0\u30a4\u30b9\u3060\u3068\u8a8d\u8b58\u3057\u3066\u30ac\u30c3\u30c4\u30ea\u3064\u304b\u3093\u3067\u3044\u308b\u3057\u3089\u3044&#8230;<\/p>\n<p>multipath -ll \u30b3\u30de\u30f3\u30c9\u3067\u3001\u578b\u756a\u3092\u30b3\u30d4\u30fc\u3057\u3001\/etc\/multipath.conf \u306b\u4f8b\u5916\u3068\u3057\u3066\u8ffd\u8a18<br \/>\nservice multipathd reload \u3067\u675f\u7e1b\u304b\u3089\u89e3\u653e\u3055\u308c\u307e\u3057\u305f&#8230;. \ud83d\ude1b<\/p>\n<p>\u3042\u3068\u306f\u901a\u5e38\u901a\u308aadd\u3057\u3066\u3001grub\u3084\u3063\u3066&#8230;\u7d42\u4e86\uff01<br \/>\n\u4ea4\u63db\u3057\u305f\u30c7\u30a3\u30b9\u30af\u5074\u304b\u3089\u306e\u8d77\u52d5\u78ba\u8a8d\u306f\u3067\u304d\u3066\u3044\u306a\u3044\uff01\uff01<br \/>\n\uff08\u3042\u3068\u3001\u6b63\u5e38\u306a\u30c7\u30a3\u30b9\u30af\u306f500GB\u3060\u304c\u3001\u4ea4\u63db\u3057\u305f\u30c7\u30a3\u30b9\u30af\u306f1TB\u3060\u52ff\u4f53\u306d\u30fc\uff01\uff01\uff01\uff09<\/p>\n<p>[rakuten]pc-idea:10001917[\/rakuten]<br \/>\n[rakuten]auc-fullspec:10000081[\/rakuten]<br \/>\n[rakuten]auc-fullspec:10000080[\/rakuten]<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9f\u306f\u7d50\u69cb\u524d\u304b\u3089\u5197\u9577\u5316\u5916\u308c\u3066\u305f\u3093\u3067\u3059\u304c\u3001 \u3053\u306e\u305f\u3073\u3061\u3087\u3063\u304f\u3089\u30c7\u30a3\u30b9\u30af\u3092\u4ea4\u63db\u3057\u3066\u307f\u305f\u306e\u3067\u30e1\u30e2\u304c\u3066\u3089&#8230; \u4f5c\u696d\u306f\u30b3\u30c1\u30e9\u3092\u53c2\u8003\u306b\u5b9f\u65bd http:\/\/centossrv.com\/centos5-raid-3.shtml \u5f53\u521d\u306f\u58ca\u308c\u305fDisk\u3092\u5dee\u3057\u63db\u3048\u3066\u5f8c\u306f\u30ea\u30e2\u30fc\u30c8\u3067&#8230; \u3068\u601d\u3063\u3066\u3044\u305f\u3093\u3067\u3059\u304c\u3001\u3061\u3087\u3063\u304f\u3089\u518d\u8d77\u52d5\u3057\u3066\u307f\u308b\u3068\u9a5a\u304d\u306e\u65b0\u4e8b\u5b9f \ud83d\ude2f \u30fb\u30fb\u30fb\u30df\u30e9\u30fc\u5074\uff08\u6b63\u5e38\u306a\u65b9\uff09\u304b\u3089\u8d77\u52d5\u3067\u304d\u306a\u3044\u3058\u3083\u3093\uff08\u7206\u6b7b\uff09 \u306a\u3093\u304bgrub\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u304a\u304b\u3057\u304b\u3063\u305f\u3093\u3060\u308d\u3046\u304b\u3001 \u30d7\u30e9\u30a4\u30de\u30ea\u5074\uff08\u58ca\u308c\u305f\u65b9\uff09\u304b\u3089\u8d77\u52d5\u3057\u3066\u30df\u30e9\u30fc\u5074\u306b\u5207\u308a\u66ff\u308f\u308b \u307f\u305f\u3044\u306a\u52d5\u304d\u3067\u8f9b\u3046\u3058\u3066\u7a3c\u50cd\u3057\u3066\u3044\u305f\u3089\u3057\u3044&#8230;\u6050\u308d\u3057\u3084 \ud83d\ude10 \u3068\u308a\u3042\u3048\u305a\u3001\u6545\u969c\u3057\u305f\u30c7\u30a3\u30b9\u30af\u306b\u623b\u3057\u3066OS\u3092\u8d77\u52d5\u306e\u5f8c\u3001 \u4e0a\u8a18URL\u306b\u3082\u3042\u308b\u3001grub setup\u4e91\u3005\u3092\u5b9f\u65bd\u3002 \u58ca\u308c\u305f\u30c7\u30a3\u30b9\u30af\u3092\u629c\u3044\u3066\u3001\u30df\u30e9\u30fc\u5074\u5358\u72ec\u8d77\u52d5\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u65b0\u3057\u3044\u30c7\u30a3\u30b9\u30af\u3092\u633f\u5165\u30fc\u266a \u3068\u308a\u3042\u3048\u305a\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u5207\u308b\u306e\u3067\u3001\u6b63\u5e38\u306a\u30c7\u30a3\u30b9\u30af\u3092\u53c2\u7167&#8230; # fdisk -l \/dev\/sda \u30c7\u30a3\u30b9\u30af \/dev\/sda: 500.1 GB, 500107862016 \u30d0\u30a4\u30c8 \u30d8\u30c3\u30c9 255, \u30bb\u30af\u30bf 63, \u30b7\u30ea\u30f3\u30c0 60801 Units = \u30b7\u30ea\u30f3\u30c0\u6570 of 16065 * 512 = 8225280 \u30d0\u30a4\u30c8 \u30bb\u30af\u30bf\u30b5\u30a4\u30ba (\u8ad6\u7406 \/ \u7269\u7406): 512 \u30d0\u30a4\u30c8 \/ 512 \u30d0\u30a4\u30c8 I\/O size (minimum\/optimal): [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,16,9,3],"tags":[737,1413,736,151,738,735],"class_list":["post-1886","post","type-post","status-publish","format-standard","hentry","category-linux","category-digital","category-trub","category-kourin","tag-grub","tag-linux","tag-mdadm","tag-raid","tag-738","tag-735"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1886"}],"collection":[{"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1886"}],"version-history":[{"count":2,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1886\/revisions"}],"predecessor-version":[{"id":1888,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1886\/revisions\/1888"}],"wp:attachment":[{"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1886"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.kourin.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}