<?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>Alex Amiryan's Linux Blog</title>
	<atom:link href="http://www.amiryan.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amiryan.org</link>
	<description>Just sharing my experiance in linux</description>
	<lastBuildDate>Tue, 10 Nov 2009 19:56:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Web-CVS-Tools is now under GNU GPLv3</title>
		<link>http://www.amiryan.org/2009/11/10/web-cvs-tools-is-now-under-gnu-gplv3/</link>
		<comments>http://www.amiryan.org/2009/11/10/web-cvs-tools-is-now-under-gnu-gplv3/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 19:51:57 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.amiryan.org/?p=309</guid>
		<description><![CDATA[Web-CVS-Tools is now release under GNU GPLv3. Project migrated to github.com, so now you can participate in development.
Web-CVS-Tools is a bunch of script written in Perl to automate and make easier web development using CVS. You can read about the intended web development team work flow in my earlier article, which can be found here.
To [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>Web-CVS-Tools is now release under GNU GPLv3. Project migrated to github.com, so now you can participate in development.</p>
<p>Web-CVS-Tools is a bunch of script written in Perl to automate and make easier web development using CVS. You can read about the intended web development team work flow in my earlier article, which can be found <a href="http://www.amiryan.org/2008/08/01/efficient-usage-of-cvs-in-web-development/">here</a>.</p>
<p>To make some changes to source code just run:</p>
<pre class="brush: text">
git clone git://github.com/alexamiryan/Web-CVS-Tools.git
</pre>
<p>Web-CVS-Tools on github &#8211; <a href="http://github.com/alexamiryan/Web-CVS-Tools">http://github.com/alexamiryan/Web-CVS-Tools</a></p>
<p>Have fun!</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/11/10/web-cvs-tools-is-now-under-gnu-gplv3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox init.d service autostart script</title>
		<link>http://www.amiryan.org/2009/11/04/virtualbox-init-d-service-autostart-script/</link>
		<comments>http://www.amiryan.org/2009/11/04/virtualbox-init-d-service-autostart-script/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 16:38:34 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://www.amiryan.org/?p=246</guid>
		<description><![CDATA[I&#8217;ve just installed started using VirtualBox on my Fedora 11 x86_64 and it works just perfectly. I&#8217;ve migrated from VMWare when it figured out that it is unable to work with latest kernel version. So I need to start some virtual machines in the background with system startup. I&#8217;ve made a lot of googling and [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>I&#8217;ve just installed started using VirtualBox on my Fedora 11 x86_64 and it works just perfectly. I&#8217;ve migrated from VMWare when it figured out that it is unable to work with latest kernel version. So I need to start some virtual machines in the background with system startup. I&#8217;ve made a lot of googling and found some dirty scripts that were not meeting my criterias. I&#8217;ve decided to write my own system startup service.</p>
<p>You need to create file named <strong>vbox</strong> in <strong>/etc/sysconfig/</strong> to list the virtual machine names that you want to start with system. Also when shutting down this service will save state to all running VMs. Here is the script:</p>
<p><em><strong>/etc/init.d/vbox</strong></em></p>
<pre class="brush: bash">
#!&#47;bin&#47;sh
#
# chkconfig: - 91 35
# description: Starts and stops vbox autostart VMs.

### BEGIN INIT INFO
# Provides: vbox
# Required-Start: $network $named $vboxdrv
# Required-Stop: $network $named
# Default-Start:
# Default-Stop: 0 1 2 3 4 5 6
# Short-Description: Autostart some Virtual Box VMs
# Description: Autostart some Virtual Box VMs that are mentioned in /etc/sysconfig/vbox file
### END INIT INFO

. /etc/rc.d/init.d/functions

MANAGE_CMD=VBoxManage

[ -r /etc/sysconfig/vbox ] &amp;&amp; . /etc/sysconfig/vbox

prog=$"Virtual Box Machines"

start()
{
	echo -n $"Starting $prog: "
	RETVAL=0

	for vbox_name in ${VBOX_AUTOSTART}
	do
	    SERVS=1
	    echo -n "${vbox_name} "
	    daemon $MANAGE_CMD startvm "${vbox_name}" -type vrdp &gt;/dev/null 2&gt;&amp;1
	    RETVAL=$?
	    [ "$RETVAL" -eq 0 ] || break
	done
	if [ -z "$SERVS" ]; then
	    echo -n "no virtual machines configured "
	    failure
	    RETVAL=6
	else
	    if [ "$RETVAL" -eq 0 ]; then
		success $"vbox startup"
		touch /var/lock/subsys/vbox
	    else
		failure $"vbox start"
	    fi
	fi
	echo
	return "$RETVAL"
}

stop()
{
	echo -n $"Shutting down $prog: "
	for vbox_name in ${VBOX_AUTOSTART}
	do
	    echo -n "${vbox_name} "
	    runuser root -c "$MANAGE_CMD -q controlvm "${vbox_name}" savestate" &gt;/dev/null 2>&#038;1
	done
	RETVAL=$?
	[ "$RETVAL" -eq 0 ] &amp;&amp; success $"vbox shutdown" || \
	    failure $"vbox shutdown"
	echo
	[ "$RETVAL" -eq 0 ] &amp;&amp; rm -f /var/lock/subsys/vbox
	return "$RETVAL"
}

status()
{
	for vbox_name in ${VBOX_AUTOSTART}
	do
	    echo -n "${vbox_name} "
	    $MANAGE_CMD showvminfo "${vbox_name}"|grep "^State:\s*.*$"
	done
}

case "$1" in
  start)
	start
	;;
  stop)
	stop
	;;
  restart|force-reload)
	stop
	start
	;;
  status)
	status
	;;
  *)
	echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&#038;2
	exit 3
	;;
esac

:</pre>
<p>And here is configuration file:</p>
<p><em><strong>/etc/sysconfig/vbox</strong></em></p>
<pre class="brush:bash"># Virtual box machines to autostart
# Example to start 2 machines
#	VBOX_AUTOSTART = "MachineName1 MachineName2"

# VBOX_AUTOSTART=""</pre>
<p>Thats it. If you have any questions do not hesitate to contact me.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/11/04/virtualbox-init-d-service-autostart-script/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Firefox 3.5</title>
		<link>http://www.amiryan.org/2009/07/02/firefox-35/</link>
		<comments>http://www.amiryan.org/2009/07/02/firefox-35/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 15:19:00 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.amiryan.org/?p=242</guid>
		<description><![CDATA[
The Fastest Firefox Yet
Things move quickly online, and we’ve beefed up the engine that runs Firefox to make sure you can keep up: Firefox 3.5 is more than twice as fast as Firefox 3, and ten times as fast as Firefox 2.* As a result, Web applications like email, photo sites and your favorite social [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p><a href='http://www.mozilla.com/en-US/?from=sfx&amp;uid=0&amp;t=443'><img src='http://sfx-images.mozilla.org/affiliates/Buttons/Firefox3.5/200x32_all_orange.png' alt='Spread Firefox Affiliate Button' border='0' /></a></p>
<blockquote><p>The Fastest Firefox Yet</p>
<p>Things move quickly online, and we’ve beefed up the engine that runs Firefox to make sure you can keep up: Firefox 3.5 is more than twice as fast as Firefox 3, and ten times as fast as Firefox 2.* As a result, Web applications like email, photo sites and your favorite social networks will feel snappier and more responsive.</p></blockquote>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/07/02/firefox-35/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SOLVED: Adobe AIR installation problem on Fedora 10 x86_64</title>
		<link>http://www.amiryan.org/2009/05/25/adobe-air-installation-problem-on-fedora-10-x86-64/</link>
		<comments>http://www.amiryan.org/2009/05/25/adobe-air-installation-problem-on-fedora-10-x86-64/#comments</comments>
		<pubDate>Mon, 25 May 2009 14:40:31 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[howtos]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[problem]]></category>

		<guid isPermaLink="false">http://www.amiryan.org/?p=238</guid>
		<description><![CDATA[Adobe AIR installation fails on Fedora 10 x86_64 without any explanations. It just says:
An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator.
The reason is some missing i386 packages. You just have to run following command:
yum install gtk2-devel.i386 nss.i386 libxml2-devel.i386 libxslt.i386 gnome-keyring.i386 rpm-devel.i386
You may already have [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>Adobe AIR installation fails on Fedora 10 x86_64 without any explanations. It just says:</p>
<pre class="brush: text">An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator.</pre>
<p>The reason is some missing i386 packages. You just have to run following command:</p>
<pre class="brush: bash">yum install gtk2-devel.i386 nss.i386 libxml2-devel.i386 libxslt.i386 gnome-keyring.i386 rpm-devel.i386</pre>
<p>You may already have some these packages. Don&#8217;t worry about that, yum will skip them. After yum finishes, retry installation of AIR, it should work now.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/05/25/adobe-air-installation-problem-on-fedora-10-x86-64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto delete all .svn folders from SVN working directory</title>
		<link>http://www.amiryan.org/2009/04/23/howto-delete-all-svn-folders-from-svn-working-directory/</link>
		<comments>http://www.amiryan.org/2009/04/23/howto-delete-all-svn-folders-from-svn-working-directory/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 15:53:14 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.amiryan.org/?p=233</guid>
		<description><![CDATA[To delete all .svn folders from SVN working directory for releasing folder from SVN just do this simple steps.
Create new file in /usr/local/bin with name svnrm with following content
#!&#47;bin&#47;sh
find . -name .svn -print0 &#124; xargs -0 rm -rf
Save it. From now on you can execute svnrm command in your working directory and it will delete [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>To delete all <em><strong>.svn</strong></em> folders from SVN working directory for releasing folder from SVN just do this simple steps.<br />
Create new file in <em>/usr/local/bin</em> with name <strong><em>svnrm</em></strong> with following content</p>
<pre class="brush: bash">#!&#47;bin&#47;sh
find . -name .svn -print0 | xargs -0 rm -rf</pre>
<p>Save it. From now on you can execute <strong><em>svnrm</em></strong> command in your working directory and it will delete all .svn folders at once.<br />
Have fun!</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/04/23/howto-delete-all-svn-folders-from-svn-working-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LastPass password manager review</title>
		<link>http://www.amiryan.org/2009/04/23/lastpass-password-manager-review/</link>
		<comments>http://www.amiryan.org/2009/04/23/lastpass-password-manager-review/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 12:23:40 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[lastpass]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.amiryan.org/?p=196</guid>
		<description><![CDATA[Few days ago I have found extension for Firefox which called LastPass. LastPass is a tool for remembering all your passwords and not store them on your local computer. It is very convinient to use it when you have several computers (for example at home, at office) and you need to synchronize your passwords across [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>Few days ago I have found <a href="https://addons.mozilla.org/en-US/firefox/addon/8542" target="_blank">extension for Firefox</a> which called <a href="https://lastpass.com/" target="_blank">LastPass</a>. LastPass is a tool for remembering all your passwords and not store them on your local computer. It is very convinient to use it when you have several computers (for example at home, at office) and you need to synchronize your passwords across them. They say that they encrypt passwords localy, by binary executable which comes with an extension, and send send them in encrypted way. They say that even LastPass employee can&#8217;t see your passwords. This extension was also recomended by Mozilla, so I decided to use it and store all my passwords there.<br />
So what I disliked there. Sometimes LastPass messing up your passwords. It suggests to use some password that is not from there. It is happening because it uses some kind of messy URL matching. It will be great in next versions to able to write wildcard URLs.<br />
In conclusion, I advice to use it as I think that this is a good project and it will get better in near future.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/04/23/lastpass-password-manager-review/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bugfix: Howto turn off gpg-agent usage in Enigmail in Thunderbird</title>
		<link>http://www.amiryan.org/2009/04/22/bugfix-howto-turn-off-gpg-agent-usage-in-enigmail-thunderbird/</link>
		<comments>http://www.amiryan.org/2009/04/22/bugfix-howto-turn-off-gpg-agent-usage-in-enigmail-thunderbird/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 13:08:22 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[enigmail]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[gpg-agent]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://www.amiryan.org/?p=192</guid>
		<description><![CDATA[There is some bug in Enigmail v0.95.7 for Thunderbird. If you untick the checkbox &#8220;Use gpg-agent for passphrases&#8221; in Advanced tab of Advanced settings menu, Thunderbird in anyway will try to use gpg-agent if GPG_AGENT_INFO environment variable is set.  The reason is some little bug in Enigmail source code. To fix it, first close [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>There is some bug in Enigmail v0.95.7 for Thunderbird. If you untick the checkbox &#8220;Use gpg-agent for passphrases&#8221; in Advanced tab of Advanced settings menu, Thunderbird in anyway will try to use gpg-agent if <strong>GPG_AGENT_INFO</strong> environment variable is set.  The reason is some little bug in Enigmail source code. To fix it, first close Thunderbird, then just open <strong><em>.thunderbird</em></strong> folder in your home directory, search for <strong><em>enigmail.js</em></strong> file. It have to be in <strong><em>extensions</em></strong> folder in one of the random name folders. When you have found the <strong><em>enigmail.js</em></strong> file open it with your favorite text editor and find line number <strong>1368</strong>. It have to be this:</p>
<pre class="brush: javascript">useAgent= (this.gpgAgentInfo.envStr.length&gt;0 || this.prefBranch.getBoolPref("useGpgAgent"));</pre>
<p>Change the <strong>||</strong> sign to <strong>&amp;&amp;</strong>. After change this line have to look like this:</p>
<pre class="brush: javascript">useAgent= (this.gpgAgentInfo.envStr.length&gt;0 &amp;&amp; this.prefBranch.getBoolPref("useGpgAgent"));</pre>
<p>Save file. Now open Thunderbird and enjoy.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/04/22/bugfix-howto-turn-off-gpg-agent-usage-in-enigmail-thunderbird/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto recursively add unversioned files into SVN repository</title>
		<link>http://www.amiryan.org/2009/04/22/howto-recursively-add-unversioned-files-into-svn-repository/</link>
		<comments>http://www.amiryan.org/2009/04/22/howto-recursively-add-unversioned-files-into-svn-repository/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 12:29:02 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.amiryan.org/?p=189</guid>
		<description><![CDATA[Because svn add command does not support recursive addition of unversioned files you can use this little script to do it.
Create new file in /usr/local/bin with name svnadd with following content
#!&#47;bin&#47;sh
svn status &#124; perl -ne 's/^\?\s+(\S.+)$/\1/g;chomp;system("svn add \"$_\"");'
Save it. From now on you can execute svnadd command in your working directory.
]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>Because <em>svn add</em> command does not support recursive addition of unversioned files you can use this little script to do it.<br />
Create new file in <em>/usr/local/bin</em> with name <strong><em>svnadd</em></strong> with following content</p>
<pre class="brush: bash">#!&#47;bin&#47;sh
svn status | perl -ne 's/^\?\s+(\S.+)$/\1/g;chomp;system("svn add \"$_\"");'</pre>
<p>Save it. From now on you can execute <strong><em>svnadd</em></strong> command in your working directory.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/04/22/howto-recursively-add-unversioned-files-into-svn-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto run Gajim with root privileges</title>
		<link>http://www.amiryan.org/2009/04/16/howto-run-gajim-with-root-privileges/</link>
		<comments>http://www.amiryan.org/2009/04/16/howto-run-gajim-with-root-privileges/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 10:53:05 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[howtos]]></category>
		<category><![CDATA[gajim]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[root]]></category>

		<guid isPermaLink="false">http://www.amiryan.org/?p=185</guid>
		<description><![CDATA[Gajim 0.12.1 says that he can&#8217;t run with root privileges. This is new feature that appeared in Fedora 10. In earlier versions it was normaly running under root. Anyway let&#8217;s turn off this feature in case that you need to run Gajim under root.
Open /usr/bin/gajim with your favorite text editor, find 24th line and just [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>Gajim 0.12.1 says that he can&#8217;t run with root privileges. This is new feature that appeared in Fedora 10. In earlier versions it was normaly running under root. Anyway let&#8217;s turn off this feature in case that you need to run Gajim under root.</p>
<p>Open /usr/bin/gajim with your favorite text editor, find 24th line and just comment out this part of code:</p>
<pre class="brush: bash">if test $(id -u) -eq 0; then
echo "You must not launch Gajim as root, it is INSECURE"
exit 1
fi</pre>
<p>After commenting it should look like</p>
<pre class="brush: bash">#if test $(id -u) -eq 0; then
#	echo "You must not launch Gajim as root, it is INSECURE"
#	exit 1
#fi</pre>
<p>Save file. Thats it.<br />
Happy chatting <img src='http://www.amiryan.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/04/16/howto-run-gajim-with-root-privileges/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SOLVED: Linux software RAID 5 too slow</title>
		<link>http://www.amiryan.org/2009/04/10/solved-linux-software-raid-5-too-slow/</link>
		<comments>http://www.amiryan.org/2009/04/10/solved-linux-software-raid-5-too-slow/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 21:02:09 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[howtos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://alexamiryan.wordpress.com/?p=155</guid>
		<description><![CDATA[In this article I am going to tell about my experience with Linux software RAID.
So I had a ASUS P6T motherboard which has Intel ICH10R raid controller, 3x 1 Tb SATA 2 HDDs and Intel Core i7 920 processor. So I wanted to install Fedora 10 on that machine.
After configuring RAID 5 in the BIOS [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>In this article I am going to tell about my experience with Linux software RAID.<br />
So I had a ASUS P6T motherboard which has Intel ICH10R raid controller, 3x 1 Tb SATA 2 HDDs and Intel Core i7 920 processor. So I wanted to install Fedora 10 on that machine.<br />
After configuring RAID 5 in the BIOS I booted the Fedora 10 installation DVD to start the installation. BUT! Suddenly I saw that Anaconda see 3 separate hard drives instead of 1 RAID device. After some googleing I figured out that my motherboard don&#8217;t have real RAID controller. Instead it is fakeraid controller. It is just software raid which software is located in BIOS. So I decided to use linux software raid, because it is definitely better than the from ASUS.<br />
So installed Fedora 10 with linux software RAID 5 with LUKS encryption. After installation machine started to work very slowly. I thought it so because of the encryption, but after some googleing I understood that the encryption can&#8217;t slow down the machine that way. The thing was when you newly create RAID 5 array it needs to build the 3rd hard drive and it take a lot of time. It took from me approximately 4 hours to finish that operation on 1 Tb hard drives. You can check the rebuild status at any time invoking one of the following commands:</p>
<pre class="brush: bash"># cat /proc/mdstat</pre>
<p>or</p>
<pre class="brush: bash"># mdadm --detail /dev/md0</pre>
<p>After rebuild was over and after some tunings (see tuning parameters below) I had ~90 Mb/s write and ~200 Mb/s read.</p>
<p>My tuning parameters was:</p>
<pre class="brush: bash">echo 32768 &gt; /sys/block/md0/md/stripe_cache_size</pre>
<pre class="brush: bash">blockdev --setra 65536 /dev/md0</pre>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/04/10/solved-linux-software-raid-5-too-slow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
