<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>AndrewsBlog</title>
	
	<link>http://andrewsblog.org</link>
	<description>Stories of an ex-erasmus student</description>
	<lastBuildDate>Sun, 21 Feb 2010 11:22:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/andrews_blog" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="andrews_blog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>A review HTTP Live Streaming</title>
		<link>http://andrewsblog.org/2010/01/25/a-review-http-live-streaming/</link>
		<comments>http://andrewsblog.org/2010/01/25/a-review-http-live-streaming/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 21:28:57 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/?p=65</guid>
		<description><![CDATA[I wrote a paper about Apple&#8217;s new HTTP Live Streaming specification/protocol. You can browse it on issuu.com or read the pdf. 
Those of you who want a shorter introduction: the presentation is available on issuu.com, as a pdf or as a quicktime video with transitions.  
In the paper I describe what HTTP Live Streaming [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a paper about Apple&#8217;s new HTTP Live Streaming specification/protocol. You can browse it <a href="http://issuu.com/andruby/docs/http_live_streaming?viewMode=magazine&#038;mode=embed">on issuu.com</a> or <a href="http://andrewsblog.org/a_review_of_http_live_streaming.pdf">read the pdf</a>. </p>
<p>Those of you who want a shorter introduction: the presentation is available <a href="http://issuu.com/andruby/docs/http_live_streaming_presentatino?viewMode=presentation&#038;mode=embed">on issuu.com</a>, <a href="http://andrewsblog.org/http_live_streaming_presentation.pdf">as a pdf</a> or <a href="http://andrewsblog.org/http_live_streaming_presentation.mov">as a quicktime video with transitions</a>. <img src='http://andrewsblog.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>In the paper I describe what HTTP Live Streaming is, fairly technically, and why it is a great step forward. I compare the new technology with the industry incumbent RTP/RTSP protocol and Adobe&#8217;s proprietary Flash Media Streaming, popularized by <a href="http://www.youtube.com">YouTube.com</a>. </p>
<p>As a teaser: here&#8217;s a graph of the client CPU Load on a MacBook when viewing the same video clip:<br />
<img align="center" style="border: none" src="http://img.skitch.com/20100125-eeqnam2npuey29jjhf9kw6yifh.png" alt="Average Client CPU Load: HTTP Live Streaming vs RTP/RTSP vs Flash Media" /></p>
<p>But I have to warn you, the paper is probably a bit too technical for the casual reader.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2010/01/25/a-review-http-live-streaming/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://andrewsblog.org/http_live_streaming_presentation.mov" length="3915145" type="video/quicktime" />
		</item>
		<item>
		<title>An Erlang implementation of lists:seq for floats</title>
		<link>http://andrewsblog.org/2009/11/24/an-erlang-implementation-of-listsseq-for-floats/</link>
		<comments>http://andrewsblog.org/2009/11/24/an-erlang-implementation-of-listsseq-for-floats/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 00:10:36 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/?p=60</guid>
		<description><![CDATA[If you want to use lists:seq/3 with floats you will notice that the standard implementation only works with integers. So I wrote a quick &#038; dirty way to do it with floats.

You can use it just like you would use lists:seq/3

If anybody has a better implementation I would love to see it.
]]></description>
			<content:encoded><![CDATA[<p>If you want to use lists:seq/3 with floats you will notice that the standard implementation only works with integers. So I wrote a quick &#038; dirty way to do it with floats.<br />
<script src="http://gist.github.com/241489.js?file=my_lib.erl"></script><br />
You can use it just like you would use lists:seq/3<br />
<script src="http://gist.github.com/241489.js?file=gistfile1.hrl"></script><br />
If anybody has a better implementation I would love to see it.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2009/11/24/an-erlang-implementation-of-listsseq-for-floats/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Autonomy, mastery and purpose</title>
		<link>http://andrewsblog.org/2009/08/29/autonomy-mastery-and-purpose/</link>
		<comments>http://andrewsblog.org/2009/08/29/autonomy-mastery-and-purpose/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 08:34:48 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/?p=53</guid>
		<description><![CDATA[Take a look at what Dan Pink has to say about traditional management and why in most cases today the &#8220;reward and punishment&#8221; model for motivating people is outdated. Carrots and sticks don&#8217;t help creative thinking, giving people autonomy does. When people are intrinsically motivated they will flourish at doing creative, non linear work. 

The [...]]]></description>
			<content:encoded><![CDATA[<p>Take a look at what Dan Pink has to say about traditional management and why in most cases today the &#8220;reward and punishment&#8221; model for motivating people is outdated. Carrots and sticks don&#8217;t help creative thinking, giving people autonomy does. When people are intrinsically motivated they will flourish at doing creative, non linear work. </p>
<p><object width="446" height="326"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param><param name="flashvars" value="vu=http://video.ted.com/talks/embed/DanielPink_2009G-embed_high.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/DanielPink-2009G.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=618" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="446" height="326" allowFullScreen="true" flashvars="vu=http://video.ted.com/talks/embed/DanielPink_2009G-embed_high.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/DanielPink-2009G.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=618"></embed></object></p>
<p>The final case he makes proves it all.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2009/08/29/autonomy-mastery-and-purpose/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Credit Crisis</title>
		<link>http://andrewsblog.org/2009/02/27/the-credit-crisis/</link>
		<comments>http://andrewsblog.org/2009/02/27/the-credit-crisis/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 17:53:33 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/2009/02/27/the-credit-crisis/</guid>
		<description><![CDATA[I stumbled upon this great visualization that explains the credit crisis. 
If you wonder how all of this could have happened, watch the video below. It might go a bit fast sometimes, but I found it really interesting and a nice summary.
The Crisis of Credit Visualized from Jonathan Jarvis on Vimeo.
Best viewed in full screen [...]]]></description>
			<content:encoded><![CDATA[<p>I stumbled upon this great visualization that explains the credit crisis. </p>
<p>If you wonder how all of this could have happened, watch the video below. It might go a bit fast sometimes, but I found it really interesting and a nice summary.</p>
<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3261363&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3261363&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object><br /><a href="http://vimeo.com/3261363">The Crisis of Credit Visualized</a> from <a href="http://vimeo.com/jonathanjarvis">Jonathan Jarvis</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Best viewed in full screen in HD (on Vimeo).</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2009/02/27/the-credit-crisis/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Partition Recovery and Virus removing</title>
		<link>http://andrewsblog.org/2009/02/27/partition-recovery-and-virus-removing/</link>
		<comments>http://andrewsblog.org/2009/02/27/partition-recovery-and-virus-removing/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 15:58:38 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/2009/02/27/partition-recovery-and-virus-removing/</guid>
		<description><![CDATA[If you ever find that some partitions are missing on your Windows PC, try using Active Partition Recovery. It saved my ass two times already.
Today I booted my bloody windows box and 3 partitions were missing, and I had a pretty bad Virus infection. Booting windows in safe mode i could remove the entries made [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever find that some partitions are missing on your Windows PC, try using <a href="http://www.partition-recovery.com/" title="Active@ Partition Recovery. Recover Deleted Partition. Undelete NTFS &#038; FAT partitions.">Active Partition Recovery</a>. It saved my ass two times already.</p>
<p>Today I booted my bloody windows box and 3 partitions were missing, and I had a pretty bad <a href="http://www.threatexpert.com/report.aspx?md5=93d1e90733f8f936ef1f292f104389da" title="ThreatExpert Report: Trojan-GameThief.Win32.Magania.avlc, PWS-Gamania.gen.g, Worm:Win32/Taterf.B..">Virus infection</a>. Booting windows in safe mode i could remove the entries made to my system from the trojan and scan the systems folders for more trojans with ClamWin open source anti-virus software.</p>
<p>Problem 2 was a bit easier as I had already dealt with &#8216;deleted&#8217; partitions before. Booting from the floppy and searching for the missing partitions was not too hard. </p>
<p>After two hours of misery, the machine is working again. I swear this is the last Windows box I&#8217;ll ever buy. I&#8217;ll probably replace it with a MacMini when the new version comes out.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2009/02/27/partition-recovery-and-virus-removing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Student Syndrome</title>
		<link>http://andrewsblog.org/2009/01/16/student-syndrome/</link>
		<comments>http://andrewsblog.org/2009/01/16/student-syndrome/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 22:07:25 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/?p=50</guid>
		<description><![CDATA[Why projects fail to meet the deadline:

The Wikipedia entry explains why this &#8220;Student Syndrome&#8221; is a good thing   :

	The student syndrome is defended by a layman&#8217;s understanding of the functioning of the human memory, most notably the concept that a person&#8217;s short-term memory fades over time, and thus studying at the last possible [...]]]></description>
			<content:encoded><![CDATA[<p>Why projects fail to meet the deadline:</p>
<p><center><img src="http://andrewsblog.org/wp-content/uploads/2009/01/student_syndrome.jpg" alt="Why activities run late." title="Student Syndrome" width="396" height="281" class="aligncenter size-full wp-image-49" /></center></p>
<p>The Wikipedia <a href="http://en.wikipedia.org/wiki/Student_syndrome">entry</a> explains why this &#8220;Student Syndrome&#8221; is a good thing <img src='http://andrewsblog.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  :</p>
<blockquote cite="Wikipedia"><p>
	<em>The student syndrome is defended by a layman&#8217;s understanding of the functioning of the human memory, most notably the concept that a person&#8217;s short-term memory fades over time, and thus <strong>studying at the last possible moment leads to better results</strong> than studying early because more of the material will be remembered during the exam.</em><br />
	<span style="float: right"><strong><em><small>Wikipedia</small></em></strong></span>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2009/01/16/student-syndrome/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>F1Time Tool – Sinatra App</title>
		<link>http://andrewsblog.org/2008/12/21/f1time-tool-sinatra-app/</link>
		<comments>http://andrewsblog.org/2008/12/21/f1time-tool-sinatra-app/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 15:20:48 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[f1time]]></category>
		<category><![CDATA[sinatra]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/2008/12/21/f1time-tool-sinatra-app/</guid>
		<description><![CDATA[I&#8217;ve been playing an online F1 manager game for a couple of weeks. F1Time is a manager simulation game with great depth and the right level of complexity. I like it.
I wrote a small tool to extract laptime data from the race reports so it can be easily analyzed in MS Excel. I wrote it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing an online F1 manager game for a couple of weeks. <a href="http://www.f1time.com">F1Time</a> is a manager simulation game with great depth and the right level of complexity. I like it.</p>
<p>I wrote <a href="http://f1tools.andrewsblog.org">a small tool</a> to extract laptime data from the race reports so it can be easily analyzed in MS Excel. I wrote it as a Sinatra webapp. <a href="http://sinatra.rubyforge.org/">Sinatra</a> is a Ruby DSL for writing small webapps with a minimum amount of code. This tool was written in <a href="http://github.com/andruby/f1time-tools/tree/master/sinatra_app.rb">35 lines of code</a>.</p>
<p>It&#8217;s open source, so you can view (or fork) the sourcecode on <a href="http://github.com/andruby/f1time-tools" title="andruby's f1time-tools on GitHub">github</a>.</p>
<p><strong>F1Time managers:</strong> You can simply copy &amp; paste the html code of your race report <a href="http://f1tools.andrewsblog.org">HERE</a>, and it will generate a table that you can copy/paste into Excel. (to get the html code from the race report: right click and click &#8220;View page source&#8221;)</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2008/12/21/f1time-tool-sinatra-app/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Job opportunities for a graduate business engineer.</title>
		<link>http://andrewsblog.org/2008/11/18/job-fair-and-cv-online/</link>
		<comments>http://andrewsblog.org/2008/11/18/job-fair-and-cv-online/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 19:07:38 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[accenture]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[delhaize]]></category>
		<category><![CDATA[hudson]]></category>
		<category><![CDATA[job opportunities]]></category>
		<category><![CDATA[management]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/?p=47</guid>
		<description><![CDATA[Today we had a job fair at our university. Many companies gave short presentations to introduce themselves and talked about what job offers they have and why we should apply for them. It&#8217;s a nice PR event where you get to know employees and the companies they work for. Some companies, like Accenture and Hudson, [...]]]></description>
			<content:encoded><![CDATA[<p>Today we had a job fair at our university. Many companies gave short presentations to introduce themselves and talked about what job offers they have and why we should apply for them. It&#8217;s a nice PR event where you get to know employees and the companies they work for. Some companies, like Accenture and Hudson, really impressed me. Accenture fosters innovation and creativity, and seems to invest a lot in developing the skills of it&#8217;s employees. Their focus towards technology sparked my interest. Hudson on the other hand seems to be an ideal place for people with international ambitions. They match job offers with resumes over the whole world.</p>
<p>But even Delhaize attracted quite a lot of interest from fellow students who are looking for more traditional management work. Apparently you can apply for the position of store manager after an internship of only 18 months. This job is way to narrow minded for me though.</p>
<p>I found it a bit disappointing that there were so many tax &#038; auditing firms present, yet so little innovation &#038; technology driven businesses. The companies I would love to work for would be Apple, IDEO, Intel and I guess Accenture too. If I haven&#8217;t founded my own start-up by then <img src='http://andrewsblog.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  .</p>
<p>At any rate, I&#8217;ve put <a onclick="javascript:urchinTracker (’/downloads/mijn_cv’);" href="/cv_andrew_fecheyr_lippens.pdf">my resume online</a> for anyone who is interested. </p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2008/11/18/job-fair-and-cv-online/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The future of user interfaces</title>
		<link>http://andrewsblog.org/2008/11/16/the-future-of-user-interfaces/</link>
		<comments>http://andrewsblog.org/2008/11/16/the-future-of-user-interfaces/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 18:04:12 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[minority report]]></category>
		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/?p=45</guid>
		<description><![CDATA[John Underkoffler, a technical advisor for Minority Report, worked on the 3D computersystem for the 2002 Spielberg movie. Today he is the head researcher for Oblong Industries, a company that develops a &#8220;spacial operating environment&#8221; named g-speak. Take a look for yourself:

(click on the full screen button on the lower right of the movie player)

If [...]]]></description>
			<content:encoded><![CDATA[<p>John Underkoffler, a technical advisor for Minority Report, worked on the 3D computersystem for the 2002 Spielberg movie. Today he is the head researcher for Oblong Industries, a company that develops a &#8220;spacial operating environment&#8221; named g-speak. Take a look for yourself:</p>
<p align="center">
<object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2229299&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2229299&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object><br/><small><em>(click on the full screen button on the lower right of the movie player)</em></small>
</p>
<p>If this is how future user interfaces will look like, i want one!</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2008/11/16/the-future-of-user-interfaces/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mounting a Linux software raid array with lvm</title>
		<link>http://andrewsblog.org/2008/11/16/mounting-a-linux-software-raid-array-lvm/</link>
		<comments>http://andrewsblog.org/2008/11/16/mounting-a-linux-software-raid-array-lvm/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 16:44:59 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://andrewsblog.org/?p=46</guid>
		<description><![CDATA[I recently had a hard drive crash on my home Linux NAS box. The important files were on a software raid 5 array, but the root filesystem (with the majority of the OS) were on a separate IDE hard drive. 
Only the IDE drive crashed so my important files were safe, but I needed to [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a hard drive crash on my home Linux <a href="http://en.wikipedia.org/wiki/Network-attached_storage" target="_blank" title="Network-attached storage - Wikipedia">NAS</a> box. The important files were on a software raid 5 array, but the root filesystem (with the majority of the OS) were on a separate IDE hard drive. </p>
<p>Only the IDE drive crashed so my important files were safe, but I needed to remount the raid array. It took me quite a while before I got that right, so I&#8217;ll share my knowledge here for you. Here are the commands needed to reconstruct / remount a raid array with a Gentoo live cd:<br />
<span id="more-46"></span><br />
load the raid module and lvm driver if you need to:</p>
<p><code># modprobe raid5<br />
# modprobe dm-mod</code></p>
<h4>Find the UUID&#8217;s of the devices</h4>
<p>( you can skip this step if you have a backup of your /etc/mdadm.conf file )</p>
<p><code># mdadm --examine --scan /dev/sda1</code></p>
<p>Where /dev/sda1 points to one of the partitions used for the raid array. The output looks like this on my box: </p>
<p><code>ARRAY /dev/md1 level=raid5 num-devices=4 UUID=94366f38:ccdadda0:06f85cb1:f1263d52</code></p>
<p>copy it to /etc/mdadm.conf</p>
<p><code># mdadm --examine --scan /dev/sda1 >> /etc/mdadm.conf</code></p>
<p>Now we need to add a list of devices to mdadm.conf of where to look for member disks:<br/><br />
(manually add this to mdadm.conf, the devices i had to add where /dev/sda1 to /dev/sdd1)</p>
<p><code>DEVICE /dev/sd[abcd]1</code></p>
<p>At the end that leaves us with this in our mdadm.conf file:</p>
<p><code>DEVICE /dev/sd[abcd]1<br />
ARRAY /dev/md1 level=raid5 num-devices=4 UUID=94366f38:ccdadda0:06f85cb1:f1263d52</code></p>
<h4>Assemble the raid array</h4>
<p>We make the mirror device node:</p>
<p><code># mknod /dev/md1 b 9 1</code></p>
<p>Assemble the array:</p>
<p><code># mdadm --assemble --scan </code></p>
<p>You can check /proc/mdstat to see if the array is online:</p>
<p><code># cat /proc/mdstat<br />
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]<br />
md1 : active raid5 sda1[0] sdd1[3] sdc1[2] sdb1[1]<br />
      937705728 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]</code></p>
<h4>Activate the logical volumes</h4>
<p><code># vgscan</code></p>
<p>Scans your disk and should show you the Volume Group that was on the raid array and add it to the lvm database</p>
<p><code># vgchange -ay</code></p>
<p>This should activate the volumes and auto create the nodes in /dev</p>
<h4>Mount the filesystems</h4>
<p>I just needed to mount the filesystems just like I would mount a regular one:</p>
<p><code>mount --type ext3 /dev/vg2/var /mnt/gentoo/var</code> </p>
<p>Hope this helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewsblog.org/2008/11/16/mounting-a-linux-software-raid-array-lvm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
