{"id":129,"date":"2017-03-12T17:26:39","date_gmt":"2017-03-12T08:26:39","guid":{"rendered":"https:\/\/dong1lkim.oboki.net\/?p=129"},"modified":"2019-09-01T22:22:07","modified_gmt":"2019-09-01T13:22:07","slug":"filesystem-raid","status":"publish","type":"post","link":"https:\/\/oboki.net\/workspace\/system\/filesystem\/filesystem-raid\/","title":{"rendered":"[Filesystem] RAID"},"content":{"rendered":"<h1>RAID<\/h1>\n<blockquote><p>\n  Redundant Array of Independent Disks or Redundant Array of Inexpensive Disks\n<\/p><\/blockquote>\n<h2>JBOD<\/h2>\n<p>JBOD\ub85c \uad6c\uc131\ub41c \ub514\uc2a4\ud06c\ub294 \ub370\uc774\ud130\ub97c \uc21c\ucc28\uc801\uc73c\ub85c \uc800\uc7a5, Disk1\ubd80\ud130 Disk2, \u2026, Disk5\uc758 \uc21c\uc11c\ub85c \uc800\uc7a5\ud55c\ub2e4. \uacf5\uac04 \ud65c\uc6a9\ub3c4\uac00 100%\uc774\uba70, \ud655\uc7a5\uc774 \uc27d\ub2e4. \uadf8\ub807\uc9c0\ub9cc \uc131\ub2a5 \uac1c\uc120\uc740 \uc5c6\uc73c\uba70, \ub514\uc2a4\ud06c\uac00 1\uac1c\ub77c\ub3c4 \uace0\uc7a5\ub098\uba74 \ubaa8\ub4e0 \ub370\uc774\ud130\uac00 \uc190\uc2e4\ub41c\ub2e4.<\/p>\n<h2>RAID 0<\/h2>\n<p>\ubaa8\ub4e0 \ubcfc\ub968 \ub514\uc2a4\ud06c\uc5d0 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uba70, \uac00\uc7a5 \ube60\ub978 RAID \ubaa8\ub4dc\uc774\ub2e4. \ub514\uc2a4\ud06c \uc14b\uc744 \ucd94\uac00\ud558\ub294 \ub9cc\ud07c \uc18d\ub3c4 \uac1c\uc120\uc774 \uc774\ub8e8\uc5b4\uc9c0\uba70 \uacf5\uac04 \ud65c\uc6a9\ub3c4\ub3c4 100%\uc774\uc9c0\ub9cc JBOD\uc640 \ub9c8\ucc2c\uac00\uc9c0\ub85c \ub514\uc2a4\ud06c\uac00 1\uac1c\ub77c\ub3c4 \uace0\uc7a5\ub098\uba74 \ubaa8\ub4e0 \ub370\uc774\ud130\uac00 \uc190\uc2e4\ub41c\ub2e4.<\/p>\n<h2>RAID 1<\/h2>\n<p>\ud55c \uac1c\uc758 \ub514\uc2a4\ud06c \uc14b\uc774 \uace0\uc7a5\ub098\ub354\ub77c\ub3c4 \uadf8\ub798\ub3c4 \ub370\uc774\ud130\uac00 \ubcf5\uc0ac\ub41c \ub2e4\ub978 \ub514\uc2a4\ud06c \uc14b\uc5d0 \ub370\uc774\ud130\uac00 \ub0a8\uc544\uc788\uc73c\ubbc0\ub85c \uc6b0\uc218\ud55c \ub370\uc774\ud130 \ubcf4\uc548\uc744 \uc81c\uacf5\ud55c\ub2e4. \uacf5\uac04 \ud65c\uc6a9\ub3c4\uac00 50%\uc774\uba70 \uc131\ub2a5 \uac1c\uc120\uc740 \uc5c6\ub2e4.<\/p>\n<h2>RAID 5<\/h2>\n<p>\ucd5c\uc18c 3 \uac1c\uc758 \ub514\uc2a4\ud06c\uac00 \ud544\uc694\ud558\uba70, \uc804\uccb4 \ub514\uc2a4\ud06c \uc911 \ud55c \uc138\ud2b8\uc758 \ub514\uc2a4\ud06c\ub294 \ud328\ub9ac\ud2f0 \ube14\ub85d\uc73c\ub85c \ud65c\uc6a9\ud55c\ub2e4.(\uc9dd\uc218 \ud328\ub9ac\ud2f0 or \ud640\uc218 \ud328\ub9ac\ud2f0) \uacf5\uac04 \ud65c\uc6a9\ub3c4\ub294 (N-1)\/N*100 \ub9cc\ud07c\uc758 \uacf5\uac04\uc744 \ud65c\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, N-1\ubc30\uc758 \uc131\ub2a5 \uac1c\uc120\uc774 \uc774\ub8e8\uc5b4\uc9c4\ub2e4. \ud55c \uac1c\uc758 \ub514\uc2a4\ud06c\uac00 \uace0\uc7a5\ub09c \uacbd\uc6b0 \ub370\uc774\ud130\ub97c \ubcf5\uad6c\ud560 \uc218 \uc788\uc73c\uba70, \ub450 \uac1c \uc774\uc0c1\uc758 \ub514\uc2a4\ud06c\uac00 \uace0\uc7a5\ub09c\ub2e4\uba74 \ubcf5\uad6c\ud558\uc9c0 \ubabb\ud55c\ub2e4.<\/p>\n<h3>RAID 5 \uad6c\uc131 \ud574\ubcf4\uae30<\/h3>\n<h4>1. \ucd94\uac00 \ub514\uc2a4\ud06c \ud3ec\ub9f7 \ud6c4 Linux raid auto\ub85c \uc138\ud305<\/h4>\n<pre><code class=\"bash\">$ fdisk \/dev\/[diskname]\nn,p,1, , ,t,fd,w\n<\/code><\/pre>\n<h4>2. mdadm<\/h4>\n<pre><code class=\"bash\">$ mdadm \u2013create \/dev\/[raidname] \u2013level=[#] \u2013raid-devices=[# of devices] [\/dev\/\u2026] * # of devices\n<\/code><\/pre>\n<h4>3. \ub3d9\uc791 \ud655\uc778<\/h4>\n<pre><code class=\"bash\">$ mdadm \u2013detail \/dev\/[raidname]\n<\/code><\/pre>\n<h4>4. \ud3ec\ub9f7 &amp; \ub9c8\uc6b4\ud2b8<\/h4>\n<pre><code class=\"bash\">$ mkfs.ext4 \/dev\/[raidname]\n$ mkdir \/[raidname]\n$ mount \/dev\/[raidname] \/[raidname]\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>RAID Redundant Array of Independent Disks or Redundant Array of Inexpensive Disks JBOD JBOD\ub85c \uad6c\uc131\ub41c \ub514\uc2a4\ud06c\ub294 \ub370\uc774\ud130\ub97c \uc21c\ucc28\uc801\uc73c\ub85c \uc800\uc7a5, Disk1\ubd80\ud130 Disk2, \u2026, Disk5\uc758 \uc21c\uc11c\ub85c \uc800\uc7a5\ud55c\ub2e4. \uacf5\uac04 \ud65c\uc6a9\ub3c4\uac00 100%\uc774\uba70, \ud655\uc7a5\uc774 \uc27d\ub2e4. \uadf8\ub807\uc9c0\ub9cc \uc131\ub2a5 \uac1c\uc120\uc740 \uc5c6\uc73c\uba70, \ub514\uc2a4\ud06c\uac00 1\uac1c\ub77c\ub3c4 \uace0\uc7a5\ub098\uba74 \ubaa8\ub4e0 \ub370\uc774\ud130\uac00 \uc190\uc2e4\ub41c\ub2e4. RAID 0 \ubaa8\ub4e0 \ubcfc\ub968 \ub514\uc2a4\ud06c\uc5d0 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uba70, \uac00\uc7a5 \ube60\ub978 RAID \ubaa8\ub4dc\uc774\ub2e4. \ub514\uc2a4\ud06c \uc14b\uc744 \ucd94\uac00\ud558\ub294 \ub9cc\ud07c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[132],"class_list":["post-129","post","type-post","status-publish","format-standard","hentry","category-filesystem","tag-filesystem"],"_links":{"self":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/comments?post=129"}],"version-history":[{"count":4,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":1328,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/posts\/129\/revisions\/1328"}],"wp:attachment":[{"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/media?parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/categories?post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oboki.net\/workspace\/wp-json\/wp\/v2\/tags?post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}