<?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; nfs</title>
	<atom:link href="http://sigtar.com/tag/nfs/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>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 : 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>Using W2k3 R2 server as a NFS share for vmware</title>
		<link>http://sigtar.com/2009/07/12/using-w2k3-r2-server-as-a-nfs-share-for-vmware/</link>
		<comments>http://sigtar.com/2009/07/12/using-w2k3-r2-server-as-a-nfs-share-for-vmware/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 22:43:48 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[iso share]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://sigtar.com/?p=772</guid>
		<description><![CDATA[This is something i do in the lab so all of my vm&#8217;s are able to access iso&#8217;s etc (very handy for quick builds). Quite handy doing it through windows since its easiey enough to setup a windows network share to the same location and update various files via that.
This site has some good clear [...]


Related posts:<ol><li><a href='http://sigtar.com/2010/06/21/vmware-replacing-security-server-ssl-cert/' rel='bookmark' title='Permanent Link: vmware &#8211; replacing security server ssl cert'>vmware &#8211; replacing security server ssl cert</a> <small>This page is hard to find, but it has it...</small></li>
<li><a href='http://sigtar.com/2010/06/15/vmware-virtualcenter-server-service-fails-to-start-on-boot/' rel='bookmark' title='Permanent Link: vmware &#8211; virtualcenter server service fails to start on boot'>vmware &#8211; virtualcenter server service fails to start on boot</a> <small>This happens when the virtualcenter service tries to start before...</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>This is something i do in the lab so all of my vm&#8217;s are able to access iso&#8217;s etc (very handy for quick builds). Quite handy doing it through windows since its easiey enough to setup a windows network share to the same location and update various files via that.</p>
<p>This site has some good clear instructions : <a href="http://vmetc.com/2008/02/19/create-a-nfs-share-for-vm-iso-files-with-windows-2003-server-r2/">http://vmetc.com/2008/02/19/create-a-nfs-share-for-vm-iso-files-with-windows-2003-server-r2/</a></p>
<ol>
<li>On the Windows 2003 Server make sure “Microsoft Services for NFS” in installed. If not you need to add it under Add/Remove Programs, Windows<br />
Components, Other Network File and Print Services</li>
<li>Next go to folder you want to share and right-click on it and select Properties</li>
<li>Click on the NFS Sharing tab and select “Share this Folder”</li>
<li>Enter a Share Name, check “Anonymous Access” and make sure the UID and GID are both -2</li>
<li>In VirtualCenter, select your ESX server and click the “Configuration” tab and then select “Storage”</li>
<li>Click on “Add Storage” and select “Network File System” as the storage type</li>
<li>Enter the Windows Server name, the folder (share) name and a descriptive Datastore Name</li>
<li>Done. Now you can map CD iso&#8217;s to your various vm&#8217;s.</li>
</ol>


<p>Related posts:<ol><li><a href='http://sigtar.com/2010/06/21/vmware-replacing-security-server-ssl-cert/' rel='bookmark' title='Permanent Link: vmware &#8211; replacing security server ssl cert'>vmware &#8211; replacing security server ssl cert</a> <small>This page is hard to find, but it has it...</small></li>
<li><a href='http://sigtar.com/2010/06/15/vmware-virtualcenter-server-service-fails-to-start-on-boot/' rel='bookmark' title='Permanent Link: vmware &#8211; virtualcenter server service fails to start on boot'>vmware &#8211; virtualcenter server service fails to start on boot</a> <small>This happens when the virtualcenter service tries to start before...</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/12/using-w2k3-r2-server-as-a-nfs-share-for-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
