<?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"
	>

<channel>
	<title>Lucas Chan :: Weblog</title>
	<atom:link href="http://lucaschan.com/weblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://lucaschan.com/weblog</link>
	<description>default wordpress theme ftw</description>
	<pubDate>Wed, 20 Aug 2008 07:32:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Web Directions South 2008</title>
		<link>http://lucaschan.com/weblog/2008/08/20/web-directions-south-2008/</link>
		<comments>http://lucaschan.com/weblog/2008/08/20/web-directions-south-2008/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 07:32:28 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/?p=145</guid>
		<description><![CDATA[
Web Directions South is fast approaching.  I will be chairing a panel on web application frameworks which is sure to be awesome (no really, the panelists rock!).  Use the promo code &#8220;WDS08-LC&#8221; to get a discount on your ticket. Hazaah!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://south08.webdirections.org/"><img src="http://www.westciv.com/images/468x60_banner.gif" alt="Web Directions South 2008" /></a></p>
<p><a href="http://south08.webdirections.org/">Web Directions South</a> is fast approaching.  I will be chairing a panel on web application frameworks which is sure to be awesome (no really, the panelists rock!).  Use the promo code &#8220;WDS08-LC&#8221; to get a discount on your ticket. Hazaah!</p></p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2008/08/20/web-directions-south-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Ride</title>
		<link>http://lucaschan.com/weblog/2008/04/01/new-ride/</link>
		<comments>http://lucaschan.com/weblog/2008/04/01/new-ride/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 02:06:00 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[Cycling]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/2008/04/01/new-ride/</guid>
		<description><![CDATA[If anyone has any good ideas or inspiration for decals, get in touch. :)



]]></description>
			<content:encoded><![CDATA[<p>If anyone has any good ideas or inspiration for decals, get in touch. :)</p>
<p><a href="http://www.flickr.com/photos/lynt/2356523341/"><img src="http://farm3.static.flickr.com/2165/2356523341_834f35db5c.jpg?v=0" alt="New Ride" /></a></p>
</p>
<p><a href="http://www.flickr.com/photos/lynt/2357353734/"><img src="http://farm3.static.flickr.com/2147/2357353734_35cf8b5f99.jpg?v=0" alt="Sugino" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2008/04/01/new-ride/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Get a Haircut, Have a Shower, and Get a Life</title>
		<link>http://lucaschan.com/weblog/2008/03/28/get-a-haircut-have-a-shower-and-get-a-life/</link>
		<comments>http://lucaschan.com/weblog/2008/03/28/get-a-haircut-have-a-shower-and-get-a-life/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 06:30:26 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/2008/03/28/get-a-haircut-have-a-shower-and-get-a-life/</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/5Ek1Qlyx5dk&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/5Ek1Qlyx5dk&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2008/03/28/get-a-haircut-have-a-shower-and-get-a-life/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Streetwise Are a Pack of Morons</title>
		<link>http://lucaschan.com/weblog/2008/03/20/streetwise-are-a-pack-of-morons/</link>
		<comments>http://lucaschan.com/weblog/2008/03/20/streetwise-are-a-pack-of-morons/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 23:34:31 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/2008/03/20/streetwise-are-a-pack-of-morons/</guid>
		<description><![CDATA[Do not spend money with these people.
Do not leave your mac in their care.  They won&#8217;t repair it, they will keep it for 6 weeks and then return it to you worse than it was before. For extra kicks they will throw away your serial number sticker - ensuring you&#8217;ll have lots of fun [...]]]></description>
			<content:encoded><![CDATA[<p>Do not spend money with these people.</p>
<p>Do not leave your mac in their care.  They won&#8217;t repair it, they will keep it for 6 weeks and then return it to you worse than it was before. For extra kicks they will throw away your serial number sticker - ensuring you&#8217;ll have lots of fun with Apple if your hard disk dies at any point in the future.</p>
<p>Ass clowns.</p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2008/03/20/streetwise-are-a-pack-of-morons/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Faith in Science</title>
		<link>http://lucaschan.com/weblog/2008/03/05/faith-in-science/</link>
		<comments>http://lucaschan.com/weblog/2008/03/05/faith-in-science/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 22:55:08 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/2008/03/05/faith-in-science/</guid>
		<description><![CDATA[Hot t-shirts designed in Melbourne. Big-ups nhd.
Click to buy.


]]></description>
			<content:encoded><![CDATA[<p>Hot t-shirts designed in Melbourne. Big-ups nhd.</p>
<p>Click to buy.</p>
<p><a href="http://trx.nhd3.net/index3.html"><img src="http://trx.nhd3.net/1.jpg" alt="Wheel" /></a></p>
<p><a href="http://trx.nhd3.net/index3.html"><img src="http://trx.nhd3.net/2.jpg" alt="Bars" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2008/03/05/faith-in-science/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Some Things</title>
		<link>http://lucaschan.com/weblog/2008/01/17/some-things/</link>
		<comments>http://lucaschan.com/weblog/2008/01/17/some-things/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 23:21:07 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/2008/01/17/some-things/</guid>
		<description><![CDATA[
Issue 4 of OneMag (web site out of date) is out now. It has one/some of my photos in it apparently (I haven&#8217;t seen it yet).  It&#8217;s available at all good bike stores.
Despite my name being omitted from the advertised line-up I will be playing at Kiss My Grass 2008 at the Sidney Myer [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Issue 4 of <a href="http://www.freewheel.com.au/one/">OneMag</a> (web site out of date) is out now. It has one/some of my photos in it apparently (I haven&#8217;t seen it yet).  It&#8217;s available at all good bike stores.</li>
<li>Despite my name being omitted from the advertised line-up I will be playing at <a href="http://www.kissfm.com.au/index.php?option=com_content&#038;task=view&#038;id=53&#038;Itemid=101">Kiss My Grass 2008</a> at the Sidney Myer Music Bowl on Saturday Jan 26. Come along for a fun day in the sun!</li>
<li>The Australian premiere of <a href="http://www.mashsf.com/">Mash SF</a> happens this Sunday at Rooftop Cinema, 7PM.  Wicked! Check the trailer at the <a href="http://www.mashsf.com/">mashsf.com</a> and buy tickets online from the <a href="http://www.rooftopcinema.com.au/">Rooftop Cinema</a> web site.</li>
</ul>
<p><!--69f463c9680794f7b928389a4759aa03--><!--ec10a44d38092989b5e7282c8671b349--></p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2008/01/17/some-things/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Friday Fixin&#8217; Fun</title>
		<link>http://lucaschan.com/weblog/2007/10/05/friday-fixin-fun/</link>
		<comments>http://lucaschan.com/weblog/2007/10/05/friday-fixin-fun/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 04:17:49 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[Cycling]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/2007/10/05/friday-fixin-fun/</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/YU4b_3GvE4I"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/YU4b_3GvE4I" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><!--7c2ba18767420221ea1008f09847e90a--><!--1d573d0a74daf01f697fe3b4eac2b904--></p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2007/10/05/friday-fixin-fun/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySQL server-id woes on Redhat/CentOS</title>
		<link>http://lucaschan.com/weblog/2007/07/12/mysql-server-id-woes-on-redhatcentos/</link>
		<comments>http://lucaschan.com/weblog/2007/07/12/mysql-server-id-woes-on-redhatcentos/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 02:23:27 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/2007/07/12/mysql-server-id-woes-on-redhatcentos/</guid>
		<description><![CDATA[Problem
You&#8217;re trying to set up MySQL database replication and despite having correctly set your server-id on the master and slave you keep seeing the following message in the slave server error log: Misconfigured master - server id was not set.
Solution
Bug #3829 states that you can not set the server-id using the SET GLOBAL command.
But I [...]]]></description>
			<content:encoded><![CDATA[<h4>Problem</h4>
<p>You&#8217;re trying to set up MySQL database replication and despite having correctly set your <code>server-id</code> on the master and slave you keep seeing the following message in the slave server error log: <code>Misconfigured master - server id was not set</code>.</p>
<h4>Solution</h4>
<p><a href="http://bugs.mysql.com/bug.php?id=3829">Bug #3829</a> states that you can not set the <code>server-id</code> using the <code>SET GLOBAL</code> command.</p>
<p>But I <em>didn&#8217;t</em> do that, I set it in my <code>my.cnf</code> and then reloaded MySQL.  Whatevs, nerdz.</p>
<p>After much mucking around this morning I realised that reloading MySQL is roughly equivalent to using the <code>SET GLOBAL</code> command.  If I think long and hard enough I suppose that makes sense. So&#8230;<br />
<code>service mysqld stop</code><br />
<code>service mysqld start</code></p>
<p>A few seconds outage on the production server, but now we&#8217;re in business.<!--58245eb6f34680ae056bdd4b1c8be095--><!--b8fb4c08723096f93fad8c482df14cae--><!--ede8f46b505cbe76fcb62a7ca681bf2d--></p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2007/07/12/mysql-server-id-woes-on-redhatcentos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Melburn-Roobaix 2007</title>
		<link>http://lucaschan.com/weblog/2007/06/30/melburn-roobaix-2007/</link>
		<comments>http://lucaschan.com/weblog/2007/06/30/melburn-roobaix-2007/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 03:55:14 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[Cycling]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/2007/06/30/melburn-roobaix-2007/</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.fixed.org.au/wp-content/uploads/2007/05/burnroob.jpg" /><!--acf0efa6e5c485ba3c85b1ec201ac39f--></p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2007/06/30/melburn-roobaix-2007/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adding a physical disk to LVM in Redhat/CentOS</title>
		<link>http://lucaschan.com/weblog/2007/06/29/adding-a-physical-disk-to-lvm-in-redhatcentos/</link>
		<comments>http://lucaschan.com/weblog/2007/06/29/adding-a-physical-disk-to-lvm-in-redhatcentos/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 08:48:40 +0000</pubDate>
		<dc:creator>Lucas</dc:creator>
		
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://lucaschan.com/weblog/2007/06/29/adding-a-physical-disk-to-lvm-in-redhatcentos/</guid>
		<description><![CDATA[Posted here for googlers and for my own future reference.  Documentation pulled together from about 4 different sites.  Could possibly be sub-titled: &#8220;Holy crap, the disk in my VMware installation is too small - it&#8217;s split up into 2GB files and using vmware to resize it seems like voodoo&#8221;
Problem:
My computer only has 20GB [...]]]></description>
			<content:encoded><![CDATA[<p>Posted here for googlers and for my own future reference.  Documentation pulled together from about 4 different sites.  Could possibly be sub-titled: &#8220;Holy crap, the disk in my VMware installation is too small - it&#8217;s split up into 2GB files and using vmware to resize it seems like voodoo&#8221;</p>
<h3>Problem:</h3>
<p>My computer only has 20GB of disk space.  I just have 1 partition.  I want to add another disk (40GB).  I don&#8217;t want to add another partition (and I really don&#8217;t want to reinstall the whole system), I want to increase the size of the root partition to 60GB.  i.e.  I want the root partition to span across two physical disks.</p>
<h3>Solution:</h3>
<ol>
<li>Add new physical disk.  Boot.</li>
<li>
<code># pvscan</code></p>
<p>This will show you the current physical volumes.
</li>
<li>
<code># fdisk /dev/sdb</code></p>
<p>Add the disk to your machine as a primary partition.  Partition type: &#8220;<code>8e</code> (LVM)&#8221;. Obviously <code>/dev/sdb</code> may be different on your system.
</li>
<li>
<code># pvcreate /dev/sdb1</code></p>
<p>This creates a new physical LVM volume on our new disk.
</li>
<li>
<code># vgextend VolGroup00 /dev/sdb1</code></p>
<p>Add our new physical volume to the volume group: <code>VolGroup00</code>. Again, this group name may by different for you, but this is what Redhat &#038; CentOS assigns by default when you install your system.
</li>
<li>
<code># pvscan</code><b4 /></p>
<p>You should see the new physical volume assigned to VolGroup00.
</li>
<li>
<code># lvextend -L+40G /dev/VolGroup00/LogVol00</code></p>
<p>This increases the size of the logical volume our root partition resides in.  Change the <code>-L</code> flag as appropriate.
</li>
</ol>
<p>We&#8217;ve just added 40GB to the logical volume used by the root partition.  Sweet as.  Now we need to resize the file system to utilize the additional space.</p>
<ol start="8">
<li>
Reboot into rescue mode using your CentOS CDROM.</p>
<p>From memory this involves typing <code>linux rescue</code> as your boot option.
</li>
<li>When prompted, skip the mounting of system partitions.</li>
<li>
<code># lvm vgchange -a y</code></p>
<p>This command makes your LVM volumes accessible.
</li>
<li>
<code># e2fsck -f /dev/VolGroup00/LogVol00</code></p>
<p>Run a file system check, the <code>-f</code> flag seems necessary.  No idea what we do if the returns an error?
</li>
<li>
<code># resize2fs /dev/VolGroup00/LogVol00</code></p>
<p>Without any parameters resize2fs will just increase the file system to the max space available.
</li>
</ol>
<p>Reboot and your root partition is now 40GB lager, spanning multiple disks.  Yay.<!--1fb8155ff307ede72a8ec770ae298d29--></p>
]]></content:encoded>
			<wfw:commentRss>http://lucaschan.com/weblog/2007/06/29/adding-a-physical-disk-to-lvm-in-redhatcentos/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
