{"id":557,"date":"2021-02-26T17:01:57","date_gmt":"2021-02-26T08:01:57","guid":{"rendered":"http:\/\/www.opentone.co.jp\/ot-lab\/?p=557"},"modified":"2025-05-12T10:06:21","modified_gmt":"2025-05-12T01:06:21","slug":"%e5%bf%83%e9%85%8d%e6%80%a7%e3%81%aa%e4%ba%ba%e3%81%ae%e7%82%ba%e3%81%ae%e3%82%bd%e3%83%95%e3%83%88raid%e5%b0%8e%e5%85%a5","status":"publish","type":"post","link":"https:\/\/www.opentone.co.jp\/ot-lab\/all\/web-system\/%e5%bf%83%e9%85%8d%e6%80%a7%e3%81%aa%e4%ba%ba%e3%81%ae%e7%82%ba%e3%81%ae%e3%82%bd%e3%83%95%e3%83%88raid%e5%b0%8e%e5%85%a5","title":{"rendered":"\u5fc3\u914d\u6027\u306a\u4eba\u306e\u70ba\u306e\u30bd\u30d5\u30c8RAID\u5c0e\u5165"},"content":{"rendered":"\n<p>\u3053\u3093\u306b\u3061\u306f\u3002nemoto\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u753b\u50cf\u3092\u6574\u7406\u3057\u3066\u3044\u305f\u3089\u3001\u6570\u5e74\u524d\u3068\u6bd4\u3079\u3066\uff11\u679a\u3042\u305f\u308a\u306e\u5bb9\u91cf\u304c\u968f\u5206\u5897\u3048\u305f\u306a\u3041\u3068\u601d\u3044\u307e\u305b\u3093\uff1f<br>\u307f\u306a\u3055\u3093\u3082\u5927\u4e8b\u306a\u753b\u50cf\u30fb\u52d5\u753b\u306a\u3069\u3001\u3082\u3057\u3082\u306e\u30c8\u30e9\u30d6\u30eb\u3092\u8003\u3048\u3001DVD\u3001\u81ea\u5b85\u30b5\u30fc\u30d0\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30ec\u30fc\u30b8\u306a\u3069\u306e\u5197\u9577\u3092\u7528\u3044\u3066\u904b\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n<p>\u3067\u3082\u5fc3\u914d\u6027\u306a\u3042\u306a\u305f\u3002<br>\u305d\u306e\u74b0\u5883\u306b\u969c\u5bb3\u304c\u3042\u3063\u305f\u3089\u3069\u3046\u3057\u3088\u3046\uff1f\u3068\u304b\u8003\u3048\u305f\u308a\u3057\u307e\u305b\u3093\u304b\uff1f<\/p>\n\n\n\n<p>\u305d\u3093\u306a\u3053\u3068\u3092\u8003\u3048\u305f\u79c1\u3082RAID\u3067\u5197\u9577\u6027\u306e\u5411\u4e0a\u3082\u8003\u3048\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u4eca\u65e5\u306fLinux\uff08CentOS\uff09\u4e0a\u306b\u3001mdadm\u3092\u7528\u3044\u305f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u306eRAID\u69cb\u7bc9\u306b\u3064\u3044\u3066\u3067\u3059\u3002<br>\u307e\u305f\u3001\u5b9f\u9a13\u7684\u306b\u5b9f\u65bd\u3059\u308b\u306e\u3067USB\u30e1\u30e2\u30ea\u3092\u7528\u3044\u3066RAID\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002\uff08USB3\u672c\u3067RAID5\uff09<\/p>\n\n\n\n<p><strong>\uff11\uff0emdadm\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br>\u81ea\u8eab\u306e\u74b0\u5883\u306bmdadm\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[bash]\n# yum install mdadm\n[\/bash]<\/pre>\n\n\n\n<p><strong>\uff12\uff0eRAID\u7528\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9<\/strong><br>RAID\u69cb\u7bc9\u7528\u306eUSB\u3092\u63a5\u7d9a\u3057\u3001\u5bfe\u8c61\u30c7\u30d0\u30a4\u30b9\u306bRAID\u7528\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30bf\u30a4\u30d7\uff08Linux raid autodetect\uff09\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u5bfe\u8c61\u3068\u306a\u308bUSB\u306f sdb \/ sdc \/ sdd \u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u8a2d\u5b9a\u3057\u305f\u7d50\u679c\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[bash]\n# fdisk -l \/dev\/sdb\n\nDisk \/dev\/sdb: 7743 MB, 7743995904 bytes\n239 heads, 62 sectors\/track, 1020 cylinders\nUnits = cylinders of 14818 * 512 = 7586816 bytes\n\nDevice Boot &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks &nbsp;&nbsp;Id &nbsp;System\n\/dev\/sdb1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1020 &nbsp;&nbsp;&nbsp;&nbsp;7557149 &nbsp;&nbsp;&nbsp;5 &nbsp;Extended\n\/dev\/sdb5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1020 &nbsp;&nbsp;&nbsp;&nbsp;7557118 &nbsp;&nbsp;fd &nbsp;Linux raid autodetect\n[\/bash]<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">[bash]\n# fdisk -l \/dev\/sdc\n\nDisk \/dev\/sdc: 7743 MB, 7743995904 bytes\n239 heads, 62 sectors\/track, 1020 cylinders\nUnits = cylinders of 14818 * 512 = 7586816 bytes\n\nDevice Boot &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks &nbsp;&nbsp;Id &nbsp;System\n\/dev\/sdc1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1020 &nbsp;&nbsp;&nbsp;&nbsp;7557149 &nbsp;&nbsp;&nbsp;5 &nbsp;Extended\n\/dev\/sdc5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1020 &nbsp;&nbsp;&nbsp;&nbsp;7557118 &nbsp;&nbsp;fd &nbsp;Linux raid autodetect\n[\/bash]<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">[bash]\n# fdisk -l \/dev\/sdd\n\nDisk \/dev\/sdd: 7743 MB, 7743995904 bytes\n239 heads, 62 sectors\/track, 1020 cylinders\nUnits = cylinders of 14818 * 512 = 7586816 bytes\n\nDevice Boot &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks &nbsp;&nbsp;Id &nbsp;System\n\/dev\/sdd1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1020 &nbsp;&nbsp;&nbsp;&nbsp;7557149 &nbsp;&nbsp;&nbsp;5 &nbsp;Extended\n\/dev\/sdd5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1020 &nbsp;&nbsp;&nbsp;&nbsp;7557118 &nbsp;&nbsp;fd &nbsp;Linux raid autodetect\n[\/bash]<\/pre>\n\n\n\n<p>\u53c2\u8003\u307e\u3067\u306b\u4e0a\u8a18\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u624b\u9806\u306f\u4ee5\u4e0b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[bash]\n# fdisk \/dev\/sdb\n\nCommand (m for help): n\nCommand action\ne &nbsp;&nbsp;extended\np &nbsp;&nbsp;primary partition (1-4)\ne\nPartition number (1-4): 1\nFirst cylinder (1-1020, default 1):\nUsing default value 1\nLast cylinder or +size or +sizeM or +sizeK (1-1020, default 1020):\nUsing default value 1020\n\nCommand (m for help): n\nCommand action\nl &nbsp;&nbsp;logical (5 or over)\np &nbsp;&nbsp;primary partition (1-4)\nl\nFirst cylinder (1-1020, default 1):\nUsing default value 1\nLast cylinder or +size or +sizeM or +sizeK (1-1020, default 1020):\nUsing default value 1020\n\nCommand (m for help): t\nPartition number (1-5): 5\nHex code (type L to list codes): fd\nChanged system type of partition 5 to fd (Linux raid autodetect)\n\nCommand (m for help): w\n[\/bash]<\/pre>\n\n\n\n<p><strong>\uff13\uff0eRAID\u30a2\u30ec\u30a4\u306e\u4f5c\u6210\u3068\u521d\u671f\u5316<\/strong><br>RAID\u30a2\u30ec\u30a4\u306e\u4f5c\u6210\u3068\u306f\u3001\u8907\u6570\u306e\u30c7\u30d0\u30a4\u30b9\u3092\uff11\u3064\u306e\u30c7\u30d0\u30a4\u30b9\u3068\u3057\u3066\u8a8d\u8b58\u3055\u305b\u308b\u305f\u3081\u306b\u884c\u3044\u307e\u3059\u3002<br>\u4eca\u56de\u306f\/dev\/md0\u3068\u3044\u3046\u540d\u524d\u3067RAID5\u3092\u6307\u5b9a\u3057\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[bash]\n# mdadm -C \/dev\/md0 -l5 -n3 \/dev\/sdb5 \/dev\/sdc5 \/dev\/sdd5\nmdadm: array \/dev\/md0 started.\n[\/bash]<\/pre>\n\n\n\n<p>RAID\u30a2\u30ec\u30a4\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3089\u3001\u6b21\u306bRAID\u30a2\u30ec\u30a4\u3092\u5229\u7528\u3059\u308b\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30bf\u30a4\u30d7\u3067\u521d\u671f\u5316\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0ext3\u3067\u521d\u671f\u5316\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[bash]\n# mke2fs -j \/dev\/md0\nmke2fs 1.39 (29-May-2006)\nFilesystem label=\nOS type: Linux\nBlock size=4096 (log=2)\nFragment size=4096 (log=2)\n1889408 inodes, 3778496 blocks\n188924 blocks (5.00%) reserved for the super user\nFirst data block=0\nMaximum filesystem blocks=3871342592\n116 block groups\n32768 blocks per group, 32768 fragments per group\n16288 inodes per group\nSuperblock backups stored on blocks:\n32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208Writing inode tables: done\nCreating journal (32768 blocks): done\nWriting superblocks and filesystem accounting information: done\n\nThis filesystem will be automatically checked every 24 mounts or\n180 days, whichever comes first. &nbsp;Use tune2fs -c or -i to override.\n[\/bash]<\/pre>\n\n\n\n<p><strong>\uff14\uff0e\u30de\u30a6\u30f3\u30c8<\/strong><br>\u3042\u3068\u306f\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[bash]\n# mkdir \/raid\n# mount \/dev\/md0 \/raid\/\n[\/bash]<\/pre>\n\n\n\n<p>\u3055\u3066\u30de\u30a6\u30f3\u30c8\u3057\u305f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[bash]\n# df -h | grep \/dev\/md0\n\/dev\/md0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;15G &nbsp;165M &nbsp;&nbsp;14G &nbsp;&nbsp;2% \/raid\n[\/bash]<\/pre>\n\n\n\n<p>\u5b9f\u969b\u306b\u7528\u610f\u3057\u305f\u30c7\u30d0\u30a4\u30b9\uff08USB\uff09\u306f\u7d04\uff18G\u30b5\u30a4\u30ba\u307b\u3069\u306eUSB\u3092\uff13\u3064\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5b9f\u969b\u306b\u6709\u52b9\u306a\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30b5\u30a4\u30ba\u306f\uff12\uff0f\uff13\u306e\u30b5\u30a4\u30ba\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br>\u3053\u308c\u306fRAID\u30a2\u30ec\u30a4\u3092RAID5\u3067\u69cb\u7bc9\u3057\u305f\u3053\u3068\u3067\u3001\uff11\uff0f\uff13\u306e\u5bb9\u91cf\u3092\u30d1\u30ea\u30c6\u30a3\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u70ba\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3054\u89a7\u306e\u3068\u304a\u308a\u3001\u69cb\u7bc9\u307e\u3067\u306e\u624b\u9806\u306f\u3055\u307b\u3069\u96e3\u3057\u304f\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>\u6b21\u56de\u306f\u3001\u969c\u5bb3\u6642\u306e\u30ea\u30ab\u30d0\u30ea\u65b9\u6cd5\u306b\u3064\u3044\u3066\u66f8\u3053\u3046\u304b\u306a\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u306f\u307e\u305f\u3002<\/p>\n<div class=\"opent-_2\" style=\"margin-top: 10px;margin-right: 10px;margin-bottom: 10px;margin-left: 10px;\" id=\"opent-1347677387\"><a href=\"https:\/\/www.opentone.co.jp\/backlog\/\" aria-label=\"twitter_backlogskt_new\"><img src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new.jpg\" alt=\"\"  srcset=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new.jpg 1024w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new-300x157.jpg 300w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new-768x401.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" width=\"384\" height=\"200\"   \/><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002nemoto\u3067\u3059\u3002 \u753b\u50cf\u3092\u6574\u7406\u3057\u3066\u3044\u305f\u3089\u3001\u6570\u5e74\u524d\u3068\u6bd4\u3079\u3066\uff11\u679a\u3042\u305f\u308a\u306e\u5bb9\u91cf\u304c\u968f\u5206\u5897\u3048\u305f\u306a\u3041<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[28],"tags":[8],"class_list":["post-557","post","type-post","status-publish","format-standard","hentry","category-web-system","tag-blog",""],"acf":[],"aioseo_notices":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"engage-mag-carousel-img":false,"engage-mag-carousel-img-landscape":false,"engage-mag-carousel-large-img":false,"engage-mag-carousel-large-img-landscape":false,"engage-mag-large-thumb":false,"engage-mag-small-thumb":false},"uagb_author_info":{"display_name":"ah106rx4o4","author_link":"https:\/\/www.opentone.co.jp\/ot-lab\/author\/ah106rx4o4"},"uagb_comment_info":0,"uagb_excerpt":"\u3053\u3093\u306b\u3061\u306f\u3002nemoto\u3067\u3059\u3002 \u753b\u50cf\u3092\u6574\u7406\u3057\u3066\u3044\u305f\u3089\u3001\u6570\u5e74\u524d\u3068\u6bd4\u3079\u3066\uff11\u679a\u3042\u305f\u308a\u306e\u5bb9\u91cf\u304c\u968f\u5206\u5897\u3048\u305f\u306a\u3041","_links":{"self":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/comments?post=557"}],"version-history":[{"count":1,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/557\/revisions"}],"predecessor-version":[{"id":558,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/557\/revisions\/558"}],"wp:attachment":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/media?parent=557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/categories?post=557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/tags?post=557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}