<?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>blog.sonic-lux.net &#187; howto</title>
	<atom:link href="http://blog.sonic-lux.net/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sonic-lux.net</link>
	<description></description>
	<lastBuildDate>Wed, 01 Sep 2010 13:15:33 +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>Linux Software Raid &#8211; Raid5 zu Raid6 reshape</title>
		<link>http://blog.sonic-lux.net/2009/08/30/linux-software-raid-raid5-zu-raid6-reshape/</link>
		<comments>http://blog.sonic-lux.net/2009/08/30/linux-software-raid-raid5-zu-raid6-reshape/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 14:39:10 +0000</pubDate>
		<dc:creator>Sonic Lux</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[privat]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[raid5]]></category>
		<category><![CDATA[raid6]]></category>
		<category><![CDATA[software-raid]]></category>

		<guid isPermaLink="false">http://blog.sonic-lux.net/?p=437</guid>
		<description><![CDATA[Hier eine kleine Software Raid5 zu Raid6 Erfahrung von mir. Dafuer nehmen wir an, wir haben ein Raid5 mit 4 Platten: Software Raid5 unter Linux mit 4 Platten. Angelegt mittels: mdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 Jetzt werde ich zwei Varianten ansprechen: einmal die Vergroesserung eines raid5 um eine Platte und danach [...]]]></description>
			<content:encoded><![CDATA[<p>Hier eine kleine Software Raid5 zu Raid6 Erfahrung von mir. Dafuer nehmen wir an, wir haben ein Raid5 mit 4 Platten:</p>
<p><strong>Software Raid5 unter Linux mit 4 Platten</strong>. Angelegt mittels:</p>
<blockquote>
<pre>mdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1</pre>
</blockquote>
<p>Jetzt werde ich zwei Varianten ansprechen: einmal die Vergroesserung eines raid5 um eine Platte und danach die Umstellung auf Raid6 (dazu wird dann die 2. neue Platte bzw. die 6. Platte eingebunden)</p>
<p><strong>Erweiterung des Raid5</strong> (neue Platte=/dev/sde)</p>
<p>Formatieren der Festplatte und Typ auf Linux Raid Autodetect (fd) wie bekannt.</p>
<p>Neue Festplatte hinzufuegen:</p>
<blockquote>
<pre>mdadm --add /dev/md0 /dev/sde1</pre>
</blockquote>
<p>Raid5 erweitern:</p>
<blockquote>
<pre>mdadm --grow /dev/md0 --raid-devices=5</pre>
</blockquote>
<p>Dateisystem je nach Dateisystem vergroessern &#8230; xfs_growfs etc &#8230;</p>
<p><strong>Umwandlung von Raid5 zu Raid6</strong> (neue Platte=/dev/sdf)</p>
<p>Seit Kernel 2.6.30 kann man Raid5 in Raid6 Umwandeln ohne groesseren Aufwand. Aktuell kann es mdadm noch nicht automatisiert, so dass man noch selbst Hand anlegen muss. Ab Version 3.1 soll mdadm das auch beherschen mittels der &#8211;grow Option.</p>
<p>Als erstes fuegen wir wieder die neue (partitionierte) Platte hinzu:</p>
<blockquote>
<pre>mdadm --add /dev/md0 /dev/sdf1</pre>
</blockquote>
<p>Dann erzwingen wir das neue Raid Level durch Aenderung des Raid Levels durch das /sys filesystems:</p>
<blockquote>
<pre>echo raid6 &gt; /sys/block/md0/md/level</pre>
</blockquote>
<p>Direkt darauf beginnt die Umwandlung in Raid6 und die Erzeugung der der Q-Blocks.</p>
<p><strong>Weitere Infos:</strong></p>
<p>Wer mehr ueber Raid6 lesen will der kann die 2 Papers lesen:</p>
<p><a href="http://blog.sonic-lux.net/wp-content/uploads/2009/08/raid6.pdf">The mathematics of RAID-6</a> (H. Peter Anvin)</p>
<p><a href="http://blog.sonic-lux.net/wp-content/uploads/2009/08/raid6_2.pdf">Intelligent RAID 6 Theory</a> (Intel)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonic-lux.net/2009/08/30/linux-software-raid-raid5-zu-raid6-reshape/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux find und Leerzeichen in Dateinamen</title>
		<link>http://blog.sonic-lux.net/2008/08/26/linux-find-und-leerzeichen-in-dateinamen/</link>
		<comments>http://blog.sonic-lux.net/2008/08/26/linux-find-und-leerzeichen-in-dateinamen/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 12:54:20 +0000</pubDate>
		<dc:creator>Sonic Lux</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.sonic-lux.net/?p=84</guid>
		<description><![CDATA[Heute hatte ich auch ein wiederliches &#8220;Problem. Und zwar eine Schleife mit find, und was bekommt man, jedes mal ein neues result nach einem Leerzeichen im Dateinamen. Nach ewigen rumgemache bin ich dann zum Gkück auf die Seite gekommen: http://www.denkweite.de/&#8230;en-in-dateinamen/trackback/ Lösung ist also die Variable IFS auf einen Zeilenumbruch zu setzen IFS=&#8221; &#8220; danach ging [...]]]></description>
			<content:encoded><![CDATA[<p>Heute hatte ich auch ein wiederliches &#8220;Problem. Und zwar eine Schleife mit find, und was bekommt man, jedes mal ein neues result nach einem Leerzeichen im Dateinamen. Nach ewigen rumgemache bin ich dann zum Gkück auf die Seite gekommen:</p>
<p><a href="http://www.denkweite.de/2008-03-19/linux-find-und-leerzeichen-in-dateinamen/trackback/" target="_blank">http://www.denkweite.de/&#8230;en-in-dateinamen/trackback/</a></p>
<p>Lösung ist also die Variable <strong>IFS</strong> auf einen Zeilenumbruch zu setzen</p>
<blockquote><p>IFS=&#8221;<br />
&#8220;</p></blockquote>
<p>danach ging es dann auch <img src='http://blog.sonic-lux.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonic-lux.net/2008/08/26/linux-find-und-leerzeichen-in-dateinamen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaFonera mit DD-WRT</title>
		<link>http://blog.sonic-lux.net/2008/08/20/lafonera-mit-dd-wrt/</link>
		<comments>http://blog.sonic-lux.net/2008/08/20/lafonera-mit-dd-wrt/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 09:15:25 +0000</pubDate>
		<dc:creator>Sonic Lux</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[fon]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[lafonera]]></category>
		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://blog.sonic-lux.net/?p=76</guid>
		<description><![CDATA[Heute nacht habe ich meinen schon lange nicht mehr genutzen LaFonera Wlan AP mit DD-WRT geflashed. Die Flash Prozedur hat auch auf Anhieb funktioniert und nun bin ich stolzer besitzer eines eigenen Wlan APs mit DD-WRT Viel Spass beim Nachmachen! http://uselesshacks.com/hacks/fon-router-hacking-guide/ bzw. http://www.dd-wrt.com/wiki/index.php/LaFonera_Software_Flashing]]></description>
			<content:encoded><![CDATA[<p>Heute nacht habe ich meinen schon lange nicht mehr genutzen LaFonera Wlan AP mit <a href="http://www.dd-wrt.com" target="_blank">DD-WRT</a> geflashed. Die Flash Prozedur hat auch auf Anhieb funktioniert und nun bin ich stolzer besitzer eines eigenen Wlan APs mit DD-WRT <img src='http://blog.sonic-lux.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Viel Spass beim Nachmachen!</p>
<p><a href="http://uselesshacks.com/hacks/fon-router-hacking-guide/" target="_blank">http://uselesshacks.com/hacks/fon-router-hacking-guide/</a> bzw.</p>
<p><a href="http://www.dd-wrt.com/wiki/index.php/LaFonera_Software_Flashing" target="_blank">http://www.dd-wrt.com/wiki/index.php/LaFonera_Software_Flashing</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sonic-lux.net/2008/08/20/lafonera-mit-dd-wrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
