{"id":13,"date":"2010-08-30T21:44:43","date_gmt":"2010-08-30T19:44:43","guid":{"rendered":"http:\/\/blog.philippgoecke.de\/?p=13"},"modified":"2013-04-04T06:45:12","modified_gmt":"2013-04-04T04:45:12","slug":"13","status":"publish","type":"post","link":"https:\/\/stls.eu\/blog\/2010\/08\/30\/13\/","title":{"rendered":"mdadm Software Raid"},"content":{"rendered":"<p>Kaputte Platte entfernen:<\/p>\n<pre class=\"brush:shell\">mdadm \/dev\/md0 --remove \/dev\/sda1<\/pre>\n<p>Neue Platte rein und Partionierung Syncen:<\/p>\n<pre class=\"brush:shell\">sfdisk -d \/dev\/sdb | sfdisk \/dev\/sda<\/pre>\n<p>Platte Raid hinzuf\u00fcgen:<\/p>\n<pre class=\"brush:shell\">mdadm \/dev\/md0 --add \/dev\/sda1<\/pre>\n<p>Raid sync verschnellern:<\/p>\n<pre class=\"brush:shell\">echo 100000 &gt;\/proc\/sys\/dev\/raid\/speed_limit_min<\/pre>\n<p>Raid1 spare Platten aktivieren:<\/p>\n<pre class=\"brush:shell\">mdadm --grow --raid-devices=3 \/dev\/md0<\/pre>\n<p>Festplatteninfo anzeigen:<\/p>\n<pre class=\"brush:shell\">hdparm -I \/dev\/sd*<\/pre>\n<p>Raid resync DELAYED<\/p>\n<pre>echo idle > \/sys\/block\/md0\/md\/sync_action<\/pre>\n<p>Raid md0 auf Konsistenz pr\u00fcfen<\/p>\n<pre>echo check > \/sys\/block\/md0\/md\/sync_action<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Kaputte Platte entfernen: mdadm \/dev\/md0 &#8211;remove \/dev\/sda1 Neue Platte rein und Partionierung Syncen: sfdisk -d \/dev\/sdb | sfdisk \/dev\/sda Platte Raid hinzuf\u00fcgen: mdadm \/dev\/md0 &#8211;add \/dev\/sda1 Raid sync verschnellern: echo 100000 &gt;\/proc\/sys\/dev\/raid\/speed_limit_min Raid1 spare Platten aktivieren: mdadm &#8211;grow &#8211;raid-devices=3 \/dev\/md0 &hellip; <a href=\"https:\/\/stls.eu\/blog\/2010\/08\/30\/13\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[5,6,7],"class_list":["post-13","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux-2","tag-mdadm","tag-raid"],"_links":{"self":[{"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/posts\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":8,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"predecessor-version":[{"id":674,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions\/674"}],"wp:attachment":[{"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}