<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>www.annoying.dk &#187; raid</title>
	<atom:link href="http://www.annoying.dk/category/raid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.annoying.dk</link>
	<description>yet another useless blog</description>
	<lastBuildDate>Wed, 14 Apr 2010 09:00:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MDADM screwup</title>
		<link>http://www.annoying.dk/2008/08/26/mdadm-screwup/</link>
		<comments>http://www.annoying.dk/2008/08/26/mdadm-screwup/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 12:31:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=31</guid>
		<description><![CDATA[heres a few errors mdadm might give you, which might not be as easy to find an explanation for.(might just be me) root@xxxx:~# mdadm &#8211;add /dev/md1 /dev/sdj mdadm: add new device failed for /dev/sdj as 2: Invalid argument and from syslog Aug 18 11:35:23 xxxx kernel: [ 3419.147467] md: sdj does not have a valid [...]]]></description>
			<content:encoded><![CDATA[<p>heres a few errors mdadm might give you, which might not be as easy to find an explanation for.(might just be me)</p>
<p><span id="more-31"></span></p>
<p><strong>root@xxxx:~# mdadm &#8211;add /dev/md1 /dev/sdj<br />
mdadm: add new device failed for /dev/sdj as 2: Invalid argument</strong></p>
<p>and from syslog</p>
<p><strong>Aug 18 11:35:23 xxxx kernel: [ 3419.147467] md: sdj does not have a valid v0.90 superblock, not importing!<br />
Aug 18 11:35:23 xxxx kernel: [ 3419.147472] md: md_import_device returned -22</strong></p>
<p>to make a way to long, lame story short, i will post a few notes to self.</p>
<p>1) DO NOT EXPECT YOU CAN CREATE A 2-DISKS RAID-5 ARRAY A AND EXPAND IT LATER</p>
<p>2) DO NOT EXPECT YOU CAN CREATE A 3-DISK RAID-5 ARRAY WITH 1-MISSING DISK AND ADD IT LATER</p>
<p>ydadada, yes, im aware of it, you need at minimum 3 disks. dont ask me why i even tried, but mdadm DIDN&#8217;T complain at all, it just created it.</p>
<blockquote>
<p style="text-align: left;">root@xxx:~# mdadm &#8211;detail /dev/md1<br />
/dev/md1:<br />
Version : 00.90.03<br />
Creation Time : Sun Aug 17 18:52:55 2008<br />
<strong>Raid Level : raid5</strong><br />
Array Size : 976759936 (931.51 GiB 1000.20 GB)<br />
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)<br />
<strong> Raid Devices : 2<br />
Total Devices : 2</strong><br />
Preferred Minor : 1<br />
Persistence : Superblock is persistent</p>
<p>Update Time : Mon Aug 18 11:23:27 2008<br />
<strong>State : clean</strong><br />
<strong>Active Devices : 2</strong><br />
<strong>Working Devices : 2</strong><br />
Failed Devices : 0<br />
Spare Devices : 0</p>
<p>Layout : left-symmetric<br />
Chunk Size : 64K</p>
<p>UUID : e1962bdb:72c36721:46188f91:72750c0f (local to host xxxx)<br />
Events : 0.4</p>
<p>NumberÂ Â  MajorÂ Â  MinorÂ Â  RaidDevice State<br />
<strong> 0Â Â Â Â Â Â  8Â Â Â Â Â Â Â  1Â Â Â Â Â Â Â  0Â Â Â Â Â  active syncÂ Â  /dev/sda1<br />
1Â Â Â Â Â Â  8Â Â Â Â Â Â  17Â Â Â Â Â Â Â  1Â Â Â Â Â  active syncÂ Â  /dev/sdb1</strong></p>
<p style="text-align: left;">
</blockquote>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2008/08/26/mdadm-screwup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
