<?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>Parolski.com &#187; solaris</title>
	<atom:link href="http://www.parolski.com/category/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parolski.com</link>
	<description>Faith, Solaris, and Chicken Korma, by Anton Parol</description>
	<lastBuildDate>Fri, 14 Oct 2011 11:16:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Static IPs with NWAM</title>
		<link>http://www.parolski.com/2010/02/16/static-ips-with-nwam/</link>
		<comments>http://www.parolski.com/2010/02/16/static-ips-with-nwam/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 02:17:40 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[defaultrouter]]></category>
		<category><![CDATA[nameserver]]></category>
		<category><![CDATA[nsswitch.conf]]></category>
		<category><![CDATA[nwam]]></category>
		<category><![CDATA[resolv.conf]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=308</guid>
		<description><![CDATA[NWAM (Network Auto Magic) is a very easy way of getting a DHCP lease on OpenSolaris. It runs as a service, enabled by default on install, which will automatically try and get you a DHCP address when Solaris detects that you plugged your ethernet cable in! To most people thats nothing special, but theres more [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://hub.opensolaris.org/bin/view/Project+nwam/">NWAM (Network Auto Magic</a>) is a very easy way of getting a DHCP lease on <a href="http://www.opensolaris.com">OpenSolaris</a>. It runs as a service, enabled by default on install, which will automatically try and get you a DHCP address when Solaris detects that you plugged your ethernet cable in! To most people thats nothing special, but theres more to it.</p>
<p>You can also use it to automatically configure a static IP address upon boot too.</p>
<p>Simply edit the file <strong><code>/<em>etc</em>/nwam/llp</code></strong> to your desired settings. For example:</p>
<blockquote><p>e1000g0   static   192.168.0.45/24</p></blockquote>
<p>Easy!</p>
<p>The <em>/24 </em>part of that string represents the netmask. in this case, it would be expressed as 255.255.255.0 in decimal notation.</p>
<p>Then create <strong>/<em>etc</em>/defaultrouter</strong> so that your machine can reach the outside world! For example&#8230;</p>
<blockquote><p>192.168.0.1</p></blockquote>
<p>&#8230;as this is the address of the router on my LAN<br />
Finally, create the <strong>/<em>etc</em>/resolv.conf</strong> file, so that the OS knows where to look to resolve DNS names!</p>
<p>On my LAN , this would be:</p>
<blockquote><p>nameserver   192.168.0.1</p></blockquote>
<p>If your still having trouble resolving host names, you may need to check that the <strong>/<em>etc</em>/nsswitch.conf</strong> file reflects the fact that you want to look in both files and the DNS to resolve host names. The <em>hosts </em>and <em>ipnodes</em> entries should look like this:</p>
<blockquote><p>hosts:        files dns<br />
ipnodes:      files dns</p></blockquote>
<p>Once all that is done you can simply restart the NWAM service:</p>
<p><strong>pfexec svcadm restart nwam</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2010/02/16/static-ips-with-nwam/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Indexing your man pages</title>
		<link>http://www.parolski.com/2009/09/24/indexing-your-man-pages/</link>
		<comments>http://www.parolski.com/2009/09/24/indexing-your-man-pages/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 17:49:48 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[catman]]></category>
		<category><![CDATA[man page]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[windex]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=257</guid>
		<description><![CDATA[Its not as boring as you think, but you&#8217;ll HAVE to do it when you don&#8217;t have a windex file and want to search using man -k : anton@opensolaris:/$ man -k grub /usr/share/man/windex: No such file or directory To get round this, we simply go ahead and create the index with catman: anton@opensolaris:/$ pfexec time [...]]]></description>
			<content:encoded><![CDATA[<p>Its not as boring as you think, but you&#8217;ll HAVE to do it when you don&#8217;t have a windex file and want to search using man -k :</p>
<blockquote><p>anton@opensolaris:/$ man -k grub<br />
/usr/share/man/windex: No such file or directory</p></blockquote>
<p>To get round this, we simply go ahead and create the index with <a href="http://docs.sun.com/app/docs/doc/801-6680-1M/6i11qf4sq?a=view&amp;q=catman">catman</a>:</p>
<blockquote><p>anton@opensolaris:/$ pfexec time catman -w</p>
<p>real        2.9<br />
user        1.8<br />
sys         0.1</p></blockquote>
<p>Its pretty quick, and you get left with a little index in /usr/share/man/windex. Its just an ascii version of all the names of your manpages, plus a one line summary of what each one does:</p>
<blockquote><p>1        1 (3openssl)    - OpenSSL configuration functions<br />
1        1 (3openssl)    - OpenSSL configuration functions<br />
1394        ieee1394 (7d)    - Solaris IEEE-1394 Architecture<br />
2        2 (3openssl)    - \&amp; OpenSSL configuration cleanup functions<br />
2        2 (3openssl)    - \&amp; OpenSSL configuration cleanup functions<br />
2        2 (3openssl)    - \&amp; OpenSSL configuration cleanup functions<br />
2.1        EasyTAG (1)    - Tag editor for MP3 and Ogg Vorbis files<br />
2_F32_Sat    mlib_SignalConvertShift_U8_S8_Sat (3mlib)   &#8211; data type convert<br />
with shifting<br />
5.0        MySQL (1)    - MySQL RDBMS version 5.0 for Solaris<br />
6to4        tun (7m)    - tunneling STREAMS module<br />
6to4relay    6to4relay (1m)    - administer configuration for 6to4 relay router<br />
communication<br />
6to4tun     tun (7m)    - tunneling STREAMS module<br />
7-Zip        7-Zip (1)    - A file archiver with highest compression ratio</p></blockquote>
<p>So now when you do your man -k , you&#8217;ll get something useful!:</p>
<blockquote><p>anton@opensolaris:/$ man -k grub<br />
bootadm     bootadm (1m)    - manage bootability of GRUB-enabled operating system<br />
grub        grub (5)    - GRand Unified Bootloader software on Solaris<br />
installgrub    installgrub (1m)    &#8211; install GRUB in a disk partition or a floppy</p></blockquote>
<p>Crucially you only want to do catman -w , otherwise you&#8217;ll be reformatting all your manpages!</p>
<p>From the man page of <a href="http://docs.sun.com/app/docs/doc/801-6680-1M/6i11qf4sq?a=view&amp;q=catman">catman</a>:</p>
<blockquote><p>-w                  Only create the windex database that  is<br />
used  by whatis(1) and the man(1) -f and<br />
-k options.  No manual  reformatting  is<br />
done.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2009/09/24/indexing-your-man-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris support for Rock processor</title>
		<link>http://www.parolski.com/2008/09/29/solaris-support-for-rock-processor/</link>
		<comments>http://www.parolski.com/2008/09/29/solaris-support-for-rock-processor/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 08:03:11 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[nevada]]></category>
		<category><![CDATA[PSARC]]></category>
		<category><![CDATA[rock]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=110</guid>
		<description><![CDATA[Its been added to snv (Solaris Nevada, the development build of Solaris) build 100 (were on 99 at the moment). This includes the following changes: 6368478 Solaris needs to support the Rock processor 6440653 stores to sun4v error queue head registers are missing a membar #Sync 6639717 FLUSH instruction used more than necessary in sun4v]]></description>
			<content:encoded><![CDATA[<p><a href="http://opensolaris.org/os/community/on/flag-days/pages/2008092603/">Its been added</a> to snv (Solaris Nevada, the development build of Solaris) build 100 (were on 99 at the moment).</p>
<p>This includes the following changes:</p>
<pre>6368478 Solaris needs to support the Rock processor
6440653 stores to sun4v error queue head registers are missing a membar #Sync
6639717 FLUSH instruction used more than necessary in sun4v</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/09/29/solaris-support-for-rock-processor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zfs in linux, maybe! (read only)</title>
		<link>http://www.parolski.com/2008/07/23/zfs-in-linux-maybe-read-only/</link>
		<comments>http://www.parolski.com/2008/07/23/zfs-in-linux-maybe-read-only/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 19:39:27 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[dtrace]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=60</guid>
		<description><![CDATA[Ok, so Linux doesn&#8217;t have ZFS yet, but it might not be that far off. There are signs of a readonly implementation, depending on whether or not people actually understand the license, being considered by linux kernel hackers. This would be a huge boost for linux, and Solaris alike. As Darren Moffat points out, ZFS [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so Linux doesn&#8217;t have <a href="http://en.wikipedia.org/wiki/ZFS">ZFS</a> yet, but it might not be that far off. There <a href="http://kerneltrap.org/Linux/Proposing_Read-Only_ZFS">are signs of a readonly</a> implementation, depending on whether or not people actually understand the license, being considered by linux kernel hackers. This would be a huge boost for linux, and Solaris alike. As <a href="http://blogs.sun.com/darren/entry/zfs_under_gplv2_already_exists">Darren Moffat points out</a>, ZFS already exists in the FreeBSD source tree, and its likely to be in Mac OSX . Given this, surely its only a matter of time before we see it put in. Already <a href="http://blogs.sun.com/bonwick/entry/casablanca">we&#8217;ve seen Linus have talks with Jeff Bonwick</a>, which is definitely a good sign.</p>
<p>Maybe once this is done, a proper attempt at getting dtrace across might happen. After all, something like dtrace <a href="https://lists.linux-foundation.org/pipermail/ksummit-2008-discuss/2008-June/000153.html">is</a> <a href="http://softwareblogs.intel.com/2007/05/15/why-linux-people-lust-after-dtrace/">highly desirable</a> on any operating system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/07/23/zfs-in-linux-maybe-read-only/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open High Availability Cluster</title>
		<link>http://www.parolski.com/2008/05/31/open-high-availability-cluster/</link>
		<comments>http://www.parolski.com/2008/05/31/open-high-availability-cluster/#comments</comments>
		<pubDate>Sat, 31 May 2008 18:52:54 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[OHAC]]></category>
		<category><![CDATA[open solaris]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=52</guid>
		<description><![CDATA[A year ago Sun announced that it was going to be open sourcing its high availability cluster software. According to this blog, they are now delivering on that promise six months ahead of schedule by releasing two million lines of code. TWO MILLION!!!! thats loads! OHAC isn&#8217;t quite the same as Solaris Cluster. Its basically [...]]]></description>
			<content:encoded><![CDATA[<p>A year ago Sun announced that it was going to be open sourcing its <a href="http://www.sun.com/aboutsun/pr/2008-05/sunflash.20080529.2.xml">high availability cluster software</a>. According to <a href="http://blogs.sun.com/SC/en_US/category/Open+High+Availability+Cluster">this blog</a>, they are now delivering on that promise six months ahead of schedule by releasing two million lines of code. TWO MILLION!!!! thats loads! OHAC isn&#8217;t quite the same as <a href="http://www.sun.com/software/solaris/cluster/index.xml">Solaris Cluster</a>. Its basically most of the code base, but not all packaged up and is not currently supported by Sun. However, Sun is intending on moving the development work away from the official product and onto the OHAC in the future. This is great news for anyone thinking of developing there own custom agents for their own software, or for anyone who just wants to poke around some enterprise-class cluster software!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/05/31/open-high-availability-cluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>project indiana is born!</title>
		<link>http://www.parolski.com/2008/05/05/project-indiana-is-born/</link>
		<comments>http://www.parolski.com/2008/05/05/project-indiana-is-born/#comments</comments>
		<pubDate>Mon, 05 May 2008 10:26:25 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[pkg]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=49</guid>
		<description><![CDATA[The latest version of Opensolaris can be found at opensolaris.com . This was known as project indiana whilst in development and is now yours absolutely free! (support does cost). Its basically Sun&#8217;s home rolled distro of opensolaris.org , and now contains IPS (Image Packaging System) . Essentially IPS is like apt for ubuntu and debian: [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of Opensolaris can be found at <a href="http://www.parolski.com/wp-admin/opensolaris.com">opensolaris.com</a> . This was known as <a href="http://opensolaris.org/os/project/indiana/">project indiana</a> whilst in development and is now yours absolutely free! (support does cost). Its basically Sun&#8217;s home rolled distro of opensolaris.org , and now contains IPS (Image Packaging System) . Essentially IPS is like apt for ubuntu and debian:</p>
<p>you want netbeans?</p>
<pre><tt>pkg install netbeans
</tt></pre>
<p>Theres also a <a href="http://frsun.downloads.edgesuite.net/sun/08D12331/index.html">graphical installer</a> too! Theres a <a href="http://frsun.downloads.edgesuite.net/sun/08D12331/index.html">screencast</a> you might want to watch which explains a little about how to use it, and what its about!</p>
<p>You should also note that its made it onto distrowatch.com, to rank 69!!!!Hopefully enough people will blog about the release to push that figure up!!!Surely it should make it to the top ten, for all the features it has?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/05/05/project-indiana-is-born/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Abusing Solaris with style</title>
		<link>http://www.parolski.com/2008/04/19/abusing-solaris-with-style/</link>
		<comments>http://www.parolski.com/2008/04/19/abusing-solaris-with-style/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 01:18:36 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[smash]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=47</guid>
		<description><![CDATA[Turning Solaris to goo with destructive commands is something I&#8217;ve been enjoying for a while now, so its great to see someone add cash to the equation and take the next step in &#8220;squashing&#8221; bugs.. and hard drives.]]></description>
			<content:encoded><![CDATA[<p>Turning Solaris to goo with destructive commands is something I&#8217;ve been<a href="http://www.parolski.com/2008/03/15/abusing-solaris-attempt-2-stressing-out-zfs-part2"> enjoying</a> for a while now, so its great to see someone add cash to the equation and take the next step in &#8220;squashing&#8221; bugs.. and hard drives.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/CN6iDzesEs0&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/CN6iDzesEs0&amp;hl=en" wmode="transparent"></embed></object></p>
<p> <img src='http://www.parolski.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/04/19/abusing-solaris-with-style/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>cd into, or make a directory beginning with a leading &#8220;-&#8221;</title>
		<link>http://www.parolski.com/2008/04/12/cd-into-or-make-a-directory-beginning-with-a-leading/</link>
		<comments>http://www.parolski.com/2008/04/12/cd-into-or-make-a-directory-beginning-with-a-leading/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 19:25:28 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[cd]]></category>
		<category><![CDATA[path]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://www.parolski.com/2008/04/12/cd-into-or-make-a-directory-beginning-with-a-leading/</guid>
		<description><![CDATA[Having ZFS and SAMBA on the home machine is great. It was simple to set up a share and offer it out to my house mates for them to backup their dissertation work on. With ZFS compressing the files, some of my file systems are getting a 1.6x ratio (60% disk space for free compared [...]]]></description>
			<content:encoded><![CDATA[<p>Having <a href="http://en.wikipedia.org/wiki/ZFS">ZFS</a> and <a href="http://en.wikipedia.org/wiki/Samba_%28software%29">SAMBA</a> on the home machine is great. It was simple to <a href="http://blogs.sun.com/timthomas/entry/enabling_and_configuring_samba_as">set up a share</a> and offer it out to my house mates for them to backup their dissertation work on. With ZFS compressing the files, some of my file systems are getting a 1.6x ratio (60% disk space for free compared with a non-compressing file system)</p>
<p>The interesting bit comes with file permissions and Windows file <a href="http://www.xxcopy.com/xxcopy06.htm">attributes</a> which aren&#8217;t quite the same, in fact, not at all. The attributes get mapped onto the unix file permissions in an interesting way, and you&#8217;ll need to keep that in mind when ls -l ing around a shared directory.</p>
<p>Meanwhile, there was a directory named &#8220;&#8212;-FILES&#8212;-&#8221; on the share. Trying to use</p>
<pre>cd "----FILES----"</pre>
<p>doesn&#8217;t quite work! Despite quoting the directory name, cd still tries to take some of those dashes as a switch. I&#8217;m not sure if theres a way around this using the relative path, but there is a different workaround: simply use the <a href="http://en.wikipedia.org/wiki/Path_(computing)">absolute path</a>, instead of a relative one to get you there, eg:</p>
<pre>cd /mydir/----FILES..../</pre>
<p>To make a directory with leading dashes, you&#8217;ll need to specify the full pathname, or use something like this to make the process less painful:</p>
<pre>mkdir `pwd`/--mydir--</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/04/12/cd-into-or-make-a-directory-beginning-with-a-leading/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Sun Connection &#8211;bringing back your hardware!</title>
		<link>http://www.parolski.com/2008/04/01/sun-connection-bringing-back-your-hardware/</link>
		<comments>http://www.parolski.com/2008/04/01/sun-connection-bringing-back-your-hardware/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 22:55:45 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[data center]]></category>
		<category><![CDATA[dissertation]]></category>
		<category><![CDATA[inventory]]></category>
		<category><![CDATA[sun connection]]></category>

		<guid isPermaLink="false">http://www.parolski.com/2008/04/01/sun-connection-bringing-back-your-hardware/</guid>
		<description><![CDATA[My final year dissertation project is a software tool for asset tracking in a data center environment. The basic idea is that you run this tool after install your Solaris machine, and it reports back information about the hardware to a database for later inspection. Its also has hooks for being run as a service, [...]]]></description>
			<content:encoded><![CDATA[<p>My final year dissertation project is a software tool for asset tracking in a data center environment. The basic idea is that you run this tool after install your Solaris machine, and it reports back information about the hardware to a database for later inspection. Its also has hooks for being run as a service, so you can probe the machine at any time to see what its got. Simple enough, right?</p>
<p>Well, Sun has just announced that their <a href="https://openservicetag.dev.java.net/">Service Tag</a> technology has just been open sourced. They fit in as a part to their <a href="http://www.sun.com/service/sunconnection/index.jsp">Sun Connection</a> infrastructure management platform. Basically, the service tags are the little bits of software used to identify you hardware and report it back to you. This can be implemented for hardware and software, and should mean that ISVs and all hardware vendors can make their products that little bit easier to manage!  To quote the site:</p>
<blockquote><p>Open Service Tag is the reference implementation of a standards initiative that will seek the involvement of OEMs (Original Equipment Manufacturer) and ISVs (Independent Software Vendor) to define a standard definition for product identification and discovery.</p></blockquote>
<p>This is very good news for System Administrators! I can speak from experience that its not nice having to open up hundreds of machines looking for a particular piece of hardware, because there isn&#8217;t a command to find it. I truly hope that Sun go through all their back catalog of hardware to make sure absolutely everything is possible to find! This should also include bits of hardware that carry other interesting things built in, like motherboard network interfaces.</p>
<p>Its also quite entertaining that if a Sun product isn&#8217;t called a &#8220;Sun Java Web enabled, scalable ..&#8221; something or other, it still has important sounding features like &#8220;Sun Update Satellite Console&#8221;.</p>
<p>Its also surprising that Sun has been working on this since <a href="https://inventory.sun.com/inventory/">May 2007</a> and I&#8217;ve missed it till now! A high level overview of how this might help you manage your enterprise can be found <a href="https://inventory.sun.com/inventory/"></a><a href="http://www.sun.com/service/sunconnection/scwhitepaper.pdf">here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/04/01/sun-connection-bringing-back-your-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Abusing Solaris attempt #2: stressing out ZFS, PART2</title>
		<link>http://www.parolski.com/2008/03/15/abusing-solaris-attempt-2-stressing-out-zfs-part2/</link>
		<comments>http://www.parolski.com/2008/03/15/abusing-solaris-attempt-2-stressing-out-zfs-part2/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 18:09:49 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[big file]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[zfs]]></category>
		<category><![CDATA[zpool]]></category>

		<guid isPermaLink="false">http://www.parolski.com/2008/03/15/abusing-solaris-attempt-2-stressing-out-zfs-part2/</guid>
		<description><![CDATA[In my last post, the files were being written to an IDE hard disks. Now lets see what happens if we write to /tmp instead. Will Solaris cope with ten million files in /tmp? First, if we want to make use of the compression, we need to make a file system: We make the files [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post, the files were being written to an IDE hard disks. Now lets see what happens if we write to /tmp instead. Will Solaris cope with ten million files in /tmp? First, if we want to make use of the compression, we need to make a file system:</p>
<p>We make the files (we can use files instead of real disks&#8230;):<br />
<code><br />
anton@solaris-devx ~ $ mkfile 100M /tmp/file1<br />
anton@solaris-devx ~ $ mkfile 100M /tmp/file2</code><br />
and then su to root to make the ZFS file system (mirrored):</p>
<p><code># zpool create crazedPool mirror /tmp/file1 /tmp/file2</code></p>
<p>I should note that for some reason ZFS didn&#8217;t make use of the entire file size:</p>
<p><code># zfs list crazedPool<br />
NAME         USED  AVAIL  REFER  MOUNTPOINT<br />
crazedPool   110K  63.4M    20K  /crazedPool</code></p>
<p>And now the real test. How about a big file? Lets say, 100G?:</p>
<p><code>anton@solaris-devx dir1 $ time mkfile 100G woot<br />
real    1m21.995s<br />
user    0m0.191s<br />
sys     0m30.308s</code><br />
And what about 10000 files, each 10M in size?:<br />
<code>anton@solaris-devx dir1 $ i="0"<br />
anton@solaris-devx dir1 $ time while [ $i -lt 10000 ]<br />
&gt; do<br />
&gt; mkfile 10M la0$i<br />
&gt; i=$[$i+1]<br />
&gt; done<br />
real    1m46.789s<br />
user    0m4.665s<br />
sys     0m43.492s</code></p>
<p>So far, so good. So now lets <a href="http://www.phrases.org.uk/meanings/push-the-envelope.html">push the envelope</a> off the desk. Or maybe off a cliff. Lets see what happens when we make a 100TB file with ZFS!</p>
<p><code>anton@solaris-devx dir1 $ ls -l megaFile<br />
-rw-------   1 anton    staff    107374182400000 Mar 15 18:05 megaFile</code></p>
<p>and the compression ratio?:</p>
<p><code>anton@solaris-devx tmp $ zfs get compressratio crazedPool<br />
NAME        PROPERTY       VALUE       SOURCE<br />
crazedPool  compressratio  1.00x       -</code></p>
<p>hmm, not quite what I was expecting!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/03/15/abusing-solaris-attempt-2-stressing-out-zfs-part2/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

