<?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>trisome blog</title>
	<atom:link href="http://triso.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://triso.me</link>
	<description>iOS programming, photography and AIX. Also cats.</description>
	<lastBuildDate>Mon, 23 Apr 2012 01:41:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>alt_disk migration phase 5 error: /usr/bin/lslpp: No such file or directory</title>
		<link>http://triso.me/2012/04/23/alt_disk-migration-phase-5-error-usrbinlslpp-no-such-file-or-directory/</link>
		<comments>http://triso.me/2012/04/23/alt_disk-migration-phase-5-error-usrbinlslpp-no-such-file-or-directory/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 01:41:30 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[aix]]></category>

		<guid isPermaLink="false">http://triso.me/?p=53</guid>
		<description><![CDATA[When trying to update AIX 5.3 to 6.1 using an alt_disk migration, I kept getting this error: +-----------------------------------------------------------------------------+ Executing nimadm phase 5. +-----------------------------------------------------------------------------+ Saving system configuration files. /usr/bin/lslpp: No such file or directory 0505-177 nimadm: An unrecoverable error has occurred during pre-install processing. Cleaning up alt_disk_migration on the NIM master. Unmounting client mounts on the [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to update AIX 5.3 to 6.1 using an alt_disk migration, I kept getting this error:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow">+-----------------------------------------------------------------------------+
Executing nimadm phase <span style="color: #000000;">5</span>.
+-----------------------------------------------------------------------------+
Saving system configuration files.
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>lslpp: No such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory
0505-<span style="color: #000000;">177</span> nimadm: An unrecoverable error has occurred during pre-install processing.
Cleaning up alt_disk_migration on the NIM master.
Unmounting client mounts on the NIM master.</div></pre><!--END_DEVFMTCODE--></p>
<p>I searched around a lot and couldn&#8217;t find much of an answer besides one obscure reference to adding more disk space to /, so I did:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><span style="color: #666666; font-style: italic;"># chfs -a size=+1G /</span>
Filesystem <span style="color: #c20cb9; font-weight: bold;">size</span> changed to <span style="color: #000000;">2621440</span></div></pre><!--END_DEVFMTCODE--></p>
<p>..and the problem went away, the alt_disk_upgrade then ran successfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://triso.me/2012/04/23/alt_disk-migration-phase-5-error-usrbinlslpp-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cacti, FreeBSD and ZFS</title>
		<link>http://triso.me/2012/04/02/cacti-freebsd-and-zfs/</link>
		<comments>http://triso.me/2012/04/02/cacti-freebsd-and-zfs/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 03:27:46 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[freebsd]]></category>

		<guid isPermaLink="false">http://triso.me/?p=46</guid>
		<description><![CDATA[I was trying to monitor my nas disk partitions with cacti and for some reason the &#8220;Unix &#8211; Get Mounted Partitions&#8221; wouldn&#8217;t show my ZFS pool. This is because the query_unix_partitions.pl script ignores anything not starting with / The solution is to edit query_unix_partitions.pl (on FreeBSD for me this was located in /usr/local/share/cacti/scripts) and change [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to monitor my nas disk partitions with cacti and for some reason the &#8220;<strong>Unix &#8211; Get Mounted Partitions</strong>&#8221; wouldn&#8217;t show my ZFS pool. </p>
<p>This is because the query_unix_partitions.pl script ignores anything not starting with /</p>
<p>The solution is to edit query_unix_partitions.pl (on FreeBSD for me this was located in /usr/local/share/cacti/scripts) and change the regular expression from:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">/</span>^<span style="color: #7a0874; font-weight: bold;">&#40;</span>\<span style="color: #000000; font-weight: bold;">/</span>\S+<span style="color: #7a0874; font-weight: bold;">&#41;</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\d+<span style="color: #7a0874; font-weight: bold;">&#41;</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\d+<span style="color: #7a0874; font-weight: bold;">&#41;</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\d+<span style="color: #7a0874; font-weight: bold;">&#41;</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\d+<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">%</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\<span style="color: #000000; font-weight: bold;">/</span>\S<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>$<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span></div></pre><!--END_DEVFMTCODE--> to<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">/</span>^<span style="color: #7a0874; font-weight: bold;">&#40;</span>\S+<span style="color: #7a0874; font-weight: bold;">&#41;</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\d+<span style="color: #7a0874; font-weight: bold;">&#41;</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\d+<span style="color: #7a0874; font-weight: bold;">&#41;</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\d+<span style="color: #7a0874; font-weight: bold;">&#41;</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\d+<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">%</span>\s+<span style="color: #7a0874; font-weight: bold;">&#40;</span>\<span style="color: #000000; font-weight: bold;">/</span>\S<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>$<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span></div></pre><!--END_DEVFMTCODE--></p>
<p>You can test this by running the command by hand to check if your zfs array appeared, in my case it was called nas:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow">
<span style="color: #666666; font-style: italic;"># perl query_unix_partitions.pl query</span>
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>ada0p2:
devfs:
nas:
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>da0s1:
</div></pre><!--END_DEVFMTCODE--></p>
<p>It should now be graphable in cacti. </p>
]]></content:encoded>
			<wfw:commentRss>http://triso.me/2012/04/02/cacti-freebsd-and-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wollongong and Sydney iPhone Development</title>
		<link>http://triso.me/2012/02/01/wollongong-and-sydney-iphone-development/</link>
		<comments>http://triso.me/2012/02/01/wollongong-and-sydney-iphone-development/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 09:07:24 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[ios development]]></category>

		<guid isPermaLink="false">http://triso.me/?p=31</guid>
		<description><![CDATA[While my day job is a UNIX System Administrator, I am an also an iPhone developer currently working on a few projects in my spare time. My most popular application is the Sydney Traffic Cameras app, which shows you the still images of traffic around Sydney that the RTA website provides to the public. Since [...]]]></description>
			<content:encoded><![CDATA[<p>While my day job is a UNIX System Administrator, I am an also an iPhone developer currently working on a few projects in my spare time.</p>
<p>My most popular application is the Sydney Traffic Cameras app, which shows you the still images of traffic around Sydney that the RTA website provides to the public. Since releasing my application about 2.5 years ago the RTA has released their own version, but I still have roughly 1000 users per day. Thanks everyone!</p>
<p>You can get my SydTraffic app <a href="http://itunes.apple.com/au/app/sydney-traffic-cameras/id289197688?mt=8">here</a>.</p>
<p>You can contact me at nick @ triso.me if you require any information regarding development or consultation offers if you require an iPhone or iPad developer in the Wollongong or Sydney area.</p>
]]></content:encoded>
			<wfw:commentRss>http://triso.me/2012/02/01/wollongong-and-sydney-iphone-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>snickers</title>
		<link>http://triso.me/2012/01/20/snickers/</link>
		<comments>http://triso.me/2012/01/20/snickers/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 02:40:04 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[cats]]></category>

		<guid isPermaLink="false">http://triso.me/?p=26</guid>
		<description><![CDATA[hello this is my cat she is fat]]></description>
			<content:encoded><![CDATA[<p>hello this is my cat she is fat</p>
<p><img src="http://farm6.staticflickr.com/5205/5335350300_670ea21a70.jpg"></p>
]]></content:encoded>
			<wfw:commentRss>http://triso.me/2012/01/20/snickers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mksysb</title>
		<link>http://triso.me/2012/01/19/mksysb/</link>
		<comments>http://triso.me/2012/01/19/mksysb/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 03:13:10 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[aix]]></category>

		<guid isPermaLink="false">http://triso.me/?p=9</guid>
		<description><![CDATA[The quick way to create a mksysb of an AIX system: mksysb -i -p -e /path/to/mksysb]]></description>
			<content:encoded><![CDATA[<p>The quick way to create a mksysb of an AIX system:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow">mksysb <span style="color: #660033;">-i</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-e</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>mksysb</div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://triso.me/2012/01/19/mksysb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hi</title>
		<link>http://triso.me/2012/01/16/hello-world/</link>
		<comments>http://triso.me/2012/01/16/hello-world/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 03:36:26 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://triso.me/?p=1</guid>
		<description><![CDATA[look another blog, how unique.]]></description>
			<content:encoded><![CDATA[<p>look another blog, how unique.</p>
]]></content:encoded>
			<wfw:commentRss>http://triso.me/2012/01/16/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

