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

<channel>
	<title>Somewhere out there! &#187; Linux</title>
	<atom:link href="http://stateless.geek.nz/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://stateless.geek.nz</link>
	<description></description>
	<lastBuildDate>Sun, 18 Oct 2009 11:03:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>vmbuilder, virtio and fstab</title>
		<link>http://stateless.geek.nz/2009/08/14/vmbuilder-virtio-and-fstab/</link>
		<comments>http://stateless.geek.nz/2009/08/14/vmbuilder-virtio-and-fstab/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 00:26:06 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kvm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=688</guid>
		<description><![CDATA[nic@vm-base:~$ sudo blkid /dev/vda2
/dev/vda2: UUID=&#8221;0c75b2dd-6c6f-4729-b041-0d95475dc171&#8243; TYPE=&#8221;swap&#8221;
If you install a vm with vmbuilder without virtio the swap section of /etc/fstab will use /dev/sda2 instead of /dev/vda2. You can use blkid
nic@vm-base:~$ sudo blkid
/dev/vda1: UUID="bac299c4-c545-46ca-aed3-26da4a56f6d7" TYPE="ext3"
/dev/vda2: TYPE="swap" UUID="0c75b2dd-6c6f-4729-b041-0d95475dc171"
/dev/vdb: UUID="jIkLcQ-zXUo-KIWR-zvmm-cpKP-9PpT-eE9RY3" TYPE="lvm2pv"
and then add this UUID to fstab:
nic@vm-base:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# &#60;file system&#62;    [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">nic@vm-base:~$ sudo blkid /dev/vda2</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/dev/vda2: UUID=&#8221;0c75b2dd-6c6f-4729-b041-0d95475dc171&#8243; TYPE=&#8221;swap&#8221;</div>
<p>If you install a vm with vmbuilder without virtio the swap section of /etc/fstab will use /dev/sda2 instead of /dev/vda2. You can use blkid</p>
<pre>nic@vm-base:~$ sudo blkid
/dev/vda1: UUID="bac299c4-c545-46ca-aed3-26da4a56f6d7" TYPE="ext3"
/dev/vda2: TYPE="swap" UUID="0c75b2dd-6c6f-4729-b041-0d95475dc171"
/dev/vdb: UUID="jIkLcQ-zXUo-KIWR-zvmm-cpKP-9PpT-eE9RY3" TYPE="lvm2pv"</pre>
<div>and then add this UUID to fstab:</div>
<pre style="padding-left: 30px;">nic@vm-base:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# &lt;file system&gt;                                 &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
proc                                            /proc           proc    defaults        0       0
/dev/sda1                                       /               ext3    defaults        0       0
UUID="0c75b2dd-6c6f-4729-b041-0d95475dc171"     swap            swap    defaults        0       0</pre>
<p>in order to get swap working with different driver types.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/08/14/vmbuilder-virtio-and-fstab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running KVM</title>
		<link>http://stateless.geek.nz/2009/08/13/running-kvm/</link>
		<comments>http://stateless.geek.nz/2009/08/13/running-kvm/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 21:50:45 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kvm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualisation]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2009/08/13/running-kvm/</guid>
		<description><![CDATA[I&#8217;ve started running KVM recently and I&#8217;ll post a review at some point.  I&#8217;m finding it very flexible and much much easier to use that Xen.
There are still a few questions regarding file caches and disk images. In general I&#8217;m happy that it&#8217;s ready for production.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started running KVM recently and I&#8217;ll post a review at some point.  I&#8217;m finding it very flexible and much much easier to use that Xen.</p>
<p>There are still a few questions regarding file caches and disk images. In general I&#8217;m happy that it&#8217;s ready for production.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/08/13/running-kvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun and IBM</title>
		<link>http://stateless.geek.nz/2009/04/04/sun-and-ibm/</link>
		<comments>http://stateless.geek.nz/2009/04/04/sun-and-ibm/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 21:41:03 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=668</guid>
		<description><![CDATA[I haven&#8217;t seen much yet to confirm this deal, but if it does happen next week it mark an interesting change in course.  The thing that would interest me greatly would be zfs on linux &#8211; with Sun owned by IBM and their investment in Linux it might lead to a reconcilation between Sun and [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t seen much yet to confirm this deal, but if it does happen <a href="http://practical-tech.com/operating-system/linux/good-bye-solaris-the-fate-of-suns-top-5-technologies/">next week</a> it mark an interesting change in course.  The thing that would interest me greatly would be <a class="zem_slink" title="ZFS" rel="wikipedia" href="http://en.wikipedia.org/wiki/ZFS">zfs</a> on linux &#8211; with Sun owned by <a class="zem_slink" title="NYSE: IBM" rel="stockexchange" href="http://finance.yahoo.com/q?s=IBM">IBM</a> and their investment in <a class="zem_slink" title="Linux" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux">Linux</a> it might lead to a reconcilation between Sun and Linux licenses.  While <a class="zem_slink" title="Solaris (operating system)" rel="homepage" href="http://sun.com/solaris/">Solaris</a> has come a long way in the last couple years, but the only reason why I use solaris is zfs.  Linux is still a much more flexible, effective and deployable solution. </p>
<p> </p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/2bb04199-5703-496d-be92-9beaa16611ea/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=2bb04199-5703-496d-be92-9beaa16611ea" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/04/04/sun-and-ibm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bind &#8211; Shared subtrees</title>
		<link>http://stateless.geek.nz/2008/12/14/bind-shared-subtrees/</link>
		<comments>http://stateless.geek.nz/2008/12/14/bind-shared-subtrees/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 19:53:11 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=616</guid>
		<description><![CDATA[Shared subtrees &#8211; in depth look at bind mounts.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://glandium.org/blog/?p=218">Shared subtrees</a> &#8211; in depth look at <a href="http://stateless.geek.nz/2005/10/26/bind-mount-in-fstab/">bind</a> mounts.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2008/12/14/bind-shared-subtrees/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows client CIFS behavior can slow Linux NAS performance</title>
		<link>http://stateless.geek.nz/2008/12/12/windows-client-cifs-behavior-can-slow-linux-nas-performance/</link>
		<comments>http://stateless.geek.nz/2008/12/12/windows-client-cifs-behavior-can-slow-linux-nas-performance/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 10:30:04 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=614</guid>
		<description><![CDATA[Windows* client CIFS behavior can slow Linux* NAS performance:-

We have compared the performance of Windows* and Linux*-based CIFS* (Samba*) servers for digital media applications and found that the ext3*-based Linux server’s throughput was up to 53% lower than the Windows server’s&#8211;although both used identical hardware (Figure 1). An XFS*-based Linux server had roughly the same [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://software.intel.com/en-us/articles/windows-client-cifs-behavior-can-slow-linux-nas-performance">Windows* client CIFS behavior can slow Linux* NAS performance</a>:-</p>
<blockquote><p>
We have compared the performance of Windows* and Linux*-based CIFS* (Samba*) servers for digital media applications and found that the <a class="zem_slink" title="Ext3" rel="wikipedia" href="http://en.wikipedia.org/wiki/Ext3">ext3</a>*-based Linux server’s throughput was up to 53% lower than the Windows server’s&#8211;although both used identical hardware (Figure 1). An <a class="zem_slink" title="XFS" rel="wikipedia" href="http://en.wikipedia.org/wiki/XFS">XFS</a>*-based Linux server had roughly the same performance as the Windows server. Our investigation shows that the difference lies in the filesystem allocation and handling of sparse files. In particular, the Windows client makes an assumption that the CIFS fileserver uses <a class="zem_slink" title="NTFS" rel="wikipedia" href="http://en.wikipedia.org/wiki/NTFS">NTFS</a>*, a filesystem that assumes files will be data-full (not sparse). This contradicts a fundamental assumption of ext3&#8211;that files are sparse&#8211;and leads to fragmentation of files and degraded performance on ext3. Further, we’ve seen this behavior manifested for a broad range of media applications including iTunes*.</p></blockquote>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/489a8fa2-9d73-4395-9525-22c38b8b01af/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=489a8fa2-9d73-4395-9525-22c38b8b01af" alt="Reblog this post [with Zemanta]" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2008/12/12/windows-client-cifs-behavior-can-slow-linux-nas-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Load average and Vmware Server Hang Fix</title>
		<link>http://stateless.geek.nz/2008/12/06/load-average-and-vmware-server-hang-fix/</link>
		<comments>http://stateless.geek.nz/2008/12/06/load-average-and-vmware-server-hang-fix/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 09:37:12 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[Vmware]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=607</guid>
		<description><![CDATA[Couple useful articles from Andy Millar.

Concise and clear explaination of linux load averages.
Bug fix suggestion for VMware server which can hang on installation. Remove the floppy device. I&#8217;ve got another issue where a linux vm on vmware server hangs on startup and I&#8217;ll have to try this.

]]></description>
			<content:encoded><![CDATA[<p>Couple useful articles from Andy Millar.</p>
<ul>
<li>Concise and clear explaination of <a href="http://www.andymillar.co.uk/blog/index.php/2006/12/24/geekery/linux-load-average-explained/">linux load averages</a>.</li>
<li>Bug fix suggestion for VMware server which can <a href="http://www.andymillar.co.uk/blog/index.php/2008/03/01/geekery/vmware-server-hanging-on-installation-of-new-os/">hang</a> on installation. Remove the floppy device. I&#8217;ve got another issue where a linux vm on vmware server hangs on startup and I&#8217;ll have to try this.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2008/12/06/load-average-and-vmware-server-hang-fix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Source routing for a VPN node in Linux</title>
		<link>http://stateless.geek.nz/2008/06/01/source-routing-for-a-vpn-node-in-linux/</link>
		<comments>http://stateless.geek.nz/2008/06/01/source-routing-for-a-vpn-node-in-linux/#comments</comments>
		<pubDate>Sat, 31 May 2008 22:08:00 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[routing]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=558</guid>
		<description><![CDATA[Occansion in Linux when running a VPN you want to generate traffic from the VPN server node. By default Linux uses the IP of the interface used to route a package. The might often complicated the routing tables required at client networks.
A solution to fix this issue is to use Linux source/policy routing. For example, [...]]]></description>
			<content:encoded><![CDATA[<p>Occansion in Linux when running a VPN you want to generate traffic from the VPN server node. By default Linux uses the IP of the interface used to route a package. The might often complicated the routing tables required at client networks.</p>
<p>A solution to fix this issue is to use Linux source/policy <a href="http://linux-ip.net/gl/ip-cref/node77.html">routing</a>. For example, for node with IP 192.168.10.1 and VPN server IP 172.29.148.1, route <strong>to</strong> subnet 192.168.9.0/24 out 172.29.148.1 <strong>via</strong> 172.29.148.2 with <strong>src (source)</strong> IP 192.168.10.1:</p>
<p><code><br />
sudo ip route add to 192.168.9.0/24 src 192.168.10.1 via 172.29.148.2<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2008/06/01/source-routing-for-a-vpn-node-in-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>xfs and lvm snapshots</title>
		<link>http://stateless.geek.nz/2008/05/30/xfs-and-lvm-snapshots/</link>
		<comments>http://stateless.geek.nz/2008/05/30/xfs-and-lvm-snapshots/#comments</comments>
		<pubDate>Fri, 30 May 2008 10:31:02 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[xfs]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=555</guid>
		<description><![CDATA[You have you the following error:

kernel: XFS: Filesystem lvm(58,2) has duplicate UUID - can't mount

Using the following:

mount -o ro,nouuid /dev/vg/lvsnap /mnt/

Thanks too.
]]></description>
			<content:encoded><![CDATA[<p>You have you the following error:</p>
<p><code><br />
kernel: XFS: Filesystem lvm(58,2) has duplicate UUID - can't mount<br />
</code></p>
<p>Using the following:</p>
<p><code><br />
mount -o ro,nouuid /dev/vg/lvsnap /mnt/<br />
</code></p>
<p>Thanks <a href="http://adumont.serveblog.net/2007/03/31/xfs-and-lvm-snapshots/">too</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2008/05/30/xfs-and-lvm-snapshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up A PXE Linux Recovery / Deployment Server using Debian Lenny/Etch</title>
		<link>http://stateless.geek.nz/2008/03/01/setting-up-a-pxe-linux-recovery-deployment-server-using-debian-lennyetch/</link>
		<comments>http://stateless.geek.nz/2008/03/01/setting-up-a-pxe-linux-recovery-deployment-server-using-debian-lennyetch/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 01:35:34 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[pxe]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2008/03/01/setting-up-a-pxe-linux-recovery-deployment-server-using-debian-lennyetch/</guid>
		<description><![CDATA[A clear guide for setting up a PXE Linux Recovery / Deployment Server  using Debian.  Including Debian Installer, DBAN and a couple other useful tools.
]]></description>
			<content:encoded><![CDATA[<p>A clear guide for setting up a <a href="http://outsidaz.org/blog1/2007/08/09/setting-up-a-pxe-linux-recovery-deployment-server-using-debian-lennyetch/">PXE Linux Recovery / Deployment Server</a>  using Debian.  Including Debian Installer, DBAN and a couple other useful tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2008/03/01/setting-up-a-pxe-linux-recovery-deployment-server-using-debian-lennyetch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
