<?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>Daz's bits and bobs &#187; zfs</title>
	<atom:link href="http://sigtar.com/tag/zfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://sigtar.com</link>
	<description>…bytes bits</description>
	<lastBuildDate>Mon, 26 Jul 2010 07:25:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>4k sector hard drives and zfs</title>
		<link>http://sigtar.com/2010/06/06/4k-sector-hard-drives-and-zfs/</link>
		<comments>http://sigtar.com/2010/06/06/4k-sector-hard-drives-and-zfs/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 22:48:34 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[4k]]></category>
		<category><![CDATA[drives]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[sector]]></category>
		<category><![CDATA[wd10ears]]></category>
		<category><![CDATA[western digital]]></category>
		<category><![CDATA[win 7]]></category>
		<category><![CDATA[xp]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=1154</guid>
		<description><![CDATA[I hit this as a problem recently. One of my disks died in my raidz so i ran down to the store and grabbed me a replacement WD10EARS (Western Digital 1Tb Green) drive.
BUT&#8230;
The one thing the store didn&#8217;t mention to me is the new 4K cluster sizing on the drive. I guess they assume most people run windows (though [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I hit this as a problem recently. One of my disks died in my raidz so i ran down to the store and grabbed me a replacement WD10EARS (Western Digital 1Tb Green) drive.</p>
<p>BUT&#8230;</p>
<p>The one thing the store didn&#8217;t mention to me is the new 4K cluster sizing on the drive. I guess they assume most people run windows (though the issues are also present in XP). See these posts&#8230;</p>
<p><a href="http://blog.temeletry.co.uk/2010/05/wd-green-wd10ears/">http://blog.temeletry.co.uk/2010/05/wd-green-wd10ears/</a></p>
<blockquote><p>Unfortunately they really don’t work as well as you’d like in a server <img src="http://blog.temeletry.co.uk/wp-includes/images/smilies/icon_sad.gif" alt=":(" /></p>
<ul>
<li><strong>They come with a 5 second head spin</strong> down setting that causes them to park their heads if they have been left idle for more than 5 seconds. As it takes a second or two to spin back up this can result in a very laggy experience during interactive sessions.</li>
<li><strong>They do not have NCQ or any form of command queing/optimisation</strong>. This means that (on FreeBSD at least) you are stuck in the LOOK elevator. In particular this was noticed when doing sequential read &amp; write (think dump|restore tar|untar etc) and interactive tasks simultaneously</li>
<li><strong>They really suck with FreeBSD and ZFS…</strong></li>
</ul>
</blockquote>
<p><a href="http://community.wdc.com/t5/Desktop/Poor-performace-in-OpenSolaris-with-4K-sector-drive-WD10EARS-in/m-p/21132">http://community.wdc.com/t5/Desktop/Poor-performace-in-OpenSolaris-with-4K-sector-drive-WD10EARS-in/m-p/21132</a></p>
<blockquote><p>While the other 512-byte sector HDDs were reading/writing at 30MB/s sustained, this EARS model did not exceeded the 1MB/s barrier.</p>
<p>I know for sure that this is related to the 512-byte sector firmware emulation, because the disk works perfectly well if I partition it in a 4k-sector alignment.</p>
<p>The thing is that even in that way, using it in a ZFS RAIDZ configuration the performance is very poor because RAIDZ uses a dynamic stripe size.</p>
<p>The bottom line here is that folks like me, that use different versions of Unix, need the firmware to present the disk as a 4K-sector disk to unleash the full potential of the technology. The OS is already prepared to support that sector size, no need for emulation here.</p></blockquote>
<p><a href="http://opensolaris.org/jive/thread.jspa?threadID=125702">http://opensolaris.org/jive/thread.jspa?threadID=125702</a></p>
<blockquote><p>Some preliminary testing that I have done&#8230;the WD20EARS (2TB advanced format drives) actually presents emulated 512byte sectors to the host o/s.</p>
<p>The drive documentation indicates that jumpers 7-8 should be enabled if the o/s does not support advanced format drives &#8211; the drive still present 512 bytes sectors.</p>
<p>I have attempted to raise a support ticket querying this, and how one can disable 512byte sector emulation in the drive (perhaps through a firmware upgrade) but I have not received any response to date.</p>
<p>Hopefully is enough people raise support tickets, WD may release firmware that allows the drive to natively present 4k blocks. Other doco indicates several other jumper combinations &#8211; all do not seem to make the drive present 4k byte blocks.</p>
<p>Perhaps someone internal to sun that has a relationship with WD may be able to shed some light on this? It would be fantastic to find out that I was just doing something wrong -&gt; then I can get the drives to be seen on 32bit systems (ie &#8211; our embedded kit for osol, velitium)</p>
<p>Tested using b133 (64bit intel).</p></blockquote>
<p>Try to avoid the green drives in ZFS for now. Remember to do your research before you buy a bunch of disks. I was caught off guard by this small change (works fine in win7 etc) which kills performance in ZFS. Ouch.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2010/06/06/4k-sector-hard-drives-and-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zfs &#8211; now has dedup!</title>
		<link>http://sigtar.com/2010/04/05/zfs-now-has-dedup/</link>
		<comments>http://sigtar.com/2010/04/05/zfs-now-has-dedup/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 09:43:47 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[dedup]]></category>
		<category><![CDATA[dedup=on]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[synchronous]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=1105</guid>
		<description><![CDATA[Cool. zfs as of version 21 has deduplication built in. And thats the good dedup &#8211; synchronous dedup. i.e. deduped on the fly!
How easy is it to turn on? &#8211; very!
Once you have upgraded your zpool to 21 or above you can run the following command at the pool level and deduplication will be over [...]


Related posts:<ol><li><a href='http://sigtar.com/2009/10/19/opensolaris-zfs-recovery-after-kernel-panic/' rel='bookmark' title='Permanent Link: Opensolaris &#8211; ZFS recovery after kernel panic'>Opensolaris &#8211; ZFS recovery after kernel panic</a> <small>Recently i hit what i thought was a huge disaster...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
<li><a href='http://sigtar.com/2009/08/19/zfs-compression-and-latency/' rel='bookmark' title='Permanent Link: zfs compression and latency'>zfs compression and latency</a> <small>Since im using ZFS as storage via NFS for my...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Cool. zfs as of version 21 has deduplication built in. And thats the good dedup &#8211; synchronous dedup. i.e. deduped on the fly!</p>
<p>How easy is it to turn on? &#8211; very!</p>
<p>Once you have upgraded your zpool to 21 or above you can run the following command at the pool level and deduplication will be over all your data from that point onwards.</p>
<p><strong>zpool set dedup=on tank</strong></p>
<p>Done</p>
<p>Note : Watch your performance, it will drop like a rock if you do not have enough ram for your dedup tables. Do some tests after enabling this feature.</p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2009/10/19/opensolaris-zfs-recovery-after-kernel-panic/' rel='bookmark' title='Permanent Link: Opensolaris &#8211; ZFS recovery after kernel panic'>Opensolaris &#8211; ZFS recovery after kernel panic</a> <small>Recently i hit what i thought was a huge disaster...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
<li><a href='http://sigtar.com/2009/08/19/zfs-compression-and-latency/' rel='bookmark' title='Permanent Link: zfs compression and latency'>zfs compression and latency</a> <small>Since im using ZFS as storage via NFS for my...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2010/04/05/zfs-now-has-dedup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris &#8211; iSCSI</title>
		<link>http://sigtar.com/2009/11/13/iscsi-in-opensolaris/</link>
		<comments>http://sigtar.com/2009/11/13/iscsi-in-opensolaris/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 07:25:49 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=1021</guid>
		<description><![CDATA[Want iSCSI in opensolaris?
Grab SUNWiscsitgt via package manager.
enable the server via svcadm;
svcadm enable iscsitgt
create your zfs iscsi pool;  (this command will limit iscsi drive to 500GB in size)
zfs create -V 500G tank/iscsi
set isci on via zfs command;
zfs set shareiscsi=on tank/iscsi
check that target is up and running;
iscsitadm list target -v 
Done. Should be able to connect [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/' rel='bookmark' title='Permanent Link: vSphere and Multipathing iSCSI'>vSphere and Multipathing iSCSI</a> <small>This is just a quick reference to create a multiplathing...</small></li>
<li><a href='http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/' rel='bookmark' title='Permanent Link: Jumbo Frames on your vSphere ESXi box'>Jumbo Frames on your vSphere ESXi box</a> <small>Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/ you may want to implement...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Want iSCSI in opensolaris?</p>
<p>Grab SUNWiscsitgt via package manager.</p>
<p>enable the server via svcadm;</p>
<p><strong>svcadm enable iscsitgt</strong></p>
<p>create your zfs iscsi pool;  (this command will limit iscsi drive to 500GB in size)</p>
<p><strong>zfs create -V 500G tank/iscsi</strong></p>
<p>set isci on via zfs command;</p>
<p><strong>zfs set shareiscsi=on tank/iscsi</strong></p>
<p>check that target is up and running;</p>
<p><strong>iscsitadm list target -v </strong></p>
<p>Done. Should be able to connect via ip from another machine. I have not covered CHAP or any client side configuration. Assumed isolated LAN.</p>
<p><a href="http://sigtar.com/wp-content/uploads/2009/11/HDTune_Benchmark_SUN_____SOLARIS.png"><img class="alignnone size-full wp-image-1027" title="HDTune_Benchmark_SUN_____SOLARIS" src="http://sigtar.com/wp-content/uploads/2009/11/HDTune_Benchmark_SUN_____SOLARIS.png" alt="HDTune_Benchmark_SUN_____SOLARIS" width="570" height="460" /></a></p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/' rel='bookmark' title='Permanent Link: vSphere and Multipathing iSCSI'>vSphere and Multipathing iSCSI</a> <small>This is just a quick reference to create a multiplathing...</small></li>
<li><a href='http://sigtar.com/2010/03/02/jumbo-frames-on-your-vsphere-esxi-box/' rel='bookmark' title='Permanent Link: Jumbo Frames on your vSphere ESXi box'>Jumbo Frames on your vSphere ESXi box</a> <small>Continuing on from this http://sigtar.com/2010/02/04/vsphere-and-multipathing-iscsi/ you may want to implement...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/11/13/iscsi-in-opensolaris/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>FreeNAS &#8211; zfs in version 0.7</title>
		<link>http://sigtar.com/2009/10/28/freenas-zfs-in-version-0-7/</link>
		<comments>http://sigtar.com/2009/10/28/freenas-zfs-in-version-0-7/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 06:33:09 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[0.7]]></category>
		<category><![CDATA[dedicated]]></category>
		<category><![CDATA[file server]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=1010</guid>
		<description><![CDATA[If you want to give zfs a go and also want a dedicated file server this is the solution.
Check it out here;
http://www.freenas.org/

I&#8217;m still using opensolaris though as i like running a few virtualbox machines on the same box.


No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>If you want to give zfs a go and also want a dedicated file server this is the solution.</p>
<p>Check it out here;</p>
<p><a href="http://www.freenas.org/" target="_blank">http://www.freenas.org/</a></p>
<p><a href="http://sigtar.com/wp-content/uploads/2009/10/smart.png"><img class="alignnone size-full wp-image-1016" title="smart" src="http://sigtar.com/wp-content/uploads/2009/10/smart.png" alt="smart" width="544" height="640" /></a></p>
<p>I&#8217;m still using opensolaris though as i like running a few virtualbox machines on the same box.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/10/28/freenas-zfs-in-version-0-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opensolaris &#8211; ZFS recovery after kernel panic</title>
		<link>http://sigtar.com/2009/10/19/opensolaris-zfs-recovery-after-kernel-panic/</link>
		<comments>http://sigtar.com/2009/10/19/opensolaris-zfs-recovery-after-kernel-panic/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 07:08:42 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[kernel panic]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[panic]]></category>
		<category><![CDATA[victor]]></category>
		<category><![CDATA[zdb]]></category>
		<category><![CDATA[zfs]]></category>
		<category><![CDATA[zpool]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=1002</guid>
		<description><![CDATA[Recently i hit what i thought was a huge disaster with my ZFS array. Essentially i was unable to import my zpool without causing the kernel to panic and reboot. Still unsure of the exact reason, but it didn&#8217;t seem to be due to a hardware fault. (zpool import showed all disks as ONLINE)
When i [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/04/05/zfs-now-has-dedup/' rel='bookmark' title='Permanent Link: zfs &#8211; now has dedup!'>zfs &#8211; now has dedup!</a> <small>Cool. zfs as of version 21 has deduplication built in....</small></li>
<li><a href='http://sigtar.com/2009/08/08/opensolaris-samba-server/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; Samba server'>OpenSolaris &#8211; Samba server</a> <small>Time to share your newly created ZFS volume via samba...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Recently i hit what i thought was a huge disaster with my ZFS array. Essentially i was unable to import my zpool without causing the kernel to panic and reboot. Still unsure of the exact reason, but it didn&#8217;t seem to be due to a hardware fault. (zpool import showed all disks as ONLINE)</p>
<p>When i tried to import with <strong>zpool import -f tank</strong> the machine would lockup and reboot (panic).</p>
<p>The kernel panic;  (key line)</p>
<p>&gt; genunix: [ID 361072 kern.notice] zfs: freeing free segment (offset=<span id="lw_1255849819_2">3540185931776</span> size=22528)</p>
<p>Nothing i could do would fix it&#8230; tried both of these options in the system file with no success;</p>
<p><strong>set zfs:zfs_recover=1<br />
set aok=1</strong></p>
<p>After a quick email from a Sun Engineer (kudos to Victor), the <strong>zdb </strong>command line that fixed it;</p>
<p><strong>zdb -e -bcsvL &lt;poolname&gt;</strong></p>
<p>zdb is a read only diagnostic tool, but seemed to read through the sectors that had the corrupt data and fix things??  (not sure how a read only tool does that) &#8211; the run took well over 15hrs.</p>
<p><strong><em>Updated: 20/10/2009</em></strong></p>
<p>Apparently if you have set<strong> zfs:zfs_recover=1</strong> in your system file the zdb command will operate in a different manner fixing the issues it encounters.</p>
<p>Remember to run a <strong>zpool scrub &lt;poolname&gt;</strong> if you are lucky enough to get it back online.</p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/04/05/zfs-now-has-dedup/' rel='bookmark' title='Permanent Link: zfs &#8211; now has dedup!'>zfs &#8211; now has dedup!</a> <small>Cool. zfs as of version 21 has deduplication built in....</small></li>
<li><a href='http://sigtar.com/2009/08/08/opensolaris-samba-server/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; Samba server'>OpenSolaris &#8211; Samba server</a> <small>Time to share your newly created ZFS volume via samba...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/10/19/opensolaris-zfs-recovery-after-kernel-panic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>opensolaris &#8211; zfs PCI-e sata controller</title>
		<link>http://sigtar.com/2009/09/01/opensolaris-zfs-pci-e-sata-controller/</link>
		<comments>http://sigtar.com/2009/09/01/opensolaris-zfs-pci-e-sata-controller/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 03:33:41 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[pci-e]]></category>
		<category><![CDATA[sata controller]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=781</guid>
		<description><![CDATA[Time for me to add some more sata ports to my opensolaris build. I&#8217;ve been using the SI 3114 PCI cards  (4x sata) up until now without any issue, but they are limited by the bandwidth on the PCI slot. Time to upgrade and boost my performance.
At the moment i&#8217;m looking at grabbing one of these UIO [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Time for me to add some more sata ports to my opensolaris build. I&#8217;ve been using the <a href="http://sigtar.com/2009/05/20/flashing-si3114-to-sata-only-bios/" target="_blank">SI 3114 PCI</a> cards  (4x sata) up until now without any issue, but they are limited by the bandwidth on the PCI slot. Time to upgrade and boost my performance.</p>
<p>At the moment i&#8217;m looking at grabbing one of these UIO cards;</p>
<p><a href="http://sigtar.com/wp-content/uploads/2009/07/AOC-USAS-L8i.gif"><img class="alignleft size-full wp-image-783" title="AOC-USAS-L8i" src="http://sigtar.com/wp-content/uploads/2009/07/AOC-USAS-L8i.gif" alt="AOC-USAS-L8i" width="323" height="172" /></a></p>
<p><a href="http://www.supermicro.com/products/accessories/addon/AOC-USAS-L8i.cfm" target="_blank">http://www.supermicro.com/products/accessories/addon/AOC-USAS-L8i.cfm</a></p>
<p>From what iv&#8217;e been reading these cards will work fine in a PCI-e slot (8x / 16x) after a bit of modding and display the drives straight to opensolaris without any additional drivers etc. (same chipset used in various sun servers)</p>
<p>The backplate on a UIO card is essentially on backwards, when you remove the backplate and put the card into the PCI-e slot all the components will appear on the other side to normal. It is possible if you have a spare PCI-e backplate to attach to this card (just unscrew the current backplate and replace).</p>
<p>And the required mini SAS to SATA cables from extreme deal;</p>
<p><a href="http://www.dealextreme.com/details.dx/sku.18023" target="_blank">http://www.dealextreme.com/details.dx/sku.18023</a></p>
<p>Done.</p>
<p><em><strong>Updated : 02/09/2009 </strong></em></p>
<p>Put this card in and bingo no problems. Had to export and re-import the zpool as it had problems with the drives being on a different controller? (hadn&#8217;t seen that before), but after that everything was working very well as expected. Cool! </p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/09/01/opensolaris-zfs-pci-e-sata-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zfs compression and latency</title>
		<link>http://sigtar.com/2009/08/19/zfs-compression-and-latency/</link>
		<comments>http://sigtar.com/2009/08/19/zfs-compression-and-latency/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 04:13:28 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[iometer]]></category>
		<category><![CDATA[latency]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[virtual machines]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=913</guid>
		<description><![CDATA[Since im using ZFS as storage via NFS for my some of my vmware environments i need to ensure that latency on my disk is reduced where ever possible.
There is alot of talk about ZFS compression being &#8220;faster&#8221; than a non-compressed pool due to less physical data being pulled off the drives. This of course [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/03/26/iometer-testing/' rel='bookmark' title='Permanent Link: iometer testing'>iometer testing</a> <small>The following is some notes i have around the parameters...</small></li>
<li><a href='http://sigtar.com/2009/12/18/vma-using-hp-power-protector-agent-to-shutdown-virtual-hosts/' rel='bookmark' title='Permanent Link: vMA &#8211; Using HP Power Protector agent to shutdown virtual hosts'>vMA &#8211; Using HP Power Protector agent to shutdown virtual hosts</a> <small>Goal was to create a vMA which would send a...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Since im using ZFS as storage via NFS for my some of my vmware environments i need to ensure that latency on my disk is reduced where ever possible.</p>
<p>There is alot of talk about ZFS compression being &#8220;faster&#8221; than a non-compressed pool due to less physical data being pulled off the drives. This of course depends on the system powering ZFS, but i wanted to run some tests specifically on latency. Throughput is fine in some situations, but latency is a killer when it comes to lots of small reads and writes (in the case of hosting virtual machines)</p>
<p>I recently completed some basic tests focusing on the differences in latency when ZFS compression (lzjb) is enabled or disabled. IOMeter was my tool of choice and i hit my ZFS box via a mapped drive.</p>
<p>I&#8217;m not concerned with the actual figures, but the <em>difference </em>between the figures</p>
<p>I have run the test multiple times (to eliminate caching as a factor) and can validate that compression (on my system anyhow) increases latency</p>
<p>Basic Results from a &#8220;All in one&#8221; test suite&#8230;  (similar results across all my tests)</p>
<p><strong>ZFS uncompressed:</strong></p>
<p>IOps : 2376.68<br />
Read MBps : 15.14<br />
Write MBps : 15.36<br />
Average Response Time : 0.42<br />
Average Read Response Time : 0.42<br />
Average Write Response Time : 0.43<br />
Average Transaction Time : 0.42</p>
<p><strong>ZFS compressed:  (lzjb) </strong></p>
<p>IOps : 1901.82<br />
Read MBps : 12.09<br />
Write MBps : 12.28<br />
Average Response Time : 0.53<br />
Average Read Response Time : 0.44<br />
Average Write Response Time : 0.61<br />
Average Transaction Time : 0.53</p>
<p>As you can see from the results, the AWRT especially is much higher due to compression. I wouldn&#8217;t recommend using zfs compression where latency is a large factor (virtual machines)</p>
<p>Note: Under all the tests performed the CPU (dual core) on the zfs box was never 100% &#8211; eliminating that as a bottleneck.</p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/03/26/iometer-testing/' rel='bookmark' title='Permanent Link: iometer testing'>iometer testing</a> <small>The following is some notes i have around the parameters...</small></li>
<li><a href='http://sigtar.com/2009/12/18/vma-using-hp-power-protector-agent-to-shutdown-virtual-hosts/' rel='bookmark' title='Permanent Link: vMA &#8211; Using HP Power Protector agent to shutdown virtual hosts'>vMA &#8211; Using HP Power Protector agent to shutdown virtual hosts</a> <small>Goal was to create a vMA which would send a...</small></li>
<li><a href='http://sigtar.com/2010/05/07/vmware-measuring-iscsi-write-performance/' rel='bookmark' title='Permanent Link: vmware &#8211; measuring iscsi write performance'>vmware &#8211; measuring iscsi write performance</a> <small>I picked this trick up off vmware support. If you&#8217;ve...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/08/19/zfs-compression-and-latency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris &#8211; Samba server</title>
		<link>http://sigtar.com/2009/08/08/opensolaris-samba-server/</link>
		<comments>http://sigtar.com/2009/08/08/opensolaris-samba-server/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 23:00:24 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[swat]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://dwtaylornz.wordpress.com/?p=66</guid>
		<description><![CDATA[Time to share your newly created ZFS volume via samba to your windows clients.  There is some CIFS / SMB support built into the kernel now, but i&#8217;ve grown used to the SMB server&#8230;
Fire up add software &#8211; click filesystems &#8211; enable filter for &#8220;smb&#8221;, there are three packages generally. I get all three, but [...]


Related posts:<ol><li><a href='http://sigtar.com/2009/09/06/opensolaris-samba-and-network-browsing/' rel='bookmark' title='Permanent Link: Opensolaris &#8211; Samba and Network browsing'>Opensolaris &#8211; Samba and Network browsing</a> <small>If you&#8217;ve setup samba (rather than the builtin cifs/smb) chances...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
<li><a href='http://sigtar.com/2010/04/11/opensolaris-v134-cifs-has-gone-walkies/' rel='bookmark' title='Permanent Link: opensolaris v134 &#8211; CIFS has gone walkies'>opensolaris v134 &#8211; CIFS has gone walkies</a> <small>Errr, I cant find the CIFS service in the 134...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Time to share your newly created ZFS volume via samba to your windows clients.  There is some CIFS / SMB support built into the kernel now, but i&#8217;ve grown used to the SMB server&#8230;</p>
<p>Fire up add software &#8211; click filesystems &#8211; enable filter for &#8220;smb&#8221;, there are three packages generally. I get all three, but you only need the kernel update and the server package. The other is the SMB client.</p>
<p>Once installed make sure you enable the server in <strong>services</strong>gui.</p>
<p>Ensure the filesystem does not have any permission issues. I usually run <strong>chmod -R 777 /<em>share</em></strong><em> </em>just to ensure everyone can access the files without issue.</p>
<p>Add some users into smb password file (U need to create the users and sync the passwords). I usually create a guest user profile</p>
<p><strong>useradd guest</strong></p>
<p><strong>smbpasswd -a guest </strong>- it should prompt for password twice (this is the password you use from windows). Press enter twice to leave the password blank.</p>
<p>The configuration can be done via <strong>/etc/sfw/smb.conf</strong> or via the shared folders admin gui.</p>
<p>I prefer doing the admin via the <strong>/etc/sfw/smb.conf</strong>file as it tends to let you have more control than the basic options available to you via the GUI. The contents of the file are as follows;  (note: i have included alot of the setting as an example which may contridict other settings)</p>
<p><strong>[global]</strong> &#8211; global settings, the following are obvious</p>
<p><strong>workgroup = workgroup</strong></p>
<p><strong>server string = opensolaris</strong></p>
<p><strong>wins support = yes </strong>- lets your server act as a WINS box</p>
<p><strong><br />
</strong></p>
<p><strong>[share]</strong> &#8211; share name</p>
<p><strong>path = /raidz1/share</strong> &#8211; share path</p>
<p><strong>available = yes </strong>- enabled?</p>
<p><strong>browseable = yes </strong></p>
<p><strong>public = yes</strong></p>
<p><strong>valid users = user1, user2 </strong>- only these users can access the share</p>
<p><strong>writable = yes </strong>- equivalent to read / write in windows share properties</p>
<p><strong>read only = yes</strong> &#8211; sets the default permissions to read only</p>
<p><strong>write list = user1, user2 -</strong> these users can write to the share. Overrides above &#8220;read only&#8221; setting.</p>
<p>There are some good examples within <strong>/etc/sfw/smb.conf-example</strong>. Look there for some tips.</p>
<p>You also have an option of managing samba via the web &#8211; SWAT (samba web admin t). To get this up an running enable the swat service <em>svc:/network/swat:default </em>then browse to http://server:901</p>
<p>Optimizing SMB</p>
<p>I&#8217;ve found that adding this to <strong>/etc/sfw/smb.conf </strong>helps throughput in some cases. Try for yourself;  (it tends to put a higher load on cpu)</p>
<p><strong>[global]</strong></p>
<p><strong>aio read size = 1<br />
aio write size = 1</strong></p>
<p>Further to this entry i have discovered that the built in CIFS / SMB service is much more efficient since it is included as part of the kernel. See my other posts on setting up cifs</p>
<p><strong><em>Updated : 9/08/2009</em></strong></p>
<p>I&#8217;ve swapped back to samba due to the issues i&#8217;ve had with cifs in the later releases. Remember if you wish to swap back to samba yo uneed to remove the sharesmb properties from each of your zfs shares &#8211; else on reboot zfs will re-enable the server/smb service.</p>
<p>There are some additional settings to ensure that your file server is the master browser for your workgroup. Put these under your [global]</p>
<p><strong>[global]<br />
domain master = Yes<br />
local master = Yes<br />
preferred master = Yes<br />
os level = 35</strong></p>
<p>Apparently on windows the <em>os level</em> reaches only 32 &#8211; so setting this to 35 ensures that your file server remains the master browser when an election is performed.</p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2009/09/06/opensolaris-samba-and-network-browsing/' rel='bookmark' title='Permanent Link: Opensolaris &#8211; Samba and Network browsing'>Opensolaris &#8211; Samba and Network browsing</a> <small>If you&#8217;ve setup samba (rather than the builtin cifs/smb) chances...</small></li>
<li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
<li><a href='http://sigtar.com/2010/04/11/opensolaris-v134-cifs-has-gone-walkies/' rel='bookmark' title='Permanent Link: opensolaris v134 &#8211; CIFS has gone walkies'>opensolaris v134 &#8211; CIFS has gone walkies</a> <small>Errr, I cant find the CIFS service in the 134...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/08/08/opensolaris-samba-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opensolaris : Citrix XenServer / ESX &#8211; Hooking into ZFS</title>
		<link>http://sigtar.com/2009/07/22/citrix-xenserver-esx-hooking-into-zfs/</link>
		<comments>http://sigtar.com/2009/07/22/citrix-xenserver-esx-hooking-into-zfs/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 07:16:59 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[/etc/hosts]]></category>
		<category><![CDATA[citrix xenserver]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=841</guid>
		<description><![CDATA[To share your zfs pool via NFS (that works with Citrix Xen / ESX) to a host called &#8220;esxhost&#8221;;
zfs set sharenfs=rw,nosuid,root=esxhost tank/nfs
Note : You MUST have a resolvable name from the opensolaris box. i.e. you should be able to ping it. I have tried with ip&#8217;s only and it will fail. I have edited the [...]


Related posts:<ol><li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
<li><a href='http://sigtar.com/2009/10/19/opensolaris-zfs-recovery-after-kernel-panic/' rel='bookmark' title='Permanent Link: Opensolaris &#8211; ZFS recovery after kernel panic'>Opensolaris &#8211; ZFS recovery after kernel panic</a> <small>Recently i hit what i thought was a huge disaster...</small></li>
<li><a href='http://sigtar.com/2009/08/08/opensolaris-samba-server/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; Samba server'>OpenSolaris &#8211; Samba server</a> <small>Time to share your newly created ZFS volume via samba...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>To share your zfs pool via NFS (that works with Citrix Xen / ESX) to a host called &#8220;esxhost&#8221;;</p>
<p><strong>zfs set sharenfs=rw,nosuid,root=esxhost tank/nfs</strong></p>
<p>Note : You MUST have a resolvable name from the opensolaris box. i.e. you should be able to ping it. I have tried with ip&#8217;s only and it will fail. I have edited the <strong>/etc/hosts</strong> file to include the following line for my config;</p>
<p><em># Copyright 2007 Sun Microsystems, Inc.  All rights reserved.<br />
# Use is subject to license terms.<br />
#<br />
# ident	&#8220;%Z%%M%	%I%	%E% SMI&#8221;<br />
#<br />
# Internet host table<br />
#<br />
192.168.9.120	esxhost</em></p>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">This also requires that you are using both DNS and Files in your <strong>/etc/nsswitch.conf</strong> file. You should have a line like so;</span></p>
<p><em># You must also set up the /etc/resolv.conf file for DNS name<br />
# server lookup.  See resolv.conf(4). For lookup via mdns<br />
# svc:/network/dns/multicast:default must also be enabled. See mdnsd(1M)<br />
hosts:      files dns mdns</em></p>
<p><em># Note that IPv4 addresses are searched for in all of the ipnodes databases<br />
# before searching the hosts databases.<br />
ipnodes:   files dns mdns</em></p>
<p>i&#8217;ve also run this before hand; (to allow full access)</p>
<p><strong>chmod -R 777 /tank/nfs</strong></p>
<p><strong><span style="font-weight: normal;">Update : check this guide <a href="http://blog.laspina.ca/ubiquitous/running-zfs-over-nfs-as-a-vmware-store">http://blog.laspina.ca/ubiquitous/running-zfs-over-nfs-as-a-vmware-store</a> </span></strong></p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2009/11/13/iscsi-in-opensolaris/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; iSCSI'>OpenSolaris &#8211; iSCSI</a> <small>Want iSCSI in opensolaris? Grab SUNWiscsitgt via package manager. enable...</small></li>
<li><a href='http://sigtar.com/2009/10/19/opensolaris-zfs-recovery-after-kernel-panic/' rel='bookmark' title='Permanent Link: Opensolaris &#8211; ZFS recovery after kernel panic'>Opensolaris &#8211; ZFS recovery after kernel panic</a> <small>Recently i hit what i thought was a huge disaster...</small></li>
<li><a href='http://sigtar.com/2009/08/08/opensolaris-samba-server/' rel='bookmark' title='Permanent Link: OpenSolaris &#8211; Samba server'>OpenSolaris &#8211; Samba server</a> <small>Time to share your newly created ZFS volume via samba...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/07/22/citrix-xenserver-esx-hooking-into-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>opensolaris / zfs &#8211; whitebox build</title>
		<link>http://sigtar.com/2009/07/19/opensolaris-zfs-whitebox-build/</link>
		<comments>http://sigtar.com/2009/07/19/opensolaris-zfs-whitebox-build/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 05:20:33 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[cheap storage]]></category>
		<category><![CDATA[white box]]></category>
		<category><![CDATA[zfs]]></category>
		<category><![CDATA[zfs build]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=813</guid>
		<description><![CDATA[I&#8217;ve built a little server for home use, but it pales in comparison to this beast&#8230; This type of setup would be perfect for a lab / test environment that requires lots of fast and reliable disk. SCSI drives are fading out, SATA can perform if its setup right. When you look at the price [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/04/11/opensolaris-v134-cifs-has-gone-walkies/' rel='bookmark' title='Permanent Link: opensolaris v134 &#8211; CIFS has gone walkies'>opensolaris v134 &#8211; CIFS has gone walkies</a> <small>Errr, I cant find the CIFS service in the 134...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve built a little server for home use, but it pales in comparison to this beast&#8230; This type of setup would be perfect for a lab / test environment that requires lots of fast and reliable disk. SCSI drives are fading out, SATA can perform if its setup right. When you look at the price of the entire build you wonder why corporations continue to spend the big bucks on the big storage names.</p>
<p>Check out this build (very nice clear guide)   <a href="http://www.stringliterals.com/?p=77" target="_blank">http://www.stringliterals.com/?p=77</a></p>
<p><a href="http://sigtar.com/wp-content/uploads/2009/07/rpc-4020b-1.jpg"><img class="size-full wp-image-814 alignnone" title="rpc-4020b (1)" src="http://sigtar.com/wp-content/uploads/2009/07/rpc-4020b-1.jpg" alt="rpc-4020b (1)" width="640" height="450" /></a></p>
<p>Awesome piece of work.</p>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/04/11/opensolaris-v134-cifs-has-gone-walkies/' rel='bookmark' title='Permanent Link: opensolaris v134 &#8211; CIFS has gone walkies'>opensolaris v134 &#8211; CIFS has gone walkies</a> <small>Errr, I cant find the CIFS service in the 134...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://sigtar.com/2009/07/19/opensolaris-zfs-whitebox-build/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
