<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.skytech.dk/index.php?action=history&amp;feed=atom&amp;title=Software_raid_-_mdadm</id>
	<title>Software raid - mdadm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.skytech.dk/index.php?action=history&amp;feed=atom&amp;title=Software_raid_-_mdadm"/>
	<link rel="alternate" type="text/html" href="https://wiki.skytech.dk/index.php?title=Software_raid_-_mdadm&amp;action=history"/>
	<updated>2026-07-02T09:34:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://wiki.skytech.dk/index.php?title=Software_raid_-_mdadm&amp;diff=1838&amp;oldid=prev</id>
		<title>Martin: /* Force create a new raid array with no spared (in case of existing data from previos raid) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.skytech.dk/index.php?title=Software_raid_-_mdadm&amp;diff=1838&amp;oldid=prev"/>
		<updated>2012-08-12T09:28:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Force create a new raid array with no spared (in case of existing data from previos raid)&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:28, 12 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Force create a new raid array with no spared (in case of existing data from previos raid) =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Force create a new raid array with no spared (in case of existing data from previos raid) =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Assuming Raid 5 using 3 drives: &amp;#039;&amp;#039;&amp;#039;sda1&amp;#039;&amp;#039;&amp;#039; - &amp;#039;&amp;#039;&amp;#039;sdc1&amp;#039;&amp;#039;&amp;#039; - &amp;#039;&amp;#039;&amp;#039;sdd1&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Assuming Raid 5 using 3 drives: &amp;#039;&amp;#039;&amp;#039;sda1&amp;#039;&amp;#039;&amp;#039; - &amp;#039;&amp;#039;&amp;#039;sdc1&amp;#039;&amp;#039;&amp;#039; - &amp;#039;&amp;#039;&amp;#039;sdd1&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First we overwrite the superblock&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First we overwrite the superblock&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Martin</name></author>
	</entry>
	<entry>
		<id>https://wiki.skytech.dk/index.php?title=Software_raid_-_mdadm&amp;diff=1837&amp;oldid=prev</id>
		<title>Martin: Created page with &quot;Category:Linux  = Force check of a software raid = &lt;pre&gt; echo &quot;check&quot; &gt; /sys/block/md0/md/sync_action &lt;/pre&gt;  = Force create a new raid array with no spared (in case of ex...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.skytech.dk/index.php?title=Software_raid_-_mdadm&amp;diff=1837&amp;oldid=prev"/>
		<updated>2012-08-12T09:27:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/Category:Linux&quot; title=&quot;Category:Linux&quot;&gt;Category:Linux&lt;/a&gt;  = Force check of a software raid = &amp;lt;pre&amp;gt; echo &amp;quot;check&amp;quot; &amp;gt; /sys/block/md0/md/sync_action &amp;lt;/pre&amp;gt;  = Force create a new raid array with no spared (in case of ex...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Linux]]&lt;br /&gt;
&lt;br /&gt;
= Force check of a software raid =&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &amp;quot;check&amp;quot; &amp;gt; /sys/block/md0/md/sync_action&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Force create a new raid array with no spared (in case of existing data from previos raid) =&lt;br /&gt;
Assuming Raid 5 using 3 drives: &amp;#039;&amp;#039;&amp;#039;sda1&amp;#039;&amp;#039;&amp;#039; - &amp;#039;&amp;#039;&amp;#039;sdc1&amp;#039;&amp;#039;&amp;#039; - &amp;#039;&amp;#039;&amp;#039;sdd1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
First we overwrite the superblock&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm --zero-superblock /dev/sd[acd]1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then re-create the array using the --assume-clean&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdadm --create /dev/md1 --assume-clean --verbose --level=5 --raid-devices=3 /dev/sda1 /dev/sdc1 /dev/sdd1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Possible force-check the array if needed with the above.&lt;/div&gt;</summary>
		<author><name>Martin</name></author>
	</entry>
</feed>