<?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>Hamstar</title>
	<atom:link href="http://www.hamstar.co.nz/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hamstar.co.nz</link>
	<description>Another Metal Car Computer Geek blog</description>
	<lastBuildDate>Thu, 25 Feb 2010 04:06:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Avatar</title>
		<link>http://www.hamstar.co.nz/2010/02/25/avatar/</link>
		<comments>http://www.hamstar.co.nz/2010/02/25/avatar/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 04:06:31 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Avatar]]></category>
		<category><![CDATA[movie]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=377</guid>
		<description><![CDATA[So I went to see Avatar again last night.  Seen it twice now both times at the movies.  Only movie I&#8217;ve ever seen twice at the theatres.
Saw it once at Skycity in 3D and then again last night at IMAX 3D.  Movie is awesome.  Relates to real life on so many [...]]]></description>
			<content:encoded><![CDATA[<p>So I went to see Avatar again last night.  Seen it twice now both times at the movies.  Only movie I&#8217;ve ever seen twice at the theatres.</p>
<p>Saw it once at Skycity in 3D and then again last night at IMAX 3D.  Movie is awesome.  Relates to real life on so many levels.</p>
<p>For one, its just like everytime America (or UK in the old days) invades a country to steal their natural resources.  Iraq/South America/Africa.  Same old (evil) story&#8230; greedy foreign capitalist scumbags trying to make a buck leaving the country (planet) impoverished.</p>
<p>In the Navi&#8217;s case it would have no doubt ended in the forest dying and becoming a desert planet&#8230; the unobtanium is probably tied in with the neural network &#8211; guess we&#8217;ll find out in the sequels.</p>
<p>The other thing I thought was awesome is the networking thing in the planet.  Imagine that!  Petabytes and petabytes of biological storage linked by a global neural network.  Thats how it should be.  Its like a modern primitive race&#8230;</p>
<p>This movie makes me want to go bush.  If only we had creatures as interesting on earth (I&#8217;d probably get eaten).</p>
<p>Also I downloaded the movie&#8230; does that make me a criminal?  I paid 38 bucks in total to go see it at the movies and they made over $2 billion dollars off the thing, I don&#8217;t think they&#8217;ll mind me not forking out another $40 for the DVD.</p>
<p>I do think though at the end of the movie they should&#8217;ve fed all the humans to some thanators, instead of letting them go home&#8230; they&#8217;ll just come back,   They&#8217;ll tell everyone how close a battle it was, someone will probably send a nuke straight at the tree of souls from outer space.  What the fuck are the Na&#8217;vi gonna do then?</p>
<p>At least if a shuttle turn up and finds massacred people everywhere and a dead base, and multiple warships destroyed by some savages with bows and arrows it&#8217;ll strike fear into them and they might piss off never to return&#8230; but I digress, it&#8217;s just a movie.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2010/02/25/avatar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MODA review</title>
		<link>http://www.hamstar.co.nz/2010/02/20/moda-review/</link>
		<comments>http://www.hamstar.co.nz/2010/02/20/moda-review/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 23:17:26 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cannabis]]></category>
		<category><![CDATA[drugs]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[law]]></category>
		<category><![CDATA[moda]]></category>
		<category><![CDATA[society]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=373</guid>
		<description><![CDATA[The Law Commission is reviewing the Misuse of Drugs Acts, the next time they do with will be in 25 years.  So here&#8217;s my submission.  Submit yours here
The time to act to protect the public from hard drugs is now.  People talk about cannabis being the gateway drug, when really, it is [...]]]></description>
			<content:encoded><![CDATA[<p>The Law Commission is reviewing the Misuse of Drugs Acts, the next time they do with will be in 25 years.  So here&#8217;s my submission.  Submit yours <a href="http://talklaw.co.nz/talkdrugs?module=submissions">here</a></p>
<blockquote><p>The time to act to protect the public from hard drugs is now.  People talk about cannabis being the gateway drug, when really, it is the current Misuse of Drugs Act that is gateway LEGISLATION.</p>
<p>Because cannabis is driven underground with all the other hard drugs, this means that the only way for people to get hold of cannabis is to go to drug dealers, who most probably want a customer for their more expensive, and more addictive drugs.</p>
<p>With 51% of the population having tried cannabis and up to 15% of the population actively using cannabis that makes for a lot of people to potentially have exposure to hard drugs.  It also shows that despite the illegality of cannabis, people are willing to smoke it.</p>
<p>We need to take control of cannabis out of the hands of drug dealers and gangs.  These unregulated distributors sometimes adulterate or lace their cannabis with harder drugs, or harmful substances such as lead particles (to make it weigh more) or microscopic glass beads (to make it look more potent).  </p>
<p>This makes the drug a significantly more hazardous to the health of the people that choose to smoke it (regardless of the legality), because the government doesn&#8217;t provide a means of safe access.</p>
<p>Cannabis has been scientifically and anecdotally proven to be beneficial for over 300 ailments and diseases.  Making cannabis a class D drug would open up the doors for research on it, allowing scientists to extract the chemical cannabinoids and make newer, safer, and natural drugs.</p>
<p>It is a little known fact that in the human body there are four types of cannabinoid receptors (that have been found so far).  Cannabinoids are produced in three ways.  Naturally by the human brain (endo-cannabinoids), naturally by the cannabis plant (phyto-cannabinoids) and artificially in labs.</p>
<p>I would also like to compare the situations between the Netherlands and the United States.  The United States Government is vehemently opposed to drug tolerance, treat drugs as a criminal issue and as a result have very high drug use rates.  The Netherlands on the hand, regulate the use of soft drugs, and treat drugs in general as a social health issue &#8211; I.E. providing easy access to education and rehab for those that want it.  The Netherlands drug use rates are half that of the United States.  These figures can be found within 5 mins on google.</p>
<p>Do I need to mention what happened when the United States prohibited Alcohol?</p>
<p>To put cannabis into the class D category is to take a step in the right direction.  It is to take a step into governmental control of drugs, instead of governmental restriction.  This is what is needed to protect our citizens from hard drugs.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2010/02/20/moda-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Article: Teaching the dangers of cannabis</title>
		<link>http://www.hamstar.co.nz/2010/01/10/article-teaching-the-dangers-of-cannabis/</link>
		<comments>http://www.hamstar.co.nz/2010/01/10/article-teaching-the-dangers-of-cannabis/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 03:44:26 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cannabis]]></category>
		<category><![CDATA[drugs]]></category>
		<category><![CDATA[Police]]></category>
		<category><![CDATA[society]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=370</guid>
		<description><![CDATA[I found this article from the Dominion post and wanted to debunk it because it is absolute shit.
First of all the articles states two different figures for hospitalization for cannabis users in 2005.  $32m and $35m.. which one is it? We&#8217;ll take the figure of $35m and divide that by the 400,000 users in [...]]]></description>
			<content:encoded><![CDATA[<p>I found <a href="http://www.stuff.co.nz/dominion-post/archive/national-news/770691">this article</a> from the Dominion post and wanted to debunk it because it is absolute shit.</p>
<p>First of all the articles states two different figures for hospitalization for cannabis users in 2005.  $32m and $35m.. which one is it? We&#8217;ll take the figure of $35m and divide that by the 400,000 users in the country (as reported by the DHI in the NZ herald here) and you have health costs of approximately $80 per user.  With an estimation of only half of people surveyed admitting to smoke cannabis you have a figure of 800,000 user in NZ, this equates to around $40 per user.  Is this really an issue?  And what constitutes an admission for cannabis use?  It is my bet from stories I have heard that these admissions are from first time users, having too much and freaking out as can be seen in the documentary &#8220;Should I Smoke Dope&#8221;.  In the documentary the reporter freaks out when she smokes a whole joint at a cannabis shop.  First time users should not smoke a whole joint.  Its not a danger to their life or bodies at all, however they can freak out and think they are overdosing.  But at least cannabis users who freak out and think they are overdosing still have the piece of mind and ability to go to the hospital.  Lets see someone with alcohol poisioning or a heroin overdose admit themselves to the hospital.</p>
<p>Now lets look at the alcohol figures quickly. 4700 people a year die from alcohol use with an estimated $1.5b to 2.4b of social harm as reported <a href="http://www.nzherald.co.nz/addiction/news/article.cfm?c_id=480&#038;objectid=10518236&#038;pnum=1">here in the NZ Herald</a>.</p>
<blockquote><p>&#8220;Cannabis-related hospital admissions exceeded the numbers admitted for opiates, amphetamines and cocaine combined. &#8220;</p></blockquote>
<p>They say there are more admissions to hospital for cannabis use than any other drug.  HELLO!!! This is because more people use cannabis than any other drug!  This is a good thing, would you rather your kid smoke a harmless herb, or get cooked on Pure Methamphetamine?  Approx 95,170 people admitted to using other drugs than cannabis compared to 400,000 cannabis users who admitted to using.  I think however times both figures by a factor of two because how many people are going to admit to using illegal drugs?</p>
<blockquote><p>&#8220;The majority of patients were suffering from a psychotic disorder, followed by cannabis poisoning, harmful use, dependence and acute intoxication.&#8221;</p></blockquote>
<p>They say people admitted had a psycotic disorder.  Could it be that these people were self medicating with cannabis?  So they were using cannabis to fix the psycotic disorder rather than the cannabis causing the psycotic disorder?  Treatment of depression and bipolar disporder with cannabis has been proven to be beneficial.</p>
<p>There are over 300 medical uses for cannabis.</p>
<blockquote><p>&#8220;The majority of patients were suffering from a psychotic disorder, followed by cannabis poisoning, harmful use, dependence and acute intoxication.&#8221;</p></blockquote>
<p>It also states that people got marijuana poisoning.  This is not possible.  Cannabis is not POISON!!! You IDIOTS!!!  Do some research and you will quickly find that the chemicals in cannabis are naturally produced by the healthy human brain.  These chemicals, known as cannabinoids are produced in the cannabis plant and called Phyto-cannabinoids.  The cannabinoids produced in the human brain are called Endo-cannabinoids.  There are so far 4 known cannabinoid receptors in the brain and body cells that when stimulated help with pleasure, brain cell generation and neuroprotection among other functions.  Cannabis is far from poison.</p>
<blockquote><p>Health Minister Tony Ryall said he had not yet read the report, but suspected the cost to the health system would be &#8220;significantly higher than that, when you consider its contribution to accidents and family breakdown&#8221;.</p></blockquote>
<p>Contribution to accidents?  Which? Where?  What accidents?  And how can cannabis breakdown a family?  I think you mean alcohol and its prevalence for causing domestic violence?</p>
<blockquote><p>&#8220;A new breed of powerful cannabis and ballooning costs in treating its health effects have led to calls for urgent action&#8230;&#8221;</p></blockquote>
<p>The final beef I had with the article was this opening line.  First of all more potent cannabis IS BETTER!!!!  It means you have to smoke LESS to get the desired effect.  This means there IS LESS SMOKE ENTERING THE LUNGS.  And any smoke, even cannabis smoke which has had cancer links disproven, is still not good to inhale.  There are better ways to consume cannabis than smoking.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2010/01/10/article-teaching-the-dangers-of-cannabis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tis the season</title>
		<link>http://www.hamstar.co.nz/2009/12/12/tis-th-season/</link>
		<comments>http://www.hamstar.co.nz/2009/12/12/tis-th-season/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 23:27:49 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[christianity]]></category>
		<category><![CDATA[christmas]]></category>
		<category><![CDATA[paganism]]></category>
		<category><![CDATA[religion]]></category>
		<category><![CDATA[yule]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=368</guid>
		<description><![CDATA[Well, looks like Christmas has rolled around again.  I would just like to take this time to remind everyone that Jesus Christ was not born on the 25th of December.  He was actually born nearer the middle of the year.
What you are celebrating is actually an ancient pagan ritual called Yule-tide, stolen and [...]]]></description>
			<content:encoded><![CDATA[<p>Well, looks like Christmas has rolled around again.  I would just like to take this time to remind everyone that Jesus Christ was not born on the 25th of December.  He was actually born nearer the middle of the year.</p>
<p>What you are celebrating is actually an ancient pagan ritual called <a href="http://en.wikipedia.org/wiki/Yule">Yule-tide</a>, stolen and renamed by christianity in order to try and get rid of paganism in Northern Europe.</p>
<p>So this year I will be wishing people Happy Yule-tide in protest of this christian bullshit takeover.</p>
<h3>HAPPY YULE-TIDE!!</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2009/12/12/tis-th-season/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Obama&#8217;s Nobel Peace prize undeserved?</title>
		<link>http://www.hamstar.co.nz/2009/12/12/obamas-nobel-peace-prize-undeserved/</link>
		<comments>http://www.hamstar.co.nz/2009/12/12/obamas-nobel-peace-prize-undeserved/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 23:14:26 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[911]]></category>
		<category><![CDATA[Afganistan]]></category>
		<category><![CDATA[corruption]]></category>
		<category><![CDATA[drugs]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[heroin]]></category>
		<category><![CDATA[Iraq]]></category>
		<category><![CDATA[Obama]]></category>
		<category><![CDATA[oil]]></category>
		<category><![CDATA[OPEC]]></category>
		<category><![CDATA[pipeline]]></category>
		<category><![CDATA[Saddam]]></category>
		<category><![CDATA[Taliban]]></category>
		<category><![CDATA[terrorism]]></category>
		<category><![CDATA[UAE]]></category>
		<category><![CDATA[war]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=366</guid>
		<description><![CDATA[OK, I like Obama&#8230; he looks like a dude you could trust to runa country, and I&#8217;m going to give him the benefit of the doubt here.  If he&#8217;s not corrupt then he is definitely a pawn for the big corporations.
I don&#8217;t understand why he got a peace prize?  For taking troops out [...]]]></description>
			<content:encoded><![CDATA[<p>OK, I like Obama&#8230; he looks like a dude you could trust to runa country, and I&#8217;m going to give him the benefit of the doubt here.  If he&#8217;s not corrupt then he is definitely a pawn for the big corporations.</p>
<p>I don&#8217;t understand why he got a peace prize?  For taking troops out of Iraq and putting them into Afghanistan?  That doesn&#8217;t really equal peace does it?  Especially because doing this is completely self serving for OPEC and other corrupt organisations.</p>
<p>You see, now that they have stopped Saddam drilling his own oil to use for his own country (like he watched the UAE do), they need to secure Afghanistan to allow a oil and gas pipeline to run through the country.</p>
<p>To run a pipeline through the country they need to get rid of the Taliban because they&#8217;re not really down with a pipeline.  That is one of the supporting factors of 9/11 being a false flag operation.  Talks with the Taliban about putting a pipeline through were breaking down before 9/11.  A war on terror (and the Taliban) was a perfect excuse to take out those standing in the way of the pipeline.  Not to mention the fact that the Taliban had destroyed all the poppy fields slowing the supply of heroin into America, and thus slowing the need for drug war spending (this is bad, the law enforcement agencies would lose their jobs with no drugs/users to confiscate/apprehend).</p>
<p>So back to the point of the of the story&#8230; it would seem Obama is sending US troops back into Afghanistan to make sure the Taliban are kept down.  This in turn allows for a stable country for a pipeline to carry oil and gas from the resource rich countries north of Afghanistan, down to the sea for American ships to take as they please.</p>
<p>The problem here is that the country is not stable.  Even if the Taliban are kept down, the country is in pretty bad shape since America invaded.  Infrastructure and housing are needed and all promised aid has not arrived.  This makes for desperate people living in poverty, and they are going to grow up angry at America because they dropped bombs on their houses and didn&#8217;t repair them.</p>
<p>Which is completely understandable right?  If America invaded my country I would be fighting back.  Some would label that being a terrorist, but I would label that being terrorized.  America are the real terrorists in this world.</p>
<p>So basically it all comes back to greedy oil companies taking valuable resources from smaller countries that can&#8217;t protect themselves, with the help of the American Government/Army (aka Terrorists/Bullies), under the veil of The War On Terror.  With utter disregard for the deaths of soldiers and civilians &#8211; they just want their money.</p>
<p><strong>You got that?  The only terrorist threat comes from America&#8230; everyone else is just a desperate patriot trying to fight back against the military industrial complex that has targeted their country and is stealing their resources.</strong></p>
<p>Patriots exist in places other than the USA you know&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2009/12/12/obamas-nobel-peace-prize-undeserved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First day at new job&#8230;</title>
		<link>http://www.hamstar.co.nz/2009/12/07/first-day-at-new-job/</link>
		<comments>http://www.hamstar.co.nz/2009/12/07/first-day-at-new-job/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 06:32:10 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[containers]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[welding]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=364</guid>
		<description><![CDATA[So was my first day today, was so much fun.  I&#8217;ve got my own container bay to work on usually 2 containers at a time.  I&#8217;ve also got my own gas MIG welder, and a whole bunch of brand new shit in my own toolbox.  Got like, a grinder, a drill, and [...]]]></description>
			<content:encoded><![CDATA[<p>So was my first day today, was so much fun.  I&#8217;ve got my own container bay to work on usually 2 containers at a time.  I&#8217;ve also got my own gas MIG welder, and a whole bunch of brand new shit in my own toolbox.  Got like, a grinder, a drill, and a super-heavy-duty grinder (all DeWalt stuff), brand new vice grips, welding helmet, gas cutting helmet, clear helmet, earmuffs, spraygun, air-powered rivet gun, welding gloves, grinding gloves, welding jacket&#8230; it&#8217;s awesome!  And gas MIG is so easy to weld with, don&#8217;t even need to weave just gung ho and you get mean welds.</p>
<p>Today I managed to get 4 containers done and fixed, thats gotta be a pretty shit number though.  Usually have to use the grinder with a sanding attachment on it (which kicks ass) to sand the plywood floors of the container, then blow all the dust out with an air hose, reattach with rivets and silicon up the door seals, and on one of them I had to reweld a bit that wasn&#8217;t welded properly.</p>
<p>I saw a dude replacing a corner post though, apparently any damage on them and they have to be replaced.  Cut out the whole corner post with a gas axe then welded a new one in.  Can&#8217;t wait till I get to do that.</p>
<p>However, AirNZ have already called me back about my application for the Business Analyst role, which could be worth up to 70k I reckon, I&#8217;ll find out tomorrow if I get an interview with them, then I&#8217;ll have to take a sickie to go to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2009/12/07/first-day-at-new-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Employment</title>
		<link>http://www.hamstar.co.nz/2009/12/04/employment/</link>
		<comments>http://www.hamstar.co.nz/2009/12/04/employment/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 22:42:43 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[welding]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=362</guid>
		<description><![CDATA[Well, I finally got a job after a 9 month holiday.  Container repairing all the way in Otahuhu.  Until January 5th I&#8217;m on dayshift 7am to 5pm, and then its nightshift 530pm to 330am.  I&#8217;m worried about the traffic getting from Otahuhu to home at 5pm when I leave dayshift, and at [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I finally got a job after a 9 month holiday.  Container repairing all the way in Otahuhu.  Until January 5th I&#8217;m on dayshift 7am to 5pm, and then its nightshift 530pm to 330am.  I&#8217;m worried about the traffic getting from Otahuhu to home at 5pm when I leave dayshift, and at 530pm when I start nightshift.</p>
<p>I&#8217;ll be doing sanding and painting mostly by the sounds of things, with the occasional cutting out and welding in new sheets of steel.  Luckily its sanding with an electric sander and painting with a spraygun.</p>
<p>So I start monday, damn its going to be hard getting up at 5am again&#8230;  Also, everyone else I saw there was black, so I&#8217;m gonna be a white computer geek blinding everyone.  Will have to take my iPod too cos they crank some gay RnB station there.</p>
<p>Its a 3month trial, that standard thing that Labour bought in so I&#8217;m going to keep looking for IT jobs in the meantime but if I don&#8217;t get one this job sounds pretty fun, and its nightshift.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2009/12/04/employment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating to a RAID1 array in RHEL5.4</title>
		<link>http://www.hamstar.co.nz/2009/11/29/migrating-to-a-raid1-array-in-rhel5-4/</link>
		<comments>http://www.hamstar.co.nz/2009/11/29/migrating-to-a-raid1-array-in-rhel5-4/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 10:35:29 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[mkinitrd]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rhel5]]></category>
		<category><![CDATA[scsi]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=355</guid>
		<description><![CDATA[OK, so I just had a bitch of a time migrating from a live single disk redhat enterprise linux 5.4 box to a booting dual disk RAID 1 setup&#8230; There is pretty much nothing on the net about this for redhat especially to do with making kernels which almost none of the debian guides seem [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so I just had a bitch of a time migrating from a live single disk redhat enterprise linux 5.4 box to a booting dual disk RAID 1 setup&#8230; There is pretty much nothing on the net about this for redhat especially to do with making kernels which almost none of the debian guides seem to care about.</p>
<p>So I played it by ear and I&#8217;m going to post how I did it so you won&#8217;t have to.  You&#8217;ll need to be using mdadm.  I&#8217;m going to assume the partitions you want raided are /dev/sda1 and /dev/sdb1 and that you are currently booted to /dev/sda1.  A rescue disk will also be helpful.</p>
<p>We are going to get a mirror going with just /dev/sdb1 (empty I hope) in it.  Then we&#8217;ll copy everything over to it so everything is the same after reboot when it does a resync.  Makes your data a bit safer.</p>
<h3>Here we go&#8230;</h3>
<p>Have you tried to setup raid before on these drives?  This checks them for superblocks.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --examine /dev/sda1<br />
mdadm --examine /dev/sda1</div></div>
<p>If it spat up lines like &#8220;ARRAY blah blah UUID=34cd3:etc&#8221;, zero them.  Don&#8217;t worry not dangerous to data.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --zero-superblock /dev/sda1<br />
mdadm --zero-superblock /dev/sdb1</div></div>
<p>OK now we want to copy the partition tables over:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sfdisk -d /dev/sda1 | sfdisk /dev/sdb</div></div>
<p>Now we create the raid array in a degraded mode with the master drive missing and format it to your filesystem.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --create /dev/md0 --level 1 --raid-devices=2 missing /dev/sdb1<br />
mkfs.ext3 /dev/md0</div></div>
<p>Have a look at your new RAID:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --detail /dev/md0<br />
cat /proc/mdstat</div></div>
<p>Now we need to make sure that the kernel modules for scsi and raid are built in to the kernel.  I am not actually sure if this step is needed but it worked on mine.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd /usr/src/kernels/2.6.18-lots-of-numbers/<br />
make menuconfig</div></div>
<p>Now you&#8217;ll be presented with the kernel modules config screen.  Find <strong>Device Drivers</strong> then in <strong>SCSI Device Support</strong>.  In this section we need to make sure a few things have the asterisk in the brackets (should mean built in on the legend).  These things for me were <strong>RAID Transport Class</strong>, <strong>SCSI device support</strong>, <strong>SCSI disk support</strong> and <strong>SCSI generic support</strong>.  Press spacebar on each of them to change the M or blank in the brackets to an asterisk.  Then exit out of it saving your config as you leave.</p>
<p>Now the important part &#8211; creating the kernel image.  This worked for me&#8230; at about the sixth time and exhaustive google searches:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mkinitrd --preload=raid1 --with=raid1 --builtin=raid1 --force-scsi-probe --force-raid-probe /boot/initrd-`uname -r`-raid.img `uname -r`</div></div>
<p>Now you want to modify /boot/grub/grub.conf and /boot/grub/device.map.</p>
<p>Need to make sure we have both devices in there<br />
/boot/grub/device.map:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">(hd0) &nbsp; &nbsp;/dev/sda<br />
(hd1) &nbsp; &nbsp;/dev/sdb</div></div>
<p>Need to make a backup bootloader entry and a raided one too<br />
/boot/grub/grub.conf:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">default=0<br />
fallback=1<br />
timeout=5<br />
splashimage=(hd1,0)/boot/grub/splash.xpm.gz<br />
hiddenmenu<br />
title RHEL RAID<br />
&nbsp; &nbsp; &nbsp; &nbsp; root (hd1,0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; kernel /boot/vmlinuz-2.6.23.1-42 root=/dev/md0 ro rhgb quiet<br />
&nbsp; &nbsp; &nbsp; &nbsp; initrd /boot/initrd-2.6.23.1-42-raid.img<br />
<br />
title RHEL Non-RAID<br />
&nbsp; &nbsp; &nbsp; &nbsp; root (hd0,0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; kernel /boot/vmlinuz-2.6.23.1-42 root=/dev/sda1 ro rhgb quiet<br />
&nbsp; &nbsp; &nbsp; &nbsp; initrd /boot/initrd-2.6.23.1-42.img</div></div>
<p>That boot list boots off /dev/sdb before and loads into the system with the raid array active.  This allows you to add /dev/sda1 into the array.  If it booted off /dev/sda1 (e.g. hd0) then /dev/sda1 would be locked and you would not be able to do the mdadm command.</p>
<p>It also allows you to boot without the raid array if your raid setup failed to boot (i.e. kernel panic).  The setting for root in fstab doesn&#8217;t matter if its set  to /dev/md0, /dev/sda1 still becomes the root drive.</p>
<p>Now install grub on /dev/sdb:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">grub<br />
root (hd1)<br />
setup (hd1)</div></div>
<p>Now change the root device in your fstab to be /dev/md0<br />
/etc/fstab:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/dev/md0 &nbsp; &nbsp;/ &nbsp; &nbsp;ext3 &nbsp; &nbsp;defaults &nbsp; &nbsp;1 &nbsp;1</div></div>
<p>Now we need to copy everything over to the raid array, however it will probably crash out copying with the running system like mine did, but not to worry we are pretty much ready to go here.</p>
<p>Shut down and boot into a linux rescue disk (the first cd of RHEL5.4 has it), and get to the command line, don&#8217;t bother mounting filesystems or anything.<br />
Try this:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --assemble --scan<br />
mdadm --assemble /dev/md0</div></div>
<p>If that doesn&#8217;t work then try this:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --create /dev/md0 --level 1 --raid-devices=2 missing /dev/sdb1 --assume-clean</div></div>
<p>and push y if it asks you to create over another array.</p>
<p>Create mountpoints and mount your drives:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd /mnt<br />
mkdir sda1 md0<br />
mount /dev/sda1 sda1<br />
mount /dev/md0 md0</div></div>
<p>Now copy everything over:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cp -dpRx /mnt/sda1/* /mnt/md0/</div></div>
<p>Wait a while till that is done then reboot.  Hopefully you don&#8217;t get a kernel panic, and it boots up on the degraded /dev/md0 array.  If it does then add your /dev/sda1 in like follows:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mdadm --add /dev/md0 /dev/sda1</div></div>
<p>Now you can watch the resync progress like this:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">watch -n 2 cat /proc/mdstat</div></div>
<p>mdadm is pretty smart.</p>
<p>Here&#8217;s some other links that may help you out if you&#8217;re stuck:<br />
<a href="http://wiki.clug.org.za/wiki/RAID-1_in_a_hurry_with_grub_and_mdadm">http://wiki.clug.org.za/wiki/RAID-1_in_a_hurry_with_grub_and_mdadm</a><br />
<a href="http://www.mail-archive.com/linux-raid@vger.kernel.org/msg09672.html">http://www.mail-archive.com/linux-raid@vger.kernel.org/msg09672.html</a><br />
<a href="http://www.debian-administration.org/articles/238">http://www.debian-administration.org/articles/238</a><br />
<a href="http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO-7.html">http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO-7.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2009/11/29/migrating-to-a-raid1-array-in-rhel5-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Die pricespy</title>
		<link>http://www.hamstar.co.nz/2009/11/27/die-pricespy/</link>
		<comments>http://www.hamstar.co.nz/2009/11/27/die-pricespy/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 00:16:27 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[deve]]></category>
		<category><![CDATA[howmuchisit]]></category>
		<category><![CDATA[pricespy]]></category>
		<category><![CDATA[web developement]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=353</guid>
		<description><![CDATA[Long time no post, a few things have been happening but haven&#8217;t had time to post&#8230;
I will quickly mention this though.  You may have noticed that pricespy.co.nz has recently been changed.  Some think its good, most people think its crap.  This is because it was bought by the swedish pricespy who changed [...]]]></description>
			<content:encoded><![CDATA[<p>Long time no post, a few things have been happening but haven&#8217;t had time to post&#8230;</p>
<p>I will quickly mention this though.  You may have noticed that pricespy.co.nz has recently been changed.  Some think its good, most people think its crap.  This is because it was bought by the swedish pricespy who changed it to match the swedish pricespy.  However it is quite complicated and sometimes difficult or annoying to use.</p>
<p>So me, Alkaif, and a dude Phil the Mysterious (lol) went about creating a site similar to the old pricespy, but with more advanced features.  After another one of the team decided to split off and start his own one, we closed the source, however our site seems to be the best out of the 2 similar sites that have spawned since the pricespy change.</p>
<p>Anyways today we went live beta.  So check it out at <a href="http://www.howmuchisit.co.nz">www.howmuchisit.co.nz</a>.</p>
<p>Our categorization is pretty much down pat and accurate, we have a search friendly urls like <a href="http://www.howmuchisit.co.nz/for/an/amd phenom X4">howmuchisit.co.nz/for/an/amd phenom X4</a>.</p>
<p>We also have forums temporarily located at <a href="http://project.hackproof.co.nz">project.hackproof.co.nz</a> where people can submit feature requests or bugs that they have found.</p>
<p>So far the feedback has been good, both from retailers and users of the old pricespy.  So spread the word if you could. Pricespy is dead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2009/11/27/die-pricespy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First they came for the Communists</title>
		<link>http://www.hamstar.co.nz/2009/10/22/first-they-came-for-the-communists/</link>
		<comments>http://www.hamstar.co.nz/2009/10/22/first-they-came-for-the-communists/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 11:38:00 +0000</pubDate>
		<dc:creator>hamstar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[society]]></category>

		<guid isPermaLink="false">http://www.hamstar.co.nz/?p=350</guid>
		<description><![CDATA[First they came for the Communists,
    and I didn&#8217;t speak up,
        because I wasn&#8217;t a Communist.
Then they came for the Jews,
    and I didn&#8217;t speak up,
        because I wasn&#8217;t a Jew.
Then they came for the [...]]]></description>
			<content:encoded><![CDATA[<p>First they came for the Communists,<br />
    and I didn&#8217;t speak up,<br />
        because I wasn&#8217;t a Communist.<br />
Then they came for the Jews,<br />
    and I didn&#8217;t speak up,<br />
        because I wasn&#8217;t a Jew.<br />
Then they came for the Catholics,<br />
    and I didn&#8217;t speak up,<br />
        because I was a Protestant.<br />
Then they came for me,<br />
    and by that time there was no one<br />
        left to speak up for me.</p>
<p>by Rev. Martin Niemoller, 1945 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hamstar.co.nz/2009/10/22/first-they-came-for-the-communists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
