<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>olivetalks &#187; Computers</title>
	<link>http://www.olivetalks.com</link>
	<description>The Olive has arrived and it has things to say…</description>
	<pubDate>Sun, 12 Oct 2008 11:56:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Too much success and popularity?</title>
		<link>http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/</link>
		<comments>http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 21:17:33 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/</guid>
		<description><![CDATA[Today a new version of Firefox web browser has been released. It's version 3.0 which has been available as beta for a while already.]]></description>
			<content:encoded><![CDATA[<p>Today a new version of Firefox web browser has been released. It&#8217;s version 3.0 which has been available as beta for a while already.</p>
<p>Version 1.0 of Wine has been published today as well. Wine is a compatibility layer for running Windows programs directly in many Unixes, including Linux, FreeBSD, Mac OS X and Solaris.</p>
<p>Firefox team had announced the release date in advance and for some time the <a href="http://getfirefox.com">website</a> from where you can download the new version of the web browser has been unavailable. Wine <a href="http://winehq.org/">website</a> was also down temporarily.</p>
<p>At this moment both websites seem to be up again but one wonders if this was the case of a bigger success than expected&#8230;</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/" title="Automatic backup of Windows computers using Linux">Automatic backup of Windows computers using Linux (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/" title="Convert videos to audio">Convert videos to audio (1)</a></li><li><a href="http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/" title="I can&#8217;t stop smiling&#8230; we got an Asus Eee PC! ">I can&#8217;t stop smiling&#8230; we got an Asus Eee PC!  (2)</a></li><li><a href="http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/" title="USB in Xen - how to make it work">USB in Xen - how to make it work (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/" title="How to Xenify office servers">How to Xenify office servers (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What&#8217;s your Internet speed?</title>
		<link>http://www.olivetalks.com/2008/05/31/whats-your-internet-speed/</link>
		<comments>http://www.olivetalks.com/2008/05/31/whats-your-internet-speed/#comments</comments>
		<pubDate>Sat, 31 May 2008 12:55:27 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[broadband]]></category>

		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/05/31/whats-your-internet-speed/</guid>
		<description><![CDATA[I&#8217;m wondering what&#8217;s the speed of the Internet connections used by the visitors to olivetalks. If you agree to indulge my curiosity (and maybe yours as well?) please go to www.speedtest.net and find out your stats. (Note: the website uses JavaScript and Flash.) After that please post your results in the comments to this post. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m wondering what&#8217;s the speed of the Internet connections used by the visitors to olivetalks. If you agree to indulge my curiosity (and maybe yours as well?) please go to <a href="http://www.speedtest.net/" title="The Global Broadband Speed Test">www.speedtest.net</a> and find out your stats. (Note: the website uses JavaScript and Flash.) After that please post your results in the comments to this post. Thank you very much.</p>
<p>My results:</p>
<p>ping:            26 ms</p>
<p>download:    5768 kb/s</p>
<p>upload:        538 kb/s</p>
<h3>Random unrelated posts</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/02/04/10-weirdest-things-jena-part1/" title="10 weirdest things I&#8217;ve seen in&#8230; Jena (Germany) (part 1)">10 weirdest things I&#8217;ve seen in&#8230; Jena (Germany) (part 1) (3)</a></li><li><a href="http://www.olivetalks.com/2008/05/30/10-weirdest-things-brussels-part2/" title="10 weirdest things I’ve seen in… Brussels (Belgium) (part 2)">10 weirdest things I’ve seen in… Brussels (Belgium) (part 2) (2)</a></li><li><a href="http://www.olivetalks.com/2008/01/18/the-challenge-continues/" title="The challenge continues">The challenge continues (2)</a></li><li><a href="http://www.olivetalks.com/2008/02/03/usb-forwarding-on-xen-it-just-does-not-work/" title="USB forwarding on Xen - it just does not work">USB forwarding on Xen - it just does not work (0)</a></li><li><a href="http://www.olivetalks.com/2008/01/07/dvds/" title="DVDs">DVDs (2)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/05/31/whats-your-internet-speed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Convert videos to audio</title>
		<link>http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/</link>
		<comments>http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 18:46:54 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[DVD]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[mp3]]></category>

		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/</guid>
		<description><![CDATA[You can use mplayer to convert a video DVD to audio only mp3 files. This can be useful for example when you recorded a karaoke video and want to listen to the audio on your mp3 player.]]></description>
			<content:encoded><![CDATA[<p>Sometimes you like a dialogue of a film you watch on DVD and you wish you could listen to it while on the move, for example using an iPod. Or maybe you recorded a karaoke session on video, like <font size="1em"><strong><a href="http://www.agvs.net/aztrolopitecus/index_cast.html" rel="external">A.Nurboe</a></strong></font> and you would like to convert the video into audio only mp3 files. Regardless of the reason, it&#8217;s possible to convert the video DVDs into audio only mp3s using Linux and <a href="http://www.mplayerhq.hu/" title="MPlayer - The Movie Player">mplayer</a>. <em>Disclaimer:</em> in some countries the legality of this kind of conversion might be in question even if you own the DVD, it&#8217;s up to you to make sure you don&#8217;t break any laws. It&#8217;s usually legal to convert the videos you recorded yourself.</p>
<p><strong> What do you need</strong>:</p>
<ol class="spaced">
<li>Linux, any distribution will do. Linux can be installed on the physical hardware or in a virtual machine (like for example VMware, <a href="/tag/xen/">Xen</a>, VirtualBox or Virtual PC). It is important that you have access to a DVD drive. Otherwise you&#8217;ll have to first create an .iso image of the video DVD you want to convert. <em>mplayer</em> is also available for Windows so you could try the same process using Windows if you prefer.</li>
<li>mplayer. Installation of <em>mplayer</em> depends on the Linux distribution, some have it preinstalled, others require you to install it yourself. For most users the easiest option will be to find pre-built binaries in .rpm, .deb or other appropriate format and install them. I&#8217;m not going to go into details here, if you need directions drop me a comment.</li>
<li>DVD with the videos you want to convert. If your Linux installation can access a DVD drive you just need to insert the DVD disc, otherwise you need to create an .iso image.</li>
<li>Some program to convert .wav files into .mp3. Anything you use to convert CDs to mp3 can usually convert .wav files also.</li>
</ol>
<p><strong>Preparations:</strong></p>
<ol class="spaced">
<li>Decide whether you want to convert the whole video or only some specific fragments.</li>
<li>Decide whether you want to convert the video into one audio file or maybe you prefer separate file for each chapter.</li>
<li>If you decided to do the conversion from an .iso image you need to create it.</li>
<li>Make sure you have enough disk space for the audio files. You need about 6 MB per one minute.</li>
</ol>
<p><strong>Conversion:</strong></p>
<ol class="spaced">
<li>Create .wav files from your video using mplayer. The command to execute is:<br />
<code>mplayer dvd://1 -chapter [first chapter]-[last chapter] -vc null -vo null -alang [language code] -ao pcm:waveheader:fast:file=[output file] -dvd-device [path to .iso file] -ss [start time in seconds] -endpos [duration in seconds]</code></p>
<ul class="spaced"><font color="#ff6600"><strong><em>where:</em></strong></font></p>
<li> dvd://1 usually is the correct option although sometimes (depends on the DVD) it will have to be another number instead of 1. The number corresponds to the DVD title on the disc; usually 1 is the main video.</li>
<li> [first chapter] - is the first video chapter to start the conversion from.</li>
<li> [last chapter] - is the last video chapter to finish the conversion with; in case your video has no chapters or you want to convert the whole video into a single audio file you should skip the whole -chapter [first chapter]-[last chapter] fragment of the command; in case you&#8217;re converting each chapter of the DVD to a separate audio file the [last chapter] must be the same as [first chapter] and you need to run this command for each chapter (with a different output file each time).</li>
<li> [language code] - code of the audio language, this is important if the video has audio track in multiple languages; for example English is en, Spanish is es, Hungarian is hu.</li>
<li> [output file] - the path to the output audio file including the .wav extension.</li>
<li> [path to .iso file] - the path to the source .iso file of the video; in case you are converting without first creating the .iso file you should skip the whole -dvd-device [path to .iso file] fragment of the command.</li>
<li> [start time in seconds] - this option can be used to specify how many seconds at the beginning of the video should be skipped; you should not use this option if you want to convert the whole video.</li>
<li> [duration in seconds] - this option can be used to specify how many seconds of the video to convert; you should not use this option if you want to convert the whole video. This option together with -ss is useful when you want to do a trial run and convert just a short fragment first to see if it works or if you need to skip some fragments at the beginning or at the end.</li>
</ul>
<ul class="spaced"><strong><font color="#ff6600"><em>Some examples:</em></font></strong></p>
<li>Save audio of chapter 4 of the DVD disk as file chapter4.wav:<br />
<code>mplayer dvd://1 -chapter <strong>4-4</strong> -vc null -vo null -alang en -ao pcm:waveheader:fast:file=<strong>chapter4.wav</strong></code></li>
<li>The same but from an ISO image:<br />
<code>mplayer dvd://1 -chapter <strong>4-4</strong> -vc null -vo null -alang en -ao pcm:waveheader:fast:file=<strong>chapter4.wav</strong> <strong>-dvd-device image.iso</strong></code></li>
<li>Save audio of chapters 2 to 14 of the DVD disk as file chapters2-14.wav:<br />
<code>mplayer dvd://1 -chapter <strong>2-14</strong> -vc null -vo null -alang en -ao pcm:waveheader:fast:file=<strong>chapters2-14.wav</strong></code></li>
<li>Save the last 10 seconds of the first minute of chapter 3 from the DVD disk as file chapter3.wav, this time we want the Spanish soundtrack:<br />
<code>mplayer dvd://1 -chapter <strong>3-3</strong> -vc null -vo null -alang <strong>es</strong> -ao pcm:waveheader:fast:file=<strong>chapter3.wav</strong> <strong>-ss 50 -endpos 10</strong></code></li>
</ul>
</li>
<li>Convert .wav files to mp3 format or any other you prefer using a program you like.</li>
</ol>
<p>That&#8217;s it. Enjoy the new mp3s!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/" title="I can&#8217;t stop smiling&#8230; we got an Asus Eee PC! ">I can&#8217;t stop smiling&#8230; we got an Asus Eee PC!  (2)</a></li><li><a href="http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/" title="USB in Xen - how to make it work">USB in Xen - how to make it work (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/" title="How to Xenify office servers">How to Xenify office servers (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/05/inodes-attack-part1/" title="The attack of the inodes - how to find out your number">The attack of the inodes - how to find out your number (3)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Xen and CentOS 5.1 on PowerEdge 2950</title>
		<link>http://www.olivetalks.com/2008/04/14/xen-centos-pe2950/</link>
		<comments>http://www.olivetalks.com/2008/04/14/xen-centos-pe2950/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 06:41:06 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[CentOS]]></category>

		<category><![CDATA[cruisecontrol]]></category>

		<category><![CDATA[p2v]]></category>

		<category><![CDATA[raid]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/04/14/xen-centos-pe2950/</guid>
		<description><![CDATA[I've installed CentOS 5.1 on PowerEdge 2950. The installation includes Xen 3.0.3. The new server is running multiple Xen guests.]]></description>
			<content:encoded><![CDATA[<p>A few months ago I got my hands on a new server at work. It&#8217;s a Dell PowerEdge 2950. I was going to post a link but it seems Dell is having some problems with their website and half of the links I find in Google do not work.</p>
<p>The server has a Quad Core Xeon CPU E5440 and 4 GB of RAM. The storage needs are covered by a MD1000 disk array connected to a Perc5/E controller. The controller supports different RAID configurations: 0, 1, 10 and 50. I&#8217;ve tried most of them plus different combinations of software raid and hardware plus software raid. In the end I&#8217;ve settled on RAID-5 on 3 disks.</p>
<p>As the operating system I&#8217;ve installed <a href="http://www.centos.org/">CentOS 5.1</a> which is basically a free copy of RHEL 5.1. It comes with Xen 3.0.3 and of course I&#8217;ve installed that too. I want to convert the existing servers we have at work to Xen guests and have them running on this new machine. This will let me update OS on all the servers to the same version without bringing the whole office to halt. And once the servers are virtualized it will be much easier to deal with maintenance of the physical servers. Maybe I will even set up some cluster to host all these Xen guests. I didn&#8217;t have time to fully explore this idea but it sounds like it could offer further advantages.</p>
<p>So far I was able to convert one physical server to a virtual one with rather short downtime. I followed the instructions described in my <a href="/2008/02/16/xen-p2v-conversion-in-seven-simple-steps/" title="Xen p2v conversion">Xen p2v</a> post. The virtual server has been running fine for several months already. In terms of performance there are no problems - it helps that the Xen host has more powerful hardware and this server doesn&#8217;t need much I/O.</p>
<p>Besides this P2V conversion I&#8217;ve also created a Xen guest with Fedora Core 8 to run our CruiseControl server. The previous installation was running on a Fedora Core 5 host. I&#8217;ve used the occasion and upgraded CruiseControl to the latest version. Installing CruiseControl took me a long time. Mostly because I couldn&#8217;t find proper instructions. I&#8217;ve tried few different ones from the <a href="http://cruisecontrol.sourceforge.net/gettingstartedsourcedist.html">CruiseControl</a> website, from <a href="http://www.ibm.com/developerworks/java/library/j-cc/">IBM</a> and some others. Unfortunately I just couldn&#8217;t get it to work. So in the end I&#8217;ve just duplicated the setup we had before. It&#8217;s not perfect but it works and I don&#8217;t want to spend a week on that.</p>
<p>Third Xen guest I&#8217;ve created is a very small installation of CentOS 5.1 running with only 64 MB of RAM. It serves as a license server for some applications we use. I&#8217;ve minimized the amount of the services running to reduce the memory footprint and the virtual machine uses only 41 MB of RAM.</p>
<p>So far all three guests are running nicely together. I&#8217;ll be adding more of them in the future.</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/02/16/xen-p2v-conversion-in-seven-simple-steps/" title="Xen p2v conversion in seven simple steps">Xen p2v conversion in seven simple steps (0)</a></li><li><a href="http://www.olivetalks.com/2008/01/24/usb-forwarding-on-xen/" title="USB forwarding on Xen">USB forwarding on Xen (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/" title="USB in Xen - how to make it work">USB in Xen - how to make it work (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/" title="How to Xenify office servers">How to Xenify office servers (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/02/do-you-raid-part-2/" title="Do you RAID? (part 2)">Do you RAID? (part 2) (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/04/14/xen-centos-pe2950/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I can&#8217;t stop smiling&#8230; we got an Asus Eee PC!</title>
		<link>http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/</link>
		<comments>http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 20:11:39 +0000</pubDate>
		<dc:creator>LadyRostand</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[Product reviews]]></category>

		<category><![CDATA[]]></category>

		<category><![CDATA[Eee PC]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Skype]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/</guid>
		<description><![CDATA[Olivetalks got an Eee laptop. One of those tiny ASUS computers that run Linux and boot in no time. It does have a few things we don't like, but overall the kiddo-pc is all they said it was! One can take the Eee on trips to check email, finish that important document or... play Solitaire? Now if only my fingers weren't so fat... ]]></description>
			<content:encoded><![CDATA[<p>And it&#8217;s so cute!</p>
<p><em>Right, what a girlie comment to say. I mean, it is a laptop, woman, not a puppy!</em></p>
<p>Yeah, so it has another positive thing besides being cute, it does not lick you!</p>
<p>This is a post about the tiny Asus laptops for all audiences. Check what is the first question that pops in your head when you hear someone say &#8220;I just bought myself an EEE&#8221; and you will know the group you belong to:</p>
<ol>
<li><em>eee&#8230; eeeh&#8230; what?</em></li>
<li><em>wow! so, is it as cool as they say it is?</em></li>
<li><em>I see, so which one did you get? what are the full specs? Anything else I should know about that model?</em></li>
</ol>
<p><em><br />
</em></p>
<h3><font color="#008000">The answers for the <em><font color="#000000">eee&#8230; eeeh&#8230; what?</font> </em>people:</font></h3>
<p>This is an Asus Eee laptop.</p>
<p align="center"><a href="/wp-content/uploads/2008/04/img_small.jpg" title="Eeepc-250"><img src="/wp-content/uploads/2008/04/eee-250px.jpg" alt="Eeepc-250" /></a></p>
<p>Well, not any Eee laptop, but our own Eee PC <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> Yup, the pen is also mine and it shows you how tiny the Eee is <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> And it weighs less than a kilo and a minute after taking it out of the box, you can already start working (with OpenOffice.org or GoogleDocs or Paint&#8230;), surfing the net (Firefox is there, Skype, Pidgin -the Linux MSN equivalent-, and Thunderbird as well) or even playing solitaire or with a Mr. Potato. And why did we buy it you ask? Well, it will be a better traveling companion than my 3 kg laptop which makes me walk around airports worse than the Hunchback of Notre-Dame did. Oh and the first answer I gave my mother when she asked the same question is also true: because&#8230; they had it in the shop&#8230; <em><br />
</em></p>
<h3><font color="#008000">The answers for the <em><font color="#000000">wow! so, is it as cool as they say it is?</font> </em>people:</font></h3>
<p>Yup! So far&#8230; Do you want the pros and the cons? Ok:</p>
<p><strong>Pros</strong>:</p>
<ol>
<li>Yes, it weighs less than 1 kg.</li>
<li>The 7&#8242; screen although small, actually displays a lot more/better than I expected.
<p align="center"><a href="/wp-content/uploads/2008/04/screen-eee2-400px.jpg" title="screen-Eee2-200px.jpg"><img src="/wp-content/uploads/2008/04/screen-eee2-200px.jpg" alt="screen-Eee2-200px.jpg" /></a></p>
</li>
<li>Setting it up is like no time. Seriously, I think it took us about 2 minutes to be at the screen where you can open Firefox already.</li>
<li>The kiddo-laptop connected to wireless without a glitch and we were able to download and install the newer version of skype (to be able to use the built-in camera) within a minute.</li>
<li>If yous mess up the system, you can restore the whole laptop back to factory settings in under two minutes. In <a href="http://jkontherun.blogs.com/jkontherun/2007/11/video-how-quick.html" title="/video-how-quick.html">jkOnTheRun</a> they even have a video showing you how quick it is!</li>
<li>It boots in 30 seconds and powers off in 12! Yes, I timed both processes.</li>
</ol>
<p><strong>Cons</strong>:</p>
<ol>
<li>The keyboard IS small. I have problems most of all with pressing the Shift button. Look at the following image:
<p align="center"><a href="/wp-content/uploads/2008/04/compare-keyboards-400px.jpg" title="compare-keyboards-200px"><img src="/wp-content/uploads/2008/04/compare-keyboards-200px.jpg" alt="compare-keyboards-200px" /></a></p>
<p>You can see how small the keyboard is, compared to a &#8220;normal-size&#8221; one. I have placed a 1 cent coin on  the letter D on both keyboards so you can see the relative sizes better. Oh, the mouse is a small-mouse as well (which did not come with the Eee).</li>
<li>ZoltarStark thinks the display organization with the buttons in the main screen to open Firefox, Spreadsheets, etc is not very efficient if you&#8217;re a power user since you need to point and click instead of selecting items from a menu.
<p align="center"><a href="/wp-content/uploads/2008/04/screen-eee1-400px.jpg" title="screen-Eee1-200px.jpg"><img src="/wp-content/uploads/2008/04/screen-eee1-200px.jpg" alt="screen-Eee1-200px.jpg" /></a></p>
</li>
<li>The laptop seems to be designed with Windows users in mind and it has the same folder architecture as Windows Explorer with My documents folder and so on set up by default. Even worse, though, is that it asks you to reboot the laptop after every software update, like Microsoft does. Then again, with a total of 40 seconds required per reboot, it&#8217;s not as bad as it could be. <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p><em><br />
</em></p>
<h3><font color="#008000">The answers for the <em><font color="#000000">I see, so which one did you get? what are the full specs? Anything else I should know about that model?</font> </em>people:</font></h3>
<p>We bought the <strong>Asus Eee PC 4G</strong>. For those of you that don&#8217;t know the difference between the Eee versions, check out <a href="http://eeepc.asus.com/global/product.htm" title="eees">this table</a>. As a summary, all four models have a 7&#8242; display and Linux pre-installed (with the number of software applications varying depending on the disk size), Ethernet, WLAN, built-in speaker and microphone, and weigh 0.92 kg. They all have three USB 2.0 ports and a MMC/SD (HC) card reader slot. Furthermore:<br />
<center></p>
<table class="tauleta" width="40%">
<tr>
<td><strong>Model name<br />
</strong></td>
<td align="center"><strong>Eee PC 2G Surf</strong></td>
<td align="center"><strong>Eee PC 4G Surf</strong></td>
<td align="center"><strong>Eee PC 4G</strong></td>
<td align="center"><strong>Eee PC 8G</strong></td>
</tr>
<tr>
<td><strong><font color="#008000">Processor</font></strong></td>
<td align="center">800 MHz Intel Cele</td>
<td colspan="3" align="center">900 MHz Intel Cel</td>
</tr>
<tr>
<td><strong><font color="#008000">RAM</font></strong></td>
<td align="center">512 MB</td>
<td align="center">512 MB</td>
<td align="center">512 MB</td>
<td align="center">1 GB</td>
</tr>
<tr>
<td><font color="#008000"><strong>Total storage space</strong></font></td>
<td align="center">2 GB</td>
<td align="center">4 GB</td>
<td align="center">4 GB</td>
<td align="center">8 GB</td>
</tr>
<tr>
<td><font color="#008000"><strong>Empty storage space</strong></font></td>
<td align="center">400 MB</td>
<td align="center">1.4 GB</td>
<td align="center">1.4 GB</td>
<td align="center">5.1 GB</td>
</tr>
<tr>
<td><font color="#008000"><strong>Camera</strong></font></td>
<td align="center">No</td>
<td align="center">No</td>
<td align="center">Yes</td>
<td align="center">Yes</td>
</tr>
</table>
<p></center><br />
Plus, the RAM of the 4G and 8G models can be upgraded up to 2GB! We got it from a German PC shop for 300 EUR which we found quite cheap, as some shops in Amazon ask for that price for the 2G Surf model. The catch of course is that we got it with the OS in German, as well as the keyboard. BUT, it took us two minutes to change the OS to UK English and another minute for the keyboard. You can see the instructions of how to do both things <a href="http://wiki.eeeuser.com/howto:changelanguage" title="howto:changelanguage">here</a>. After these changes, the OS and most software programs (like Firefox and OpenOffice.org) appear in English (or whatever language you choose). A few stayed in German, but I don&#8217;t mind having Acrobat Reader in German (yes, Acrobat is the default PDF reader installed!). And as long as you don&#8217;t look at the keys, you can pretend you are using a UK keyboard no problem <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .<strong>Summary?</strong> I am glad I did not buy the Surf versions and I might regret not having waited for the 8G version, for the extra default RAM and storage space, but right now, I really like this Eee. As a side laptpop, it is useful to run for example Skype in it while using your main PC to work, so Skype does not use all the CPU in your main computer as it sometimes does. As a main laptop&#8230; probably only when traveling. I will be spending some hours working on it in a couple of weeks, so I will come back with a report then.</p>
<p><font color="#ff0000"><em>Update (17th April 2008)</em>:  </font>A review just came out on the &#8220;big&#8221; brother of the Asus Eee 7&#8243; laptop, the <a href="http://www.trustedreviews.com/notebooks/review/2008/04/16/Asus-Eee-PC-900/p1" title="Asus-Eee-PC-900">Asus Eee PC 900</a> (as in 8.9&#8243; ~ 9 inch screen). It seems it has the same CPU, but 1GB of RAM to start with, and 20GB of storage if you buy the version running Linux (there is Eee 900 version running Windows XP, <a href="http://www.eee-900.co.uk/" title="eee-900">for the same price</a>, that has 12 GB of space instead). I am starting to save to get my ASUS 700 Eee a big brother <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /></p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/" title="Convert videos to audio">Convert videos to audio (1)</a></li><li><a href="http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/" title="USB in Xen - how to make it work">USB in Xen - how to make it work (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/" title="How to Xenify office servers">How to Xenify office servers (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/05/inodes-attack-part1/" title="The attack of the inodes - how to find out your number">The attack of the inodes - how to find out your number (3)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>USB in Xen - how to make it work</title>
		<link>http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/</link>
		<comments>http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 10:12:42 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[usb]]></category>

		<category><![CDATA[USB over IP]]></category>

		<category><![CDATA[USB Server]]></category>

		<category><![CDATA[USB/IP]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/</guid>
		<description><![CDATA[ZoltarStark is still looking for a method to access USB devices from Xen guests. After not finding great success with USB passthrough and PCI passthrough the time has come to try USB over IP solutions.]]></description>
			<content:encoded><![CDATA[<p>In my previous posts I described two approaches for setting up access to USB devices in Xen guest: <a href="/2008/01/24/usb-forwarding-on-xen/" title="Forwarding the whole USB controller">PCI forwarding</a>  and <a href="/2008/02/03/usb-forwarding-on-xen-it-just-does-not-work/" title="Forwarding a single USB device">USB forwarding</a>. The results were less than fantastic, I must admit. I&#8217;ve been checking different pages on the Internet looking for more advice. Unfortunately it looks like the conclusion is that at this point Xen does not support this feature. Hopefully this will get better in the future.</p>
<p>What can you do now? One suggested approach is to use some kind of USB over IP solution. That does involve spending some money though. USB over IP devices are about €300, a well known example are products from Digi International. Unfortunately I didn&#8217;t find any device of this type which would work with Linux clients so this looks like a bad direction to go even if it was cheaper. Another solution mentioned is using a software version of USB over IP. Again, they mostly support Windows clients. I was able to find only one that includes a Linux client - <a href="http://www.usb-server.com/downloads.html#usbserver" rel="external nofollow">USB Server</a>. At this point it&#8217;s in beta so it could be unstable - better test it before you use it on a production system. It includes a kernel driver (released under GPL 2) and binary only programs for the client and the server. It&#8217;s not a perfect solution since you still don&#8217;t know what&#8217;s inside of these binaries.</p>
<p>There are also people working on a similar solution in <a href="http://usbip.sourceforge.net/">USB/IP Project</a>. According to them &#8220;It is still at a *very* early development stage.&#8221; and is not stable.</p>
<p>I&#8217;ll try out these options and report here my findings. In the meantime if someone has experiences with any of these two solutions please comment and let us know.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/" title="How to Xenify office servers">How to Xenify office servers (0)</a></li><li><a href="http://www.olivetalks.com/2008/02/03/usb-forwarding-on-xen-it-just-does-not-work/" title="USB forwarding on Xen - it just does not work">USB forwarding on Xen - it just does not work (0)</a></li><li><a href="http://www.olivetalks.com/2008/01/24/usb-forwarding-on-xen/" title="USB forwarding on Xen">USB forwarding on Xen (0)</a></li><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/" title="Convert videos to audio">Convert videos to audio (1)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Xenify office servers</title>
		<link>http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/</link>
		<comments>http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 22:50:34 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[redundant]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/</guid>
		<description><![CDATA[How to convert office servers into Xen guests in a middle sized office? Transferring services to Xen guests allows for easier maintenance of the physical servers and higher availability of services. The first thing to consider is a redundant file system.]]></description>
			<content:encoded><![CDATA[<p>In my company we&#8217;ve got a few Linux servers. They range from 3 year old machines with 1 GB of RAM to a fresh &#8220;monster&#8221; with 4 GB of RAM, Quad-Core CPU and external disk array. The servers provide multiple functions for about 20 people, mostly R&amp;D engineers. The current setup mostly works but there&#8217;s little redundancy in the system and taking even one server down for any long maintenance is impossible. Because of that the system has accumulated a bit of &#8220;cruft&#8221; over the years - mostly in the form of different versions of OS and applications - which makes future maintenance require even more effort. I want to Xenify this setup by transferring most or even all the services to Xen guests. The guests could then be migrated from one physical host to another as required. This way it would be possible to perform maintenance on any physical server without disturbing the availability of any service. Basically I&#8217;m looking for a way to employ Xen as a method to increase availability and simplify maintenance.</p>
<p>I think I should start with a redundant file system to be free from depending on the 100% availability of a file server. The redundant file system should possibly be clustered so extra redundancy can be provided for the services and load balancing where necessary.</p>
<p>I&#8217;m not sure how to go about it in an efficient way. I&#8217;d like to hear from anybody who&#8217;s done something like this before and is willing to share their experiences.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/" title="USB in Xen - how to make it work">USB in Xen - how to make it work (0)</a></li><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/" title="Convert videos to audio">Convert videos to audio (1)</a></li><li><a href="http://www.olivetalks.com/2008/04/14/xen-centos-pe2950/" title="Xen and CentOS 5.1 on PowerEdge 2950">Xen and CentOS 5.1 on PowerEdge 2950 (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/" title="I can&#8217;t stop smiling&#8230; we got an Asus Eee PC! ">I can&#8217;t stop smiling&#8230; we got an Asus Eee PC!  (2)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The return of the inodes - tell me your package and I&#8217;ll tell you your inodes</title>
		<link>http://www.olivetalks.com/2008/03/09/inodes-attack-part2/</link>
		<comments>http://www.olivetalks.com/2008/03/09/inodes-attack-part2/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 08:55:44 +0000</pubDate>
		<dc:creator>LadyRostand</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[b2evolution]]></category>

		<category><![CDATA[Drupal]]></category>

		<category><![CDATA[hosting]]></category>

		<category><![CDATA[inodes]]></category>

		<category><![CDATA[Joomla]]></category>

		<category><![CDATA[Mambo]]></category>

		<category><![CDATA[Moodle]]></category>

		<category><![CDATA[osCommerce]]></category>

		<category><![CDATA[TikiWiki]]></category>

		<category><![CDATA[TYPO3]]></category>

		<category><![CDATA[WebCalendar]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/03/09/inodes-attack-part2/</guid>
		<description><![CDATA[Before getting a web hosting service and installing all the available software packages, it is good to know the inodes each package is going to generate. Here you will find a list of the minimum inode count of programs like WordPress, Mambo, b2evolution, WebCalendar, etc. ]]></description>
			<content:encoded><![CDATA[<p>As discussed in my previous posts, it is important to know the number of inodes your web pages are using, to stay within the limit granted by hosting services. In many forums they say that the usual 50,000 inode limit is very generous, but it is not that difficult to reach it, as I learnt the hard way a week ago. Before, I was blissfully happy not knowing what an inode was&#8230;</p>
<p>When you upload pages to your site, you know how many files and directories there are. If you check your email, the number of emails will give you an additional inode count. As long as in your site you are only going to have files uploaded by you and email accounts, you won&#8217;t probably need to worry about inodes. The problem appears if you are planning on having a blog, a forum, a content-management system or any other software package. These packages all have a large quantity of files even just installed. And some are made in such a way as to generate many additional files when you start using them.</p>
<p><em>Example-case</em>: a basic <strong>Moodle</strong> installation, with menus only in English and no courses, has <strong>4,850 inodes</strong> approximately to start with. If you upload 30 courses, this number goes up to 11,000 inodes. And that&#8217;s without any students (real example taken from <a href="http://tunja.ticat.org/" title="http://tunja.ticat.org/">here</a>). 30 courses are loads. Ok, another example: one Moodle platform with &#8220;only&#8221; 7 courses BUT 500 students has 20,000 inodes (example taken from <a href="http://atri.ticat.org/" title="http://atri.ticat.org/">here</a>). The reason is that every time a student uploads an exercise, Moodle creates two inodes: one corresponding to the student&#8217;s folder inside the exercise folder, and one corresponding to the actual exercise. 5 exercises, 10 inodes. 500 students doing the 5 exercises, 5,000 inodes. And it keeps growing&#8230; Furthermore, each language pack has over 600 inodes. So if you want to support different languages, be aware of how the number of inodes is going to increase even more. So knowing this, it is wise not to have more than one Moodle installation in a single web hosting account if you want to have many students. But if you don&#8217;t know about inodes, you might get a web hosting package with loads of disk space and as many mysql databases as you want, install Moodle, b2evolution and say Joomla and collapse your server in no time.</p>
<p>I have not been able to find a list of the inodes all well-known packages have to start with. I think this information is important to be able to decide what hosting account to get or how to use your hosting accounts in a more efficient way (for example combine Moodle and a few small scale web pages in a server and a forum and a blog in another). Therefore I have set upon myself the task of compiling an inode count list as complete as possible. At the initial release of this post, the table is far from complete. I will be adding more entries to the table as I find out the number of inodes each installation comes with. If you find out any additional data, do let me know, and I&#8217;ll add it to the list. Also, if you&#8217;d like me to find out the inode count of any program I don&#8217;t have yet, drop me a note as well, and I&#8217;ll see what can I do.<br />
<center></p>
<table class="tauleta" width="40%">
<tr>
<td><strong>programme</strong></td>
<td align="center"><strong>inode count<sup>1</sup></strong></td>
<td align="center"><strong>source<sup>2</sup></strong></td>
</tr>
<tr>
<td><strong><font color="#008000">b2evolution</font></strong></td>
<td align="center">850</td>
<td align="center">olivetalks</td>
</tr>
<tr>
<td><strong><font color="#008000">Drupal</font></strong></td>
<td align="center">400</td>
<td align="center">olivetalks</td>
</tr>
<tr>
<td><strong><font color="#008000">Gallery</font></strong></td>
<td align="center"><em>14000</em></td>
<td align="center"><a href="http://blog.kmikhaylov.net/">K. Mikhaylov</a></td>
</tr>
<tr>
<td><strong><font color="#008000">Joomla</font></strong></td>
<td align="center">?</td>
<td align="center">&#8211;</td>
</tr>
<tr>
<td><strong><font color="#008000">Mambo</font></strong></td>
<td align="center">2450</td>
<td align="center">olivetalks</td>
</tr>
<tr>
<td><strong><font color="#008000">Moodle</font></strong></td>
<td align="center">4850</td>
<td align="center">olivetalks</td>
</tr>
<tr>
<td><strong><font color="#008000">osCommerce</font></strong></td>
<td align="center"><em>1100</em></td>
<td align="center"><a href="http://elblogboyacense.com">El Blog Boyacense</a></td>
</tr>
<tr>
<td><strong><font color="#008000">TikiWiki</font></strong></td>
<td align="center">4250</td>
<td align="center">olivetalks</td>
</tr>
<tr>
<td><strong><font color="#008000">TYPO3</font></strong></td>
<td align="center">?</td>
<td align="center">&#8211;</td>
</tr>
<tr>
<td><strong><font color="#008000">WebCalendar</font></strong></td>
<td align="center">200</td>
<td align="center">olivetalks</td>
</tr>
<tr>
<td><strong><font color="#008000">WordPress</font></strong></td>
<td align="center">650</td>
<td align="center">olivetalks</td>
</tr>
<tr>
<td colspan="3"><small><br />
1. unless otherwise stated, this number corresponds to the basic installation, before adding any files, users,&#8230; and only the default language package installed. The number of inodes has been rounded to the nearest 50th. <em>The inode count appears in italics if the value has not been double-checked by olivetalks.</em><br />
2. inode count obtained by.<br />
</small></td>
</tr>
</table>
<p></center></p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/03/04/hostgator-pros-cons/" title="Hostgator: pros and cons of their web hosting offer">Hostgator: pros and cons of their web hosting offer (13)</a></li><li><a href="http://www.olivetalks.com/2008/03/05/inodes-attack-part1/" title="The attack of the inodes - how to find out your number">The attack of the inodes - how to find out your number (3)</a></li><li><a href="http://www.olivetalks.com/2008/04/12/the-5-stages-of-bloggers/" title="The 5 stages of bloggers">The 5 stages of bloggers (3)</a></li><li><a href="http://www.olivetalks.com/2008/04/08/blogging-strategies-length-frequency-and-topics/" title="Blogging strategies: length, frequency and topics">Blogging strategies: length, frequency and topics (3)</a></li><li><a href="http://www.olivetalks.com/2008/02/18/how-to-feed-google-properly/" title="How to feed Google properly">How to feed Google properly (2)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/03/09/inodes-attack-part2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The attack of the inodes - how to find out your number</title>
		<link>http://www.olivetalks.com/2008/03/05/inodes-attack-part1/</link>
		<comments>http://www.olivetalks.com/2008/03/05/inodes-attack-part1/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 06:50:19 +0000</pubDate>
		<dc:creator>LadyRostand</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[hostgator]]></category>

		<category><![CDATA[hosting]]></category>

		<category><![CDATA[inodes]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/03/05/inodes-attack-part1/</guid>
		<description><![CDATA[If your web hosting package is in a Linux server, you should know how to find out the number of inodes you are using. LadyRostand explains three methods to count the inodes: via ticket, ssh and ftp, and the advantages and disadvantages in each case.]]></description>
			<content:encoded><![CDATA[<p>&#8220;Inode&#8221; is a term used in Linux/UNIX file systems. Each file, directory, symlink&#8230; is represented by an inode which has a bunch of information on the file or directory (check out <a href="http://www.cyberciti.biz/tips/understanding-unixlinux-filesystem-inodes.html" title="linux and inodes">Understanding UNIX / Linux filesystem Inodes</a> for more information). Computers running Linux have a maximum number of inodes allowed, i.e. a maximum number of files and directories, independently of their sizes. This number is quite big so in general it won&#8217;t affect you. Furthermore, if you are running Windows you might be tempted to skip this post altogether. But if you have a domain in a hosting service and <strong>your web hosting package is in a Linux server</strong>, you should definitely continue reading. In my previous post <a href="/2008/03/04/hostgator-pros-cons/" title="hostgator-pros-cons/">Hostgator pros and cons</a>, I explained how it has a maximum of 50,000 inodes quota and how it&#8217;s not that difficult to reach that number. Whether you are using Hostgator as your web hosting provider or any other, you should know about inodes and how their shortage can become a problem. In this post I will go through ways to find out how many inodes do you have. In the <a href="/2008/03/09/inodes-attack-part2/" title="The return of the inodes">2nd part</a>, I am going to compile a list of the number of inodes different packages have when you install them (important if you want to run WordPress, TYPO3, Mambo, TikiWiki&#8230;).</p>
<p>To find out how many inodes are there in a folder or web hosting account, there are three ways. Whether one or another are possible, or all three, will depend on your web hosting provider.</p>
<p><strong>Option 1. Submit a ticket</strong></p>
<p>This one is easy and only takes as long as your provider&#8217;s support takes. Just ask them for an inode report on your account. Hostgator complied within 4 hours, and that was for three different accounts.</p>
<p><em>Advantage of this method</em>: little effort and you don&#8217;t have to learn any commands.<br />
<em>Disadvantage of this method</em>: if you haven&#8217;t been warned of being above the inode limit, you might be calling their attention to your account unnecessarily. Furthermore, you depend on others to know the number of inodes.</p>
<p><strong>Option 2. Via ssh</strong></p>
<p>If your provider allows you to ssh to your account, then once you are connected, all you have to do is type the following:</p>
<p><code><font color="#008000">find . -printf &#8220;%i\n&#8221; | sort -u | wc -l</font></code></p>
<p><em>Advantage</em>: quick (it can take 20 seconds to count 10,000 inodes).<br />
<em>Disadvantage</em>:  not all web hosting providers allow you ssh access. In Hostgator, for example, you can ask for ssh access but you need to give them a copy of your photo id.</p>
<p><strong>Option 3. Via ftp</strong></p>
<p>This can&#8217;t be done using FileZilla or similar. From a Linux machine you must open a terminal and:</p>
<ol class="spaced">
<li>First make sure you have the <em>curlftpfs</em> package installed. Depending on your Linux distribution it can be as simple as running (as super-user)<br />
<code><font color="#008000">yum install curlftpfs</font></code></li>
<li>Then you have to create the directory where you want to mount the ftp connection to your hosting account.<br />
<code><font color="#008000">mkdir ftp-domain-folder</font></code><br />
where ftp-domain-folder is the name of the directory you chose.</li>
<li>After that you connect to your account.<br />
<code><font color="#008000">curlftpfs -o user=xxxx:yyyy ftp://domain-name.zzz/ ftp-domain-folder/</font></code><br />
where xxxx = user name and yyyy = password.</li>
<li>And you run this command to count the inodes.<br />
<code><font color="#008000">find ftp-domain-folder/ | sort -u | wc -l</font></code></li>
<li>Finally, unmount the folder (requires super-user priviledges):<br />
<code><font color="#008000">umount ftp-domain-folder/</font></code></li>
</ol>
<p><em>Advantage</em>: you can do it from your computer, quite easy, no need for ssh,&#8230;<br />
<em>Disadvantage</em>: it takes quite a bit (over an hour to count 10,000 inodes) and you need to run the commands from a Linux computer.</p>
<p>To check the total number of inodes, if you don&#8217;t have ssh access, I would suggest using option 1. Once you know the total number, you can use option 3 to find out the inode count in folders within your hosting account. Each individual folder will not have as many inodes as the whole account so the command will take less time. For example:</p>
<p><code><font color="#008000">find ftp-domain-folder/mail/ | sort -u | wc -l</font></code></p>
<p>where mail is the folder where all your email accounts and emails are, or:</p>
<p><code><font color="#008000">find ftp-domain-folder/public_html/folder-name/ | sort -u | wc -l</font></code></p>
<p>to check the inodes inside a folder in your account. This way you can check if you have erased enough files if you were reaching the limit.</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/03/04/hostgator-pros-cons/" title="Hostgator: pros and cons of their web hosting offer">Hostgator: pros and cons of their web hosting offer (13)</a></li><li><a href="http://www.olivetalks.com/2008/03/09/inodes-attack-part2/" title="The return of the inodes - tell me your package and I&#8217;ll tell you your inodes">The return of the inodes - tell me your package and I&#8217;ll tell you your inodes (4)</a></li><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/" title="Convert videos to audio">Convert videos to audio (1)</a></li><li><a href="http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/" title="I can&#8217;t stop smiling&#8230; we got an Asus Eee PC! ">I can&#8217;t stop smiling&#8230; we got an Asus Eee PC!  (2)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/03/05/inodes-attack-part1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hostgator: pros and cons of their web hosting offer</title>
		<link>http://www.olivetalks.com/2008/03/04/hostgator-pros-cons/</link>
		<comments>http://www.olivetalks.com/2008/03/04/hostgator-pros-cons/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 06:31:58 +0000</pubDate>
		<dc:creator>LadyRostand</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[Uncategorized products]]></category>

		<category><![CDATA[domains]]></category>

		<category><![CDATA[hostgator]]></category>

		<category><![CDATA[hosting]]></category>

		<category><![CDATA[inodes]]></category>

		<category><![CDATA[Moodle]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/03/04/hostgator-pors-cons/</guid>
		<description><![CDATA[Web hosting services: what should you look for? email limits, inodes quota, bandwidth, disk space, hidden agenda... Some web hosting services like Hostgator offer excellent deals, but you have to know a few things to avoid getting a package for your domain or project which might not be the best.  ]]></description>
			<content:encoded><![CDATA[<p>olivetalks is hosted with Hostgator. Although this blog is fairly new, I&#8217;ve been a client of Hostgator for two and a half years. This means I am quite happy with their offer and service overall. Nevertheless, there are a few things that I would have liked to know before signing up for a hosting package with them. They did not hide this information but their offers are so good that you can easily overlook the fine print. Furthermore, it is important to know the cons, to take them into account when deciding what option is better for you or one of your domains/projects.</p>
<p>The pros they advertise in their page are true. In their shared baby and swamp web hosting packages you do get what they say, including the most attractive features:</p>
<ul>
<li> unlimited domains (as in, in one account you can add as many domains as you want)</li>
<li>6,000 GB of bandwidth in the baby package and unlimited in the swamp one</li>
<li>600 GB of disk space in the baby package and 1,000 GB in the swamp one</li>
<li>unlimited MySQL databases (important if you are going to install Wordpress, Drupal, Joomla or other packages)</li>
<li>Fantastico: easy one-click installation of most of the known scripts/CMS</li>
<li>&#8230;</li>
</ul>
<p>And an advantage which I have tested myself on a dozen of occasions by now and has always been excellent: answers from their support quick (usually in less than 6 hours) and helpful.</p>
<p>But, these pros and perks of Hostgator have a hidden side to them, which you will see when I explain the cons I have &#8220;suffered&#8221;.</p>
<p>Now the cons, or fine print details that you should consider before getting one package or another or even deciding if Hostgator is good enough for you.  Right now I know of three cons. They have appeared at different times and although they haven&#8217;t made me switch to another web hosting provider, they have made me frown at them for a few hours/days. As I said, they do mention them, but until you understand what they mean, they sound like unimportant, when they are not. I am going to describe the three cons and when should you take them into account and take appropriate measures.</p>
<p><strong>1. &#8220;Users may not: Use 25% or more of system resources for longer then 90 seconds&#8221;</strong></p>
<p><em>Translation</em>: if you have many web pages or visitors or scripts, even if you have unlimited space, bandwidth, etc., you might use up more than 25% of the CPU, which would cause them to shut down your service. So far it only happened once when a cron job lost the pot: they automatically shut down my cron job facilities without any warning and without me realizing till two weeks later. I say lost the pot because I still don&#8217;t really understand what happened. After talking to their support, they enabled the option again.</p>
<p><strong>2. &#8220;The use of more than 50,000 inodes on any shared account may potentially result in suspension.&#8221;</strong></p>
<p><em>Translation</em>: each file and directory counts as an inode. When I encountered this problem, less than a week ago, I searched for explanations of the problem in several forums and I found quite a few places where people were saying that 50,000 inodes is such a large number that surely people that fret over them are exaggerating. Then how come I got two of my three Hostgator accounts with quotas above the inode limit? and not above by a few inodes, I&#8217;m talking about a few tens of thousands in one and even a hundred thousand in another! With a week to reduce the amount of inodes within the allowed quota, I&#8217;ve had to do some research to understand it better. I mean, I had 50 GB of my 600 GB disk full. How come I had over 200,000 inodes? Two things to know regarding inodes: how to find out how many do you have and how many inodes do different programs/scripts generate. I am working on two follow-up posts, one with instructions on how to obtain the number of inodes of your account or folders and a second one with a table with the number of inodes that standard packages like Wordpress or Moodle have to start with. So the problem is, you might have quite a large amount of disk space, but you cannot have more than 50,000 files, which means 12 MB per file if you were to use the 600 GB. An image displayed on a web page is usually around 30 to 50 kB and a simple html page say around 100 kB&#8230; so the magnanimous disk space will be usually unachievable, due to other restrains, and a bit of a misleading offer. Then again, you could use the extra disk space for backups, if not for many web pages.</p>
<p><strong>3. &#8220;Mail policy and limits: There is a 200 hourly email limit per domain. If you send over this amount in any hour, most of the e-mails will bounce back with a undeliverable error.&#8221;</strong></p>
<p><em>Translation</em>: Now this policy I did not find in the Terms and Service page. You have to go search for it in their Knowledge pages. Again, surely 200 emails  per hour are enough? Think about it, if you have one email account, it is unlikely you&#8217;ll ever send 200 emails in an hour. But what if you create 10 accounts? That means that each user should not send more than 20 emails in an hour. Doable? sure&#8230; unless you are emailing your siblings, which means you send an email to say two people, they answer and you reply again to both of them and&#8230; you can only do it 10 times in an hour. Still ok? The Hostgator offer is &#8220;Unlimited mail accounts&#8221;&#8230; sure, but the moment you have a few users, you will reach the maximum number of emails allowed per hour a lot quicker. It seems Yahoo mail has a limit between 25 and 100 emails per hour, depending on the account and Googlemail 60 per hour. And Hostgator only gives you 200 although you could in theory create a hundred email accounts. By the way, each email counts as an inode! So if you have 20 email accounts with say 500 emails in their accounts each (you can make their inboxes as big as you want, so why not be generous?), that&#8217;s 10,000 inodes. But when this really matters is when you have some package installed like Moodle or any other which relies on emails to inform students/members of any news. Say you have a Moodle installation with one course and 5 forums. Say 9 students enrol and there is one tutor. If you want all the students and the tutor to receive an email when somebody comments, that&#8217;s 10 emails that will be sent. Say a student enters the course and comments on all 5 forums, one after the other: that&#8217;s 50 emails. If another student happens to participate in the forums in the same hour, that&#8217;ll be another 10 emails per comment. Add to that exercises (and emails sent to the tutor letting him/her know) and then offer a few courses and you can reach the 200 email limit very easily.</p>
<p><em><strong>Update</strong></em>: just when I was about to publish this post I decided to contact Hostgator live chat and ask about this email limit. It seems that from quite recently the limit has been increased to 500 emails per hour and that it&#8217;s <strong>500 emails per hour per domain</strong>, not per hosting service as I thought. So, for example, if in one hosting package you have 3 domains, each of them has a 500 email limit. That still means that if you have 10 email accounts under one domain, you have 500 emails per hour to be divided among those 10 emails. Furthermore, there is a 60 pop-check per hour per domain. This means that if you are checking your email using Thunderbird or MS Outlook, you can only do it 60 times per hour. More than enough. If you have 5 email accounts, each can only check it, 12 times in an hour. If you have 20 accounts, each person should maximum check for new emails every 20 minutes. And if a user has a quick finger, other users might not be able to check their emails in an hour. And you still have to remember that each email is an inode! You can check out the complete new mail policy of Hostgator <a href="http://hostgator.com/mailpolicy.shtml" title="mailpolicy-hostgator">here</a>.</p>
<p><strong>Some conclusions:</strong></p>
<p>Hostgator&#8217;s offer is very good, but you should consider what packages are you going to need (Moodle, b2evolution, Xoops, WebCalendar&#8230;), how many emails do you think you&#8217;ll need to send per hour, how many domains you&#8217;ll want to host and their inodes sizes, etc., before deciding what web hosting you need. You might need a few web hosting accounts, in Hostgator or any other provider! Getting a few hosting accounts could still be cheaper than a semi-dedicated or dedicated server and if you take into account the limitations of the service I&#8217;ve described, it can help you choose the best hosting package and distribution of domains per hosting account for your project/situation.</p>
<p>To know how to obtain the inode count of your folders, check out my next post. And if you need any help on deciding what would be the best option for you, do comment, and I&#8217;ll be happy to help you out.</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/03/09/inodes-attack-part2/" title="The return of the inodes - tell me your package and I&#8217;ll tell you your inodes">The return of the inodes - tell me your package and I&#8217;ll tell you your inodes (4)</a></li><li><a href="http://www.olivetalks.com/2008/03/05/inodes-attack-part1/" title="The attack of the inodes - how to find out your number">The attack of the inodes - how to find out your number (3)</a></li><li><a href="http://www.olivetalks.com/2008/01/21/php_ini-fiasco-with-moodle/" title="php.ini, symlink and moodle: I&#8217;m calling it the php.ini fiasco">php.ini, symlink and moodle: I&#8217;m calling it the php.ini fiasco (0)</a></li><li><a href="http://www.olivetalks.com/2008/01/17/register_globals-off-and-php4/" title="Register_Globals Off  and PHP4">Register_Globals Off  and PHP4 (1)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/03/04/hostgator-pros-cons/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Do you RAID? (part 2)</title>
		<link>http://www.olivetalks.com/2008/03/02/do-you-raid-part-2/</link>
		<comments>http://www.olivetalks.com/2008/03/02/do-you-raid-part-2/#comments</comments>
		<pubDate>Sun, 02 Mar 2008 18:58:31 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[data storage]]></category>

		<category><![CDATA[high availability]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[raid]]></category>

		<category><![CDATA[reliability]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/03/02/do-you-raid-part-2/</guid>
		<description><![CDATA[RAID is a mature technology which can be used to provide high availability for the data storage while also increasing the storage performance. In this article ZoltarStark explains the general characteristics of RAID-01, RAID-10, RAID-50 and RAID-51. The points covered are - redundancy level, storage efficiency, read and write performance, relative advantages and disadvantages.]]></description>
			<content:encoded><![CDATA[<p><a href="/2008/02/24/do-you-raid-part-1/">Last week</a> I introduced the basics of RAID and described RAID levels 0, 1, 5 and 6. Today I will talk about RAID levels 0+1, 1+0, 5+0 and 5+1 - also known as RAID-01, RAID-10, RAID-50 and RAID-51.</p>
<p>These four RAID levels are examples of <em>nested RAID levels</em>. These RAID configurations are created by combining two simple RAID configurations like for example RAID-0 and RAID-1 into a more complex set-up which offers better performance and better redundancy than each of the single RAID levels. The general approach to creating a nested RAID is to divide the disks into sets of the same size. Each set is then used to create a RAID array. These arrays are usually called <em>nested arrays</em>. Then another RAID is created from the nested arrays. Usually nested RAID levels are created by combining two RAID levels which complement each other&#8217;s strengths and weaknesses. Note: regardless of which RAID level you are using remember that <em>raid is not backup</em>. For a short list of risks from which RAID cannot protect you see <a href="/2008/02/24/do-you-raid-part-1/">my previous post</a>.</p>
<p>Let&#8217;s start with <strong>RAID-01</strong>. This RAID level is constructed from an even number of disks, usually four. It is set up by first creating two RAID-0 configurations and then a RAID-1 on top of them. The RAID-1 uses the RAID-0 nested arrays as its components instead of just plain disks. RAID-01 combines features of RAID-0 and RAID-1. The effective size of your storage in an N disk RAID-01 is going to be equal (N/2) times the size of the smallest disk in RAID. The read and write performance is two times that of RAID-1 created with 2 disks. If any disk fails in RAID-01 the whole RAID-0 nested array will be unavailable but your data will be still safe on the second RAID-0 nested array. RAID-01 can survive failure of the second disk from the same RAID-0 nested array but since it won&#8217;t be used at this point anyway this doesn&#8217;t really offer any additional redundancy compared with RAID-1. After any disk in RAID-01 fails the data is still available but you need to replace it as soon as possible otherwise when any disk in the other RAID-0 nested array fails you’ll have to restore all your data from the backups. <em>You do have backups, don’t you?</em></p>
<blockquote><p> Example: RAID-01 with four disks: A, B, C and D.<br />
Disks A and B are combined into one RAID-0 nested array, disks C and D into another.<br />
The whole RAID-01 array can survive simultaneous failure of two disks without any data loss if the failing disks are: A+B or C+D.<br />
If A+C, A+D, B+C or B+D fail you lose your data.</p></blockquote>
<p><strong>RAID-10</strong> uses a similar approach as RAID-01 but offers better redundancy. RAID-10 also requires an even number of disks, minimum four. It is set up by creating two RAID-1 configurations and then combining them with RAID-0. The RAID-0 uses the RAID-1 arrays as its components. The effective storage size is the same as for RAID-01 and is equal (N/2) times the size of the smallest disk. The read and write performance is the same as of RAID-01. The advantage of RAID-10 is that it can deal with two simultaneous disk failures as long as both failures are in different RAID-1 nested arrays. For a four disk RAID-10 array the probability that the second disk failure will be in a different RAID-1 pair than the first is 66.6% which is pretty good. After any disk in RAID-10 fails the data is still available but you need to replace it as soon as possible otherwise when another disk in the same RAID-1 nested array fails you’ll have to restore all your data from the backups. <em>You do have backups, don’t you?</em></p>
<blockquote><p> Example: RAID-10 with four disks: A, B, C and D.<br />
Disks A and B are combined into one RAID-1 nested array, disks C and D into another.<br />
The whole RAID-10 array can survive simultaneous failure of two disks without any data loss if the failing disks are: A+C, A+D, B+C or B+D.<br />
If A+B or C+D fail you lose your data.</p></blockquote>
<p><strong>RAID-50</strong> is similar to RAID-10 but instead of composing RAID-0 out of two RAID-1 arrays it uses RAID-5 arrays as its building blocks. RAID-50 requires an even number of disks, at least six. The effective storage size of RAID-50 is equal [(N/2)-1] times the size of the smallest disk. The read and write performance is two times that of RAID-5 created with half the amount of disks. RAID-50 can deal with two simultaneous disk failures (similarly as RAID-10) as long as the failed disks are in different RAID-5 nested arrays. For a six disk RAID-50 array the probability that the second disk failure will be in a different RAID-5 nested array than the first is 60%. After any disk in RAID-50 fails the data is still available but you need to replace it as soon as possible otherwise when another disk in the same RAID-5 nested array fails you’ll have to restore all your data from the backups. <em>You do have backups, don’t you?</em></p>
<blockquote><p> Example: RAID-50 with six disks: A, B, C, D, E and F.<br />
Disks A, B and C are combined into one RAID-5 nested array, disks D, E and F into another.<br />
The whole RAID-50 array can survive simultaneous failure of two disks without any data loss if the failing disks are: A+D, A+E, A+F, B+D, B+E, B+F, C+D, C+E or C+F.<br />
If A+B, A+C, B+C, D+E, D+F, or E+F fail you lose your data.</p></blockquote>
<p><strong>RAID-51</strong> is a very rare configuration and sometimes is called <em>&#8220;RAID for very very paranoid&#8221;</em>. It&#8217;s similar to RAID-01 but instead of building a RAID-1 out of RAID-0 arrays it uses RAID-5 arrays as its components. RAID-51 requires an even number of disks, at least six. The effective storage size of RAID-51 is the same as of RAID-50 and equal [(N/2)-1] times the size of the smallest disk. The read performance is equal to RAID-5 with N/2 disks - it can be double if the reads are using both RAID-1 mirrors in parallel. The write performance is equal to RAID-5 with N/2 disks and cannot be improved. RAID-51 can handle <strong>three simultaneous disk failures</strong> regardless of which disks failed. RAID-50 can survive even more simultaneous disk failures as long as at least one of the RAID-5 nested arrays has only one failed disk. After three disks in RAID-50 fail the data is still available but you need to replace at least one of them as soon as possible otherwise when another disk fails you’ll have to restore all your data from the backups. <em>You do have backups, don’t you?</em></p>
<blockquote><p> Example: RAID-51 with six disks: A, B, C, D, E and F.<br />
Disks A, B and C are combined into one RAID-5 nested array, disks D, E and F into another.<br />
The whole RAID-51 array can survive simultaneous failure of more than three disks without any data loss if at least two disks in either of the two nested arrays are OK.<br />
If both nested arrays had two disk failures you would lose your data.</p></blockquote>
<p>This concludes the RAID mini series. If you want to find out more about RAID I recommend the <a href="http://www.storagereview.com/guide2000/ref/hdd/perf/raid/index.html" title="Redundant Arrays of Inexpensive Disks (RAID)">reference guide</a> at storagereview.com website.</p>
<p>Any questions about RAID? Write a comment and I&#8217;ll get back to you.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/02/24/do-you-raid-part-1/" title="Do you RAID? (part 1)">Do you RAID? (part 1) (3)</a></li><li><a href="http://www.olivetalks.com/2008/04/14/xen-centos-pe2950/" title="Xen and CentOS 5.1 on PowerEdge 2950">Xen and CentOS 5.1 on PowerEdge 2950 (0)</a></li><li><a href="http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/" title="Automatic backup of Windows computers using Linux">Automatic backup of Windows computers using Linux (0)</a></li><li><a href="http://www.olivetalks.com/2008/02/08/thats-how-ive-learned-to-like-jazz/" title="That&#8217;s how I&#8217;ve learned to like Jazz">That&#8217;s how I&#8217;ve learned to like Jazz (2)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/03/02/do-you-raid-part-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Do you RAID? (part 1)</title>
		<link>http://www.olivetalks.com/2008/02/24/do-you-raid-part-1/</link>
		<comments>http://www.olivetalks.com/2008/02/24/do-you-raid-part-1/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 12:38:41 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[data storage]]></category>

		<category><![CDATA[high availability]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[raid]]></category>

		<category><![CDATA[reliability]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/02/24/do-you-raid-part-1/</guid>
		<description><![CDATA[RAID is a mature technology which can be used to provide high availability for the data storage while also increasing the storage performance. In this article ZoltarStark explains the general characteristics of RAID-0, RAID-1, RAID-5 and RAID-6. The points covered are - redundancy level, storage efficiency, read and write performance, relative advantages and disadvantages.]]></description>
			<content:encoded><![CDATA[<p>Do you need access to your data 24/7? Do you need fast access to your data? If the answer to any of these questions is yes you should use RAID for your data storage.</p>
<p>What is RAID? It&#8217;s an acronym meaning either &#8220;Redundant Array of Independent Disks&#8221; or &#8220;Redundant Array of Inexpensive Disks&#8221;. The two meanings are just something inherited from the past, many times both meanings apply. The basic idea is that you store the data on more than one disk and by using a few pretty cool ideas you can protect your data from problems like a failing disk and/or increase the performance of the storage system. An important thing to remember is that <em><strong>RAID is not a substitute for backup</strong></em>. While RAID can guarantee that you can still access all your data even if some of the disks are not working it won&#8217;t help if you accidentally delete the wrong file, your data gets wiped out by a virus, a power supply failure in your computer fries all your disks, a disgruntled employee deletes files on purpose or formats a disk, a hacker gets into your system, your disks get stolen, the building burns or gets flooded, a hostile country starts dropping bombs in your location, a meteorite strikes your home &#8230; do you get the point? To protect yourself from these situations you need a backup, preferably stored off-site. If the meteorite is very big you better keep your backups very far away, like on another planet. After all we know what happened to the dinosaurs, right? They obviously had no backups&#8230;</p>
<p>RAID can be setup in many different ways, these configurations are described as RAID levels. Most common RAID levels are RAID-0, RAID-1, RAID-5 and RAID-6. There are also nested RAID levels like RAID-10 or RAID-50 where multiple RAID setups are placed on top of each other to provide more functionality than each of the individual levels. Each RAID level can be implemented either using specialized hardware or software. Today I will talk about RAID levels 0, 1, 5 and 6. Nested RAID levels will be the topic of the following post.</p>
<p>Let&#8217;s start with <strong>RAID-0</strong>, which is not really RAID in a sense that it doesn&#8217;t provide any redundancy. What RAID-0 does is that it provides higher performance for the storage. In RAID-0 data is spread over multiple disks in so called stripes. Basically each file (unless it&#8217;s very small) is stored on all the disks in the storage. The advantage is that when you want to read the file the system can read each piece of the file from a different disk and because of that it can do this N times faster, where N is the number of disks in your RAID. The same happens when writing. The effective size of your storage is going to be equal N times size of the smallest disk in RAID. RAID-0 provides high performance but unfortunately it doesn&#8217;t provide any redundancy for your data, in fact RAID-0 makes it more likely that you&#8217;re going to lose data. If any disk in RAID-0 fails you&#8217;re going to lose all your files since each file had a piece on this failed disk. And since there are multiple disks in RAID-0 it is more likely that one of them is going to fail than if you had just one disk. After any disk in RAID-0 fails you&#8217;ll have to restore all your data from the backups. <em>You do have backups, don&#8217;t you?</em></p>
<p>A different approach is taken with <strong>RAID-1</strong>. This scheme fully deserves to be called RAID since it does provide redundancy for the data. In RAID-1 all data is stored on all the disks in RAID. Usually RAID-1 is used with 2 disks since this is most economical. You can use 3 or more disks in RAID-1 but if you really need this level of availability for your data then maybe you should look into other solutions like clustered storage. The biggest disadvantage of RAID-1 is the effective size of your storage is going to be equal to the size of the smallest disk in RAID. In terms of performance RAID-1  can provide an improvement when reading files (depending on the implementation different fragments of the file can be read from different disks since they all contain the same data) similar to RAID-0 but the write performance is the same as for a single disk (all data has to be written to each disk). When a disk fails in RAID-1 the data is still available but you need to replace it as soon as possible otherwise when the other disk fails you&#8217;ll have to restore all your data from the backups. <em>You do have backups, don&#8217;t you?</em></p>
<p>Another common RAID scheme is called <strong>RAID-5</strong>. RAID-5 requires at least 3 disks to be used. It provides redundancy and also increased performance. In RAID-5 each data block is stored on one disk only but an additional information (called parity) for each block is stored on a different disk. The parity is a checksum which can be used by the system to recover data in case of disk failure. The parity information is spread over all the disks. This is done in such a way that the system can tolerate the failure of any one disk and not lose any data. The effective size of storage with RAID-5 is equal to (N-1) times the size of the smallest disk. Read performance of RAID-5 can approach (N-1) times that of a single disk. Write performance is rather poor since each write requires updating not only the data but also the parity information. The usual method to improve the write performance is to include cache memory in the RAID controller. RAID-5 is best used for systems where on average the number of reads highly exceeds the number of writes. When a disk in RAID-5 fails the data is still available but you need to replace the failed disk as soon as possible since from that point any further disk loss will mean you&#8217;ll have to restore all your data from the backups. <em>You do have backups, don&#8217;t you?</em></p>
<p>An improvement on RAID-5 in terms of data redundancy is <strong>RAID-6</strong>. The difference here is that in RAID-6 parity is calculated twice independently and is stored on two disks. RAID-6 requires at least 4 disks to be used. Similar as with RAID-5 the parity information is spread over all the disks. The advantage is that the system can now survive the failure of any two disks without losing any data. The disadvantage is that the effective size of the storage is reduced to (N-2) times the size of the smallest disk. Performance of RAID-6 is a bit lower than of RAID-5 due to additional parity data. RAID-6 makes more sense with larger arrays (N&gt;=12) because of the increased probability of double simultaneous disk failure. When two disks in RAID-6 fail the data is still available but you need to replace at least one of the failed disks as soon as possible since any further disk failure will mean you&#8217;ll have to restore all your data from the backups. <em>You do have backups, don&#8217;t you?</em></p>
<p>Next week I&#8217;ll talk about nested RAID levels: RAID-01, RAID-10, RAID-50 and RAID-51 in <a href="/2008/03/02/do-you-raid-part-2/" title="do-you-raid-part-2">Do you RAID? (part 2)</a>.</p>
<p>Any questions about RAID? Write a comment and I&#8217;ll get back to you.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/03/02/do-you-raid-part-2/" title="Do you RAID? (part 2)">Do you RAID? (part 2) (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/14/xen-centos-pe2950/" title="Xen and CentOS 5.1 on PowerEdge 2950">Xen and CentOS 5.1 on PowerEdge 2950 (0)</a></li><li><a href="http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/" title="Automatic backup of Windows computers using Linux">Automatic backup of Windows computers using Linux (0)</a></li><li><a href="http://www.olivetalks.com/2008/02/08/thats-how-ive-learned-to-like-jazz/" title="That&#8217;s how I&#8217;ve learned to like Jazz">That&#8217;s how I&#8217;ve learned to like Jazz (2)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/02/24/do-you-raid-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Automatic backup of Windows computers using Linux</title>
		<link>http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/</link>
		<comments>http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 09:05:32 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[rsnapshot]]></category>

		<category><![CDATA[samba]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/</guid>
		<description><![CDATA[Learn how to setup automatic backups of Windows computers using only free Linux software. The solution stores the backups on a Linux server using rsnapshot, samba and autofs.]]></description>
			<content:encoded><![CDATA[<p>Quite a common setup for people is to use Windows PCs with Linux servers. This configuration allows you to benefit from a stable, standard based and secure server platform which doesn&#8217;t burn a whole in your pocket while letting the users continue operating the tools they know. A usual solution is to run <a href="http://www.samba.org/">samba</a> on a Linux server which can then act as a Windows Domain Controller. This allows Windows clients to log on to the domain and access file and printer shares on the server. Of course you can also have Linux clients integrated in that configuration but this is not going to be the subject of this article.</p>
<p>Usually the Windows PCs store the user profiles on the server. Backing the user profiles can then be done as part of backing up the whole server. You might have some other files though which are not part of the user profile. Backing up these files can be easily done using <a href="http://www.rsnapshot.org/">rsnapshot</a> and <a href="http://wiki.autofs.net/">autofs</a>.</p>
<p>We&#8217;ll use autofs to setup file sharing between the Windows PCs and the Linux server. This is especially useful for computers which are not always connected to the network like laptops, although people do turn off their desktops as well from time to time. What autofs allows us to do is to activate file sharing only when it&#8217;s needed for the purpose of doing a backup.</p>
<p>Performing the actual backup will be done using rsnapshot. This tool, which I already mentioned in a <a href="/2008/02/08/thats-how-ive-learned-to-like-jazz/">previous post</a>, allows space efficient backups which are stored incrementally while offering ease of access usually associated with full backups.</p>
<p>Before setting up autofs we need to <a href="http://www.balliol.ox.ac.uk/comp/shares/index.asp">create a network share</a> on the Windows PC. Remember the user and the password since we&#8217;ll need them later on. In this article I&#8217;m going to assume the user name is <em>backup</em> and the password is <em>secret</em> but you should use something more difficult to guess depending on your security requirements. I&#8217;m also assuming the Windows domain is called <em>company</em>. On the Linux server you then need to make sure you&#8217;ve got <em>autofs</em> installed. Installation of <em>autofs</em> is not covered here but usually it&#8217;s as simple as executing <code>yum install autofs</code>. You need to edit <code>/etc/auto.master</code> file and add this line</p>
<p><code>/smb /etc/auto.windows --timeout=60</code></p>
<p>Then you create the file <code>/etc/auto.windows</code> containing the following, in a single line:</p>
<p><code><em>&lt;share&gt;</em> -fstype=smbfs,<br />
credentials=/etc/auto.windows.<em>&lt;credentials file&gt;</em>,<br />
uid=<em>&lt;user&gt;</em>,gid=<em>&lt;group&gt;</em>,<br />
fmask=0755,dmask=0755  ://<em>&lt;windows PC&gt;</em>/<em>&lt;network share&gt;</em></code></p>
<p>This must be written on a single line, with no separating spaces starting from <code>-fstype</code> to <code>dmask=0755</code></p>
<p><code>&lt;share&gt;</code> is the name of directory where you want to mount the network share from Windows PC.</p>
<p><code>/etc/auto.windows.&lt;credentials file&gt;</code> is the name of file where you store the user name and password needed to access the network share on Windows PC. In our case it will look like this:</p>
<p><code>username = backup<br />
password = secret<br />
domain = company<br />
</code></p>
<p>After these preparations it&#8217;s time to tell the <em>autofs</em> daemon about these changes by executing <code>service autofs reload</code> or a corresponding command. You should be able now to see that the network share gets automatically mounted when you execute <code>ls /smb/&lt;share&gt;</code>. After 60 seconds the share will be unmounted.</p>
<p>Now the last part - setting up rsnapshot. Just follow the <a href="http://www.rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html">instructions</a> for rsnapshot as if the directory <code>/smb/&lt;share&gt;</code> was local. Thanks to <em>autofs</em>, rsnapshot doesn&#8217;t need to know that it&#8217;s really on a different computer running Windows. Remember to set up a cron job if this is your first time you&#8217;re using <em>rsnapshot</em>.</p>
<p>That&#8217;s it. You&#8217;ve configured an automatic backup of a Windows computer using Linux. You can repeat this procedure on further Windows clients.</p>
<p>P.S. Another approach is described <a href="http://www.stillnetstudios.com/2006/12/09/snapshot-backups-howto/">here</a> but it has the drawback that it requires installing additional software on the Windows PCs.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li><li><a href="http://www.olivetalks.com/2008/02/08/thats-how-ive-learned-to-like-jazz/" title="That&#8217;s how I&#8217;ve learned to like Jazz">That&#8217;s how I&#8217;ve learned to like Jazz (2)</a></li><li><a href="http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/" title="Convert videos to audio">Convert videos to audio (1)</a></li><li><a href="http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/" title="I can&#8217;t stop smiling&#8230; we got an Asus Eee PC! ">I can&#8217;t stop smiling&#8230; we got an Asus Eee PC!  (2)</a></li><li><a href="http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/" title="USB in Xen - how to make it work">USB in Xen - how to make it work (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to feed Google properly</title>
		<link>http://www.olivetalks.com/2008/02/18/how-to-feed-google-properly/</link>
		<comments>http://www.olivetalks.com/2008/02/18/how-to-feed-google-properly/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 09:08:16 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Blogs]]></category>

		<category><![CDATA[Computers]]></category>

		<category><![CDATA[blog]]></category>

		<category><![CDATA[Search Engine Optimization]]></category>

		<category><![CDATA[SEO]]></category>

		<category><![CDATA[title tags]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/02/18/how-to-feed-google-properly/</guid>
		<description><![CDATA[Optimize your SEO ranking using free WordPress plug-in. Learn how to specify title tag separately from the post title.]]></description>
			<content:encoded><![CDATA[<p>This article is going to explain how to properly use the title tags in your Wordpress posts to improve your search engine rankings. The post is applicable to all search engines, including all the big three: Google, Yahoo and MSN.</p>
<p>First let me introduce the meaning of the title tags since while discussing the topic with LadyRostand we realized it&#8217;s not as clear as we thought. It all started in 1980 &#8230; - OK let&#8217;s not go back so far, even though the beginnings of HTML are really related to the matter at hand. The title tag is what your web browser displays in the title bar. It&#8217;s basically the title of the page. Big deal, you say, I knew that. Sure, it&#8217;s not a big deal, it&#8217;s rather simple. The big deal is that when Google, Yahoo, MSN or any other search engine is indexing your page they pay big attention to this title. Why? The title is supposed to be a summary of your post. It&#8217;s not supposed to be witty or funny. It&#8217;s just a summary.</p>
<p align="center"><a href="/wp-content/uploads/2008/02/jazz-title-tag-titles.png" title="jazz-title-tag-titles.png"><img src="/wp-content/uploads/2008/02/jazz-title-tag-titles-300px.png" alt="jazz-title-tag-titles-300px.png" /></a></p>
<p>So if you write a post about installing an <a href="/2008/02/08/thats-how-ive-learned-to-like-jazz/">external USB enclosure</a> you better give it a good Google friendly title tag. Like for example: &#8220;Enermax EB307S-B Jazz: installing external USB enclosure&#8221; rather than &#8220;That’s how I’ve learned to like Jazz&#8221;. Now the second one is funnier but Google has no sense of humor (quite a big shortcoming if you ask me) and it interprets the title tags rather literally. After seeing the title tag it will &#8220;make up its mind&#8221; about what should be the content of the page. If the page content doesn&#8217;t match it will lower your ranking in the search engine results. Why? How would you like to see a page about penguins (or more likely porn if you&#8217;re using the same Internet as I do) when you were searching for rabbits? See, if the search engines didn&#8217;t compare the page content with the page title they would allow pages to be ranked high for results to which they are not relevant. I think I&#8217;m mumbling here a bit. Basically it&#8217;s a technique to prevent or at least reduce web spam.</p>
<p>Back to the &#8220;That’s how I’ve learned to like Jazz&#8221; post. So far you know that the title tag as seen by the search engines should be relevant to the content of the post. It should be even <a href="http://blogbusinessworld.blogspot.com/2005/05/title-tags-simple-seo_111726863634203615.html">devoid of articles</a> and include <a href="http://www.geocities.com/frakilk/seo-title-tag.html">relevant keywords</a>. Now it starts to sound more like a super concentrated abstract. In fact, that&#8217;s what it is. The problem is that this super concentrated soup of keywords is not very human friendly and believe me you are really writing for humans not for search engines.</p>
<p>OK, so is there a way to have nice human friendly post titles where you can show off your wit and at the same time allow for high keyword concentration in the title tag? Yes, it&#8217;s possible. In fact, if you&#8217;re using Wordpress for your blog it&#8217;s just one plug-in away. The plug-in we&#8217;re using here at olivetalks is called <a href="http://wordpress.org/extend/plugins/seo-title-tag/#post-808">SEO Title Tag</a>. Once you install it you can have a separate post title for human consumption and a title tag to feed the search engines.</p>
<p>Installing SEO Title Tag plug-in is rather simple. First download it from <a href="http://wordpress.org/extend/plugins/seo-title-tag/#post-808">this location</a>. Then you need to unzip the file and upload the whole <code>seo-title-tag</code> directory to the <code>wp-content/plugins</code> directory of your blog. After that you activate the plug-in using Wordpress admin. The default options are just fine so you don&#8217;t need to change them. Editing the Header in Theme Editor is also unnecessary even though it&#8217;s included in the plug-in installation instructions.</p>
<p>With SEO Title Tag plug-in already installed you can now see &#8220;Title Tags&#8221; under &#8220;Manage&#8221; in the Wordpress admin. Here&#8217;s where you can quickly mass update the title tags of your existing posts. You can also do it by editing individual posts - you&#8217;ll notice a new field &#8220;Title Tag (optional)&#8221; which appears below &#8220;Save&#8221; button. The field &#8220;Title Tag (optional)&#8221; will also appear when you edit a new post.</p>
<p>In this post you can see that the title of the post (for humans) is different than the title which appears in the title bar (for search engines). So now everybody is well fed&#8230; and happy.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/05/04/how-to-write-a-great-blog-post/" title="How to write a great blog post?">How to write a great blog post? (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/12/the-5-stages-of-bloggers/" title="The 5 stages of bloggers">The 5 stages of bloggers (3)</a></li><li><a href="http://www.olivetalks.com/2008/04/08/blogging-strategies-length-frequency-and-topics/" title="Blogging strategies: length, frequency and topics">Blogging strategies: length, frequency and topics (3)</a></li><li><a href="http://www.olivetalks.com/2008/04/05/olivetalks-three-months/" title="Today olivetalks celebrates three months">Today olivetalks celebrates three months (5)</a></li><li><a href="http://www.olivetalks.com/2008/03/09/inodes-attack-part2/" title="The return of the inodes - tell me your package and I&#8217;ll tell you your inodes">The return of the inodes - tell me your package and I&#8217;ll tell you your inodes (4)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/02/18/how-to-feed-google-properly/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Xen p2v conversion in seven simple steps</title>
		<link>http://www.olivetalks.com/2008/02/16/xen-p2v-conversion-in-seven-simple-steps/</link>
		<comments>http://www.olivetalks.com/2008/02/16/xen-p2v-conversion-in-seven-simple-steps/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 11:18:20 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[CentOS]]></category>

		<category><![CDATA[fully virtualized]]></category>

		<category><![CDATA[HVM]]></category>

		<category><![CDATA[IDE]]></category>

		<category><![CDATA[p2v]]></category>

		<category><![CDATA[RHEL]]></category>

		<category><![CDATA[SCSI]]></category>

		<category><![CDATA[xen]]></category>

		<category><![CDATA[Xen guest]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/02/16/xen-p2v-conversion-in-seven-simple-steps/</guid>
		<description><![CDATA[Easily convert a physical Linux machine to a HVM guest running under Xen. Follow seven simple steps.]]></description>
			<content:encoded><![CDATA[<p>Xen is one of the currently available virtualization technologies. The commercially supported version is now owned by Cytrix while the Open Source community edition is available at<a href="http://xen.org/"> xen.org</a>. In this article I&#8217;ll be referring to the Open Source edition of Xen, version 3.0.3 which is available by default on CentOS 5.1.</p>
<p>I&#8217;ve recently performed two conversions of physical hosts to Xen guests running on CentOS 5.1 host. The physical hosts were running RHEL 3.7 and CentOS 4.6. It is important to know that after the conversion you end up with a fully virtualized guest - HVM. This has its effect on the performance, especially when it comes to I/O. It is a general limitation of fully virtualized Xen guests and not of this particular P2V method. I don&#8217;t recommend using it for virtualizing for example a file server. In such a case your only real choice is to create a new paravirtualized guest and migrate the services. This article won&#8217;t be describing that approach.</p>
<p>These instructions are based on the <a href="http://www.linuxjournal.com/article/9942">article</a> by Kyle Rankin. I&#8217;ve adapted it for Xen and added comments on those things which did cause me trouble. The instructions have been used to virtualize RHEL and CentOS servers to run as Xen guests on CentOS 5.1 but you should be able to use most of them for other distributions.</p>
<p><strong>First step</strong> in the conversion is to create LVM volume(s) in the Xen host to be used by the guest. To figure out how much space you need,   have a look at the physical server you want to virtualize. Each LVM volume will be visible in the guest as a separate hard disk. Note that HVM guests support only up to four disks. You will partition the disks from inside the guest in step two.</p>
<p><strong>Second step</strong> is to create a new HVM guest and boot it from a bootable rescue CD/DVD. You should use a rescue CD which matches the architecture of the physical host being virtualized. In step four you need to run <code>chroot</code> command on the guest and it won&#8217;t work if you try for example a 32 bit rescue CD on a 64 bit system. After you have already booted the guest from a rescue CD you need to create partitions to match the physical host. The easiest thing is to match exactly the number and sizes of partitions on the physical system. You can also put several file systems which were on separate partitions on the physical server on a single partition on the guest as long as you prepare enough space.</p>
<p><strong>Third step</strong> is to copy files from the physical server to the guest. This can take some time, so depending on whether you want to minimize the downtime you can do it either in one step or in two. Both methods use <code>rsync</code> command.  The second method is described by Kyle in his <a href="http://www.linuxjournal.com/article/9942">article</a>. The first method is basically the same but you only do the final synchronization. If you use a single transfer method you don&#8217;t need to use the <code>--delete</code> parameter for the final (and in this case the only) synchronization. The single transfer method is faster but it might not be available for you if you need to minimize the downtime.</p>
<p><strong>Fourth step</strong> is to adjust the boot settings in the guest. Without that the guest won&#8217;t boot. To do that make sure all the guest file systems are mounted and <code>chroot</code> into the guest root file system. From there you need to adjust the boot loader configuration. I use GRUB on my systems. For instructions on adjusting LILO you&#8217;ll have to look elsewhere.</p>
<p>First you need to change the file <code>/boot/grub/device.map</code>. If you see <code>/dev/sda</code> there you need to replace it with <code>/dev/hda</code>. This should represent your boot drive. Also verify that the guest boot partition is in <code>/etc/mtab</code>. After that you execute <code>grub-install /dev/hda</code>.</p>
<p>Another file which needs modifications is <code>/etc/grub.conf</code>. Pay attention to the lines starting with <code>boot=</code> and <code>splashimage=</code> as they probably need adjusting. The boot parameters need to be updated as appropriate. The important entries are <code>root (hd0,0)</code> and <code>root=</code> kernel parameter. Note that the first one selects the boot partition while the second selects the partition for the root file system. So for example if the boot partition is in <code>/dev/hda3</code> and root partition is <code>/dev/hda1</code> these entries should look <code>root (hd0,2)</code> (here the partitions are counted starting from zero) and <code>root=/dev/hda1</code> (here they are counted from one).</p>
<p><strong>Fifth step</strong> is to generate a new initrd file for the guest. First copy the existing initrd file somewhere in case you need it later. Then adjust the <code>/etc/modules.conf</code> or <code>/etc/modprobe.conf file</code> (only one will be present depending on the distribution and OS version). Remove all entries starting with <code>alias scsi_hostadapter</code>. After that you can run <code>mkinitrd</code> command. I recommend you use <code>-v</code> parameter for <code>mkinitrd</code>. This will list all the modules which will be included in the initrd. You will probably need at least libata and ata_piix - even if the physical server uses SCSI disks the HVM guest will use IDE. This depends on the OS of the physical machine you&#8217;re virtualizing because it was only important when I was converting the RHEL 3.7 server but not with CentOS 4.6. If they&#8217;re missing you can add them using <code>--with=</code> parameter. Another advice in case you need to verify the content of initrd file (probably because the guest doesn&#8217;t boot): take into account that older versions of <code>mkinitrd</code> produce just a gzipped ext2 filesystem while the newer ones create a gzipped cpio archive.</p>
<p><strong>Sixth step</strong> is to adjust the network settings and mount points for the guest. The configuration files you need to edit to change network settings are in <code>/etc/sysconfig/network-scripts</code>. Most likely you will have at least <code>ifcfg-eth0</code>. RHEL and CentOS usually specify the MAC address of the network adapter there so you need to change it to match with the MAC address of your guest. Otherwise when the guest boots the interface might not get activated. If you want to change the IP address of the guest you can also do it although I&#8217;d recommend to leave it for later when you already know the guest works. For the initial boot it should be easier if the guest runs with the same IP address as was used before by the physical server.</p>
<p>You also need to edit file <code>/etc/fstab</code> to match with the partition scheme defined for the guest.</p>
<p><strong>Seventh step</strong> is to boot the HVM guest which will be now able to replace the physical server. In order to avoid conflicts you should either power down the physical server, disconnect it from the network or change its IP address(es). After that you can reboot the Xen guest. If you followed the instructions and if the initrd file contains all required modules the system should boot and start all the configured services. If you&#8217;re using <code>kudzu</code> it will ask you a few questions about removed/added hardware. Kyle suggests to select &#8220;Keep Configuration&#8221; for any removed SCSI or network hardware, and select &#8220;Ignore&#8221; for any added SCSI or network hardware. If you are prompted about any removed video, sound, USB and similar hardware you can safely select &#8220;Remove Configuration&#8221;. When booting finishes verify that all required service are running and that you have network connectivity from within the guest.</p>
<p>That&#8217;s it. You should have now a fully virtualized guest running on the Xen host which has the same configuration as the physical server it replaces. It would be a good idea to perform this process first on a test physical server so you have more time to figure out solutions to any problems you may encounter.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/04/14/xen-centos-pe2950/" title="Xen and CentOS 5.1 on PowerEdge 2950">Xen and CentOS 5.1 on PowerEdge 2950 (0)</a></li><li><a href="http://www.olivetalks.com/2008/02/03/usb-forwarding-on-xen-it-just-does-not-work/" title="USB forwarding on Xen - it just does not work">USB forwarding on Xen - it just does not work (0)</a></li><li><a href="http://www.olivetalks.com/2008/01/24/usb-forwarding-on-xen/" title="USB forwarding on Xen">USB forwarding on Xen (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/" title="USB in Xen - how to make it work">USB in Xen - how to make it work (0)</a></li><li><a href="http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/" title="How to Xenify office servers">How to Xenify office servers (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/02/16/xen-p2v-conversion-in-seven-simple-steps/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.429 seconds -->
