<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A Home Fileserver using ZFS</title>
	<atom:link href="http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/</link>
	<description>Complexifying simplicity</description>
	<lastBuildDate>Tue, 31 Aug 2010 19:12:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: d00dz</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-17184</link>
		<dc:creator>d00dz</dc:creator>
		<pubDate>Sun, 01 Aug 2010 09:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-17184</guid>
		<description>Hi Simon,

I would like to thank you for making this tutorial. It has been very very good and has helped me many times in my setup of ZFS and Opensolaris.

Cheers!

ps. Can you also send me a PDF of all posts and comments thus far?</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>I would like to thank you for making this tutorial. It has been very very good and has helped me many times in my setup of ZFS and Opensolaris.</p>
<p>Cheers!</p>
<p>ps. Can you also send me a PDF of all posts and comments thus far?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-17157</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 26 May 2010 23:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-17157</guid>
		<description>Hi Brand,

Thanks for the request.

What would you like to see in the PDF? All of the posts, with comments too?

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Hi Brand,</p>
<p>Thanks for the request.</p>
<p>What would you like to see in the PDF? All of the posts, with comments too?</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brand Howard</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-17151</link>
		<dc:creator>Brand Howard</dc:creator>
		<pubDate>Tue, 18 May 2010 21:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-17151</guid>
		<description>I also would like a PDF copy of this OpenSolaris homer server build if you don&#039;t mind.  I find myself referring to this site and using it as documentation quite often.</description>
		<content:encoded><![CDATA[<p>I also would like a PDF copy of this OpenSolaris homer server build if you don&#8217;t mind.  I find myself referring to this site and using it as documentation quite often.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-17137</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Sat, 03 Apr 2010 19:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-17137</guid>
		<description>Hi Simon,

thanks for your information on OpenSolaris and your Home Server Setup and also for answering all the questions from the comments. So I hope you can also answer my little ones.

I can think of a scenario with one system drive and 4 data drives bound to a raidz1. Now my two questions:

a) How should one backup the system drive? Doing snapshots to the raidz1 pool and in case something bad happens with the motherboard or the system drive put everything back to a new system drive? How would this scenario work in real life?
Is it possible to snapshot the whole system drive and than to clone it back to another disk so that it is ready to boot? What needs to be done to achieve this?

b) Think of one part of the raidz1 pool is dedicated as time machine backup place for a mac and thus exported via iSCSI as a block device to the Mac system. Also deduplication is switched on. What needs to be done to recover the Mac if its disk fails. How do I get the backup back on the new Mac disk. I think I can&#039;t clone it directly back to the new Mac disk? 

Thanks for your help and keep up the good work,

Jan.</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>thanks for your information on OpenSolaris and your Home Server Setup and also for answering all the questions from the comments. So I hope you can also answer my little ones.</p>
<p>I can think of a scenario with one system drive and 4 data drives bound to a raidz1. Now my two questions:</p>
<p>a) How should one backup the system drive? Doing snapshots to the raidz1 pool and in case something bad happens with the motherboard or the system drive put everything back to a new system drive? How would this scenario work in real life?<br />
Is it possible to snapshot the whole system drive and than to clone it back to another disk so that it is ready to boot? What needs to be done to achieve this?</p>
<p>b) Think of one part of the raidz1 pool is dedicated as time machine backup place for a mac and thus exported via iSCSI as a block device to the Mac system. Also deduplication is switched on. What needs to be done to recover the Mac if its disk fails. How do I get the backup back on the new Mac disk. I think I can&#8217;t clone it directly back to the new Mac disk? </p>
<p>Thanks for your help and keep up the good work,</p>
<p>Jan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ionut</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-16967</link>
		<dc:creator>Ionut</dc:creator>
		<pubDate>Fri, 15 Jan 2010 16:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-16967</guid>
		<description>May I ask you for a pdf with your complete &quot;tutorial&quot;. Thanks :)</description>
		<content:encoded><![CDATA[<p>May I ask you for a pdf with your complete &#8220;tutorial&#8221;. Thanks <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-16962</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 11 Jan 2010 22:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-16962</guid>
		<description>I presume you tried one of the two-weekly bleeding-edge builds? Which version? Sounds like you got a bad one.
It’s true there can be (serious) bugs with these bleeding-edge builds, so it pays to check known bugs and read the forums.
I use the Boot Environments feature of OpenSolaris to rollback from a buggy update if I find one. I found build 124 to be OK for me, and recently I updated to build 129, and now Apache doesn’t work, so I’ll probably zap the build 129 and re-instate build 124 using the Boot Environment panel on the desktop. One click easy.

If you’re more comfortable with stable, infrequent releases, try Solaris 10:
http://www.sun.com/software/solaris/get.jsp
http://www.sun.com/software/solaris/

Choosing which version of Solaris to use is always a tradeoff: (1) OpenSolaris=frequent releases containing new features under development or (2) Solaris=infrequent releases, but heavily tested and rock solid.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>I presume you tried one of the two-weekly bleeding-edge builds? Which version? Sounds like you got a bad one.<br />
It’s true there can be (serious) bugs with these bleeding-edge builds, so it pays to check known bugs and read the forums.<br />
I use the Boot Environments feature of OpenSolaris to rollback from a buggy update if I find one. I found build 124 to be OK for me, and recently I updated to build 129, and now Apache doesn’t work, so I’ll probably zap the build 129 and re-instate build 124 using the Boot Environment panel on the desktop. One click easy.</p>
<p>If you’re more comfortable with stable, infrequent releases, try Solaris 10:<br />
<a href="http://www.sun.com/software/solaris/get.jsp" rel="nofollow">http://www.sun.com/software/solaris/get.jsp</a><br />
<a href="http://www.sun.com/software/solaris/" rel="nofollow">http://www.sun.com/software/solaris/</a></p>
<p>Choosing which version of Solaris to use is always a tradeoff: (1) OpenSolaris=frequent releases containing new features under development or (2) Solaris=infrequent releases, but heavily tested and rock solid.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: someone</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-16960</link>
		<dc:creator>someone</dc:creator>
		<pubDate>Sun, 10 Jan 2010 16:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-16960</guid>
		<description>&gt; Simon on September 2nd, 2009 at 15:44
&gt; IMHO OpenSolaris 2009.06 using ZFS is very user-friendly, and you’ll 
&gt; know you’re using the standard ZFS distribution. Good luck.

Simon, this unfortunately was very bad advice and I lost several days by installing and wrestling with Open Solaris 2009.06 for use as a file server.

Both smb/server and network/samba are _badly_ broken and as I later learned the hard way Sun admins are fully aware of the situation but did not publish any warnings on the download page.

With all the problem reports google brought up imho Open Solaris is the testbed for Sun and success with such distributions heviliy depending on luck and local weather conditions.

My conclusion: Unless you are prepared for a long and ugly struggle: Avoid Open Solaris!

someone</description>
		<content:encoded><![CDATA[<p>&gt; Simon on September 2nd, 2009 at 15:44<br />
&gt; IMHO OpenSolaris 2009.06 using ZFS is very user-friendly, and you’ll<br />
&gt; know you’re using the standard ZFS distribution. Good luck.</p>
<p>Simon, this unfortunately was very bad advice and I lost several days by installing and wrestling with Open Solaris 2009.06 for use as a file server.</p>
<p>Both smb/server and network/samba are _badly_ broken and as I later learned the hard way Sun admins are fully aware of the situation but did not publish any warnings on the download page.</p>
<p>With all the problem reports google brought up imho Open Solaris is the testbed for Sun and success with such distributions heviliy depending on luck and local weather conditions.</p>
<p>My conclusion: Unless you are prepared for a long and ugly struggle: Avoid Open Solaris!</p>
<p>someone</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gurkman</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-16923</link>
		<dc:creator>gurkman</dc:creator>
		<pubDate>Mon, 30 Nov 2009 13:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-16923</guid>
		<description>Hi Simon!
I have also built a file server using Opensolaris myself, but i have some problems with implementing features i would like to use. 
First i would like to find a good failure notification script which sends me an email 
when a drive in my pool fails. I have found some scripts but i have problems with the mail-sending
part. 
I want to use my mail account provided by my ISP to send mail but i havent found a guide how to configure this???

Second i would like to configure an ftpserver so i can access and transfer files from outside my home network. I really havent found a good guide to do this....
The nas is connected to a router with the firewall enabled, is this enough?
Should i configure the &quot;ipfilter&quot; in opensolaris too? Is there a guide somewhere for this?
I have tried to look at man pages but i havent found anything useful...
As you can see im a unix beginner. I think Opensolaris is a great OS, but its not very userfriendly and
information on how to set up certain bits is not really abundant. 
Maybe im looking in the wrong places?

Im now configuring/administrating/checking health on this machine via PuTTY SSH (which is pretty slow)
and sometimes via VNC
Isnt there a faster and easier way to do this?? 
What web interface alternatives are there?
I have found something called Webmin, is this the best one with the most features that you may need?

Your blog has helped me a lot already, but maybe you can point me in the right direction regarding my 
questions?

Thanks a lot!!
Gurkman</description>
		<content:encoded><![CDATA[<p>Hi Simon!<br />
I have also built a file server using Opensolaris myself, but i have some problems with implementing features i would like to use.<br />
First i would like to find a good failure notification script which sends me an email<br />
when a drive in my pool fails. I have found some scripts but i have problems with the mail-sending<br />
part.<br />
I want to use my mail account provided by my ISP to send mail but i havent found a guide how to configure this???</p>
<p>Second i would like to configure an ftpserver so i can access and transfer files from outside my home network. I really havent found a good guide to do this&#8230;.<br />
The nas is connected to a router with the firewall enabled, is this enough?<br />
Should i configure the &#8220;ipfilter&#8221; in opensolaris too? Is there a guide somewhere for this?<br />
I have tried to look at man pages but i havent found anything useful&#8230;<br />
As you can see im a unix beginner. I think Opensolaris is a great OS, but its not very userfriendly and<br />
information on how to set up certain bits is not really abundant.<br />
Maybe im looking in the wrong places?</p>
<p>Im now configuring/administrating/checking health on this machine via PuTTY SSH (which is pretty slow)<br />
and sometimes via VNC<br />
Isnt there a faster and easier way to do this??<br />
What web interface alternatives are there?<br />
I have found something called Webmin, is this the best one with the most features that you may need?</p>
<p>Your blog has helped me a lot already, but maybe you can point me in the right direction regarding my<br />
questions?</p>
<p>Thanks a lot!!<br />
Gurkman</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-16062</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Thu, 17 Sep 2009 12:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-16062</guid>
		<description>Hi Rick,

If you have basic Linux knowledge then you should find it relatively easy to use OpenSolaris too. You can find the answer to any admin problem online: Google, &lt;a href=&quot;http://www.opensolaris.org/os/discussions/&quot; rel=&quot;nofollow&quot;&gt;OpenSolaris forums&lt;/a&gt; and blogs etc.

For using Active Directory and Solaris, see the AD link at the top of this page.

Regarding bottlenecks, the network will be the bottleneck when transferring big files, but even with commodity Gigabit ethernet you should get speeds of around 50 MBytes/sec, which should be sufficient. If you need serious speed, look at 10GbE or Direct Attached Storage (DAS) using tech like &lt;a href=&quot;http://en.wikipedia.org/wiki/InfiniBand&quot; rel=&quot;nofollow&quot;&gt;InfiniBand&lt;/a&gt;, which is used with an &lt;a href=&quot;http://en.wikipedia.org/wiki/Host_Bus_Adapter&quot; rel=&quot;nofollow&quot;&gt;HBA&lt;/a&gt;, and is often used by video editing software to connect to moderately fast storage devices like &lt;a href=&quot;http://www.proavio.com/eb8ml.html&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt;, which easily reach speeds of around 500+ MBytes/sec sustained using 8 drives in a redundant array.

Regarding running 2 boxes at home, you can probably ditch Windows and use some Solaris directory service, if you need it, but I didn&#039;t look at this.

Good luck,
Simon</description>
		<content:encoded><![CDATA[<p>Hi Rick,</p>
<p>If you have basic Linux knowledge then you should find it relatively easy to use OpenSolaris too. You can find the answer to any admin problem online: Google, <a href="http://www.opensolaris.org/os/discussions/" rel="nofollow">OpenSolaris forums</a> and blogs etc.</p>
<p>For using Active Directory and Solaris, see the AD link at the top of this page.</p>
<p>Regarding bottlenecks, the network will be the bottleneck when transferring big files, but even with commodity Gigabit ethernet you should get speeds of around 50 MBytes/sec, which should be sufficient. If you need serious speed, look at 10GbE or Direct Attached Storage (DAS) using tech like <a href="http://en.wikipedia.org/wiki/InfiniBand" rel="nofollow">InfiniBand</a>, which is used with an <a href="http://en.wikipedia.org/wiki/Host_Bus_Adapter" rel="nofollow">HBA</a>, and is often used by video editing software to connect to moderately fast storage devices like <a href="http://www.proavio.com/eb8ml.html" rel="nofollow">this</a>, which easily reach speeds of around 500+ MBytes/sec sustained using 8 drives in a redundant array.</p>
<p>Regarding running 2 boxes at home, you can probably ditch Windows and use some Solaris directory service, if you need it, but I didn&#8217;t look at this.</p>
<p>Good luck,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-16047</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Thu, 17 Sep 2009 08:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-16047</guid>
		<description>Hi Simon,

I have a Home Server with Windows 2003 Server (Domain Controller) with Hardware-RAID5. There are about 4 Windows Clients connected to this server.
Primary use of this server is file storage (huge collection of DVDs, images, mp3 collection, pdf scans and documents), some applications and web server.

I&#039;m a windows guy and have only minor knowledge in linux/OS, but I REALLY WANT the superior ZFS. :-)

Is it possible to run OpenSolaris with ZFS and within this system a virtualized Windows 2008 Server (with Active Directory)? I&#039;d like to setup OS and ZFS as a (hopefully) stable &quot;install-and-forget&quot; system. Windows Server would be see the ZFS-Pool as a huge virtual drive and shares this drive to its Windows clients. So all my Windows clients would be connected to the Windows Server only. They (and Windows Server) don&#039;t know of any OpenSolaris Server.
With this scenario I could continue to work with Windows Server, but can trust all my datas to the ZFS.

Is this possible? If yes, is there any performance bottleneck when transfering huge files from the clients to the server (or vice versa)?

Most time, my home server is idle and not very busy. (2 concurrent users)

For my home environment, I don&#039;t want to run two dedicated server (OS for storage and Win2008 for Domain), so I really would like to virtualize it.

What&#039;s your opinion?

And thanks for your great site. Lots of very useful information!</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>I have a Home Server with Windows 2003 Server (Domain Controller) with Hardware-RAID5. There are about 4 Windows Clients connected to this server.<br />
Primary use of this server is file storage (huge collection of DVDs, images, mp3 collection, pdf scans and documents), some applications and web server.</p>
<p>I&#8217;m a windows guy and have only minor knowledge in linux/OS, but I REALLY WANT the superior ZFS. <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Is it possible to run OpenSolaris with ZFS and within this system a virtualized Windows 2008 Server (with Active Directory)? I&#8217;d like to setup OS and ZFS as a (hopefully) stable &#8220;install-and-forget&#8221; system. Windows Server would be see the ZFS-Pool as a huge virtual drive and shares this drive to its Windows clients. So all my Windows clients would be connected to the Windows Server only. They (and Windows Server) don&#8217;t know of any OpenSolaris Server.<br />
With this scenario I could continue to work with Windows Server, but can trust all my datas to the ZFS.</p>
<p>Is this possible? If yes, is there any performance bottleneck when transfering huge files from the clients to the server (or vice versa)?</p>
<p>Most time, my home server is idle and not very busy. (2 concurrent users)</p>
<p>For my home environment, I don&#8217;t want to run two dedicated server (OS for storage and Win2008 for Domain), so I really would like to virtualize it.</p>
<p>What&#8217;s your opinion?</p>
<p>And thanks for your great site. Lots of very useful information!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-14876</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 02 Sep 2009 15:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-14876</guid>
		<description>IMHO OpenSolaris 2009.06 using ZFS is very user-friendly, and you&#039;ll know you&#039;re using the standard ZFS distribution. Good luck.</description>
		<content:encoded><![CDATA[<p>IMHO OpenSolaris 2009.06 using ZFS is very user-friendly, and you&#8217;ll know you&#8217;re using the standard ZFS distribution. Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mads Skipper</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-14864</link>
		<dc:creator>Mads Skipper</dc:creator>
		<pubDate>Wed, 02 Sep 2009 11:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-14864</guid>
		<description>I currently have a cheap motherboard with a Phenom X3, then I have 3 WD GP 1TB drives and a 500GB WD GP RE3 for system. I dont want to loose the data I already have on my 3TB storage (Which is what runs win2k3)

But atm Iam ordering 2 x LSI http://www.lsi.com/obsolete/megaraid_sas_8308elp.html and 2 x Compucase 5in3 Hotswap bays. Then I will have 22 sata ports in total which should last me a good while as I wont buy drives for all this. Will probobly buy 3-5 drives now and then upgrade on the way. I just found a good deal on that hardware.

But I am going to use ZFS, just need to buy big chunks of drives then (4-5) when I cant just add a single drive at a time.

As I havent used solaris before I am tempted to try to just use FreeNas as that also supports ZFS now, just not sure these raid controllers support FreeBSD but they have support for solaris.</description>
		<content:encoded><![CDATA[<p>I currently have a cheap motherboard with a Phenom X3, then I have 3 WD GP 1TB drives and a 500GB WD GP RE3 for system. I dont want to loose the data I already have on my 3TB storage (Which is what runs win2k3)</p>
<p>But atm Iam ordering 2 x LSI <a href="http://www.lsi.com/obsolete/megaraid_sas_8308elp.html" rel="nofollow">http://www.lsi.com/obsolete/megaraid_sas_8308elp.html</a> and 2 x Compucase 5in3 Hotswap bays. Then I will have 22 sata ports in total which should last me a good while as I wont buy drives for all this. Will probobly buy 3-5 drives now and then upgrade on the way. I just found a good deal on that hardware.</p>
<p>But I am going to use ZFS, just need to buy big chunks of drives then (4-5) when I cant just add a single drive at a time.</p>
<p>As I havent used solaris before I am tempted to try to just use FreeNas as that also supports ZFS now, just not sure these raid controllers support FreeBSD but they have support for solaris.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-14860</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 02 Sep 2009 07:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-14860</guid>
		<description>How much do you want to spend on your storage in total? In this price I mean just the controller and the drives. And how much usable storage capacity do you want? And what level of redundancy do you want -- i.e. how many drive failures do you want your system to survive?

You don&#039;t need RAID cards for ZFS, quite the opposite. ZFS controls everything, and so you should use a JBOD setup. But you might want to buy a SATA controller to control your array of cheap SATA drives.

If I were you, I would assume that RAID-Z expandability is not high on the ZFS developers&#039; priority list, as they have stated this openly, and so I would just assume that you need to create an array with sufficient capacity for your foreseeable needs.

Personally I would not trust RAID level 5 for anything. AFAIK, RAID 5 does not use block checksums and so it has no way of knowing if there is &#039;bit rot&#039; when it reads data back. RAID level 5 writes parity data to allow failed drives to be rebuilt, but if it can&#039;t tell you that some bits in a file have been flipped then what good is it to anyone? Check out various CERN and Google reports on parity errors if you need convincing further.

ZFS was designed with the idea that you should never trust drive hardware, and so that&#039;s why it has end-to-end data integrity built in from scratch, to help (1) be sure that what gets written and read back is actually what you told it to write, and (2) immediate detection of &#039;bit rot&#039; on reading back of a file or during regular weekly/monthly &#039;scrub&#039; operations where ZFS will read back ALL the blocks of every file in the storage pool and will check them against their block checksums, and if a difference is detected, ZFS will fix the corruption immediately from available parity data, assuming the vdev containing the corrupted file has redundancy -- i.e. mirror, RAID-Z1 or RAID-Z2.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>How much do you want to spend on your storage in total? In this price I mean just the controller and the drives. And how much usable storage capacity do you want? And what level of redundancy do you want &#8212; i.e. how many drive failures do you want your system to survive?</p>
<p>You don&#8217;t need RAID cards for ZFS, quite the opposite. ZFS controls everything, and so you should use a JBOD setup. But you might want to buy a SATA controller to control your array of cheap SATA drives.</p>
<p>If I were you, I would assume that RAID-Z expandability is not high on the ZFS developers&#8217; priority list, as they have stated this openly, and so I would just assume that you need to create an array with sufficient capacity for your foreseeable needs.</p>
<p>Personally I would not trust RAID level 5 for anything. AFAIK, RAID 5 does not use block checksums and so it has no way of knowing if there is &#8216;bit rot&#8217; when it reads data back. RAID level 5 writes parity data to allow failed drives to be rebuilt, but if it can&#8217;t tell you that some bits in a file have been flipped then what good is it to anyone? Check out various CERN and Google reports on parity errors if you need convincing further.</p>
<p>ZFS was designed with the idea that you should never trust drive hardware, and so that&#8217;s why it has end-to-end data integrity built in from scratch, to help (1) be sure that what gets written and read back is actually what you told it to write, and (2) immediate detection of &#8216;bit rot&#8217; on reading back of a file or during regular weekly/monthly &#8217;scrub&#8217; operations where ZFS will read back ALL the blocks of every file in the storage pool and will check them against their block checksums, and if a difference is detected, ZFS will fix the corruption immediately from available parity data, assuming the vdev containing the corrupted file has redundancy &#8212; i.e. mirror, RAID-Z1 or RAID-Z2.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mads Skipper</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-14833</link>
		<dc:creator>Mads Skipper</dc:creator>
		<pubDate>Tue, 01 Sep 2009 21:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-14833</guid>
		<description>Well my issue is money which is why I wanted a cheap way to add drives (cheap raid cards, cheap discs and easy system (ZFS)) But I guess I can be forced to making Raid-Z1 arrays of 5 drives for now and then when ZFS is upgraded to support expanding then I can make one big Raid-Z2 array.

Btw would you say going raid5 would be a bad idear compared to ZFS when I dont have 24/7 rated hard drives?</description>
		<content:encoded><![CDATA[<p>Well my issue is money which is why I wanted a cheap way to add drives (cheap raid cards, cheap discs and easy system (ZFS)) But I guess I can be forced to making Raid-Z1 arrays of 5 drives for now and then when ZFS is upgraded to support expanding then I can make one big Raid-Z2 array.</p>
<p>Btw would you say going raid5 would be a bad idear compared to ZFS when I dont have 24/7 rated hard drives?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-14831</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 01 Sep 2009 21:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-14831</guid>
		<description>Hi Mads,

This sounds like a good idea for a new blog post -- thanks for the idea :)
Quick rundown: with ZFS you have the concept of a storage pool. The pool is comprised of one or more vdevs. A vdev is a collection of drives in a particular configuration -- e.g. mirror, RAID-Z1 or RAID-Z2 etc. Currently a vdev of type RAID-Z1 / RAID-Z2 cannot be expanded, but Sun say they plan this functionality for the future (see http://blogs.sun.com/ahl/entry/expand_o_matic_raid_z). However, you can expand your pool as much as you like, by simply adding new vdev(s) when you need to, without any problem.

Knowing the above, for now, it&#039;s best to decide how much space you&#039;ll need and build in plenty of storage up-front. Just as an example, it is possible to break a 3-drive RAID-Z1 and recreate a 4-drive RAID-Z1, for example, as you can see here:
http://breden.org.uk/2008/09/01/home-fileserver-raidz-expansion/

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Hi Mads,</p>
<p>This sounds like a good idea for a new blog post &#8212; thanks for the idea <img src='http://breden.org.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Quick rundown: with ZFS you have the concept of a storage pool. The pool is comprised of one or more vdevs. A vdev is a collection of drives in a particular configuration &#8212; e.g. mirror, RAID-Z1 or RAID-Z2 etc. Currently a vdev of type RAID-Z1 / RAID-Z2 cannot be expanded, but Sun say they plan this functionality for the future (see <a href="http://blogs.sun.com/ahl/entry/expand_o_matic_raid_z)" rel="nofollow">http://blogs.sun.com/ahl/entry/expand_o_matic_raid_z)</a>. However, you can expand your pool as much as you like, by simply adding new vdev(s) when you need to, without any problem.</p>
<p>Knowing the above, for now, it&#8217;s best to decide how much space you&#8217;ll need and build in plenty of storage up-front. Just as an example, it is possible to break a 3-drive RAID-Z1 and recreate a 4-drive RAID-Z1, for example, as you can see here:<br />
<a href="http://breden.org.uk/2008/09/01/home-fileserver-raidz-expansion/" rel="nofollow">http://breden.org.uk/2008/09/01/home-fileserver-raidz-expansion/</a></p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mads Skipper</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-14801</link>
		<dc:creator>Mads Skipper</dc:creator>
		<pubDate>Tue, 01 Sep 2009 08:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-14801</guid>
		<description>I am very interested in trying this compared to my Win2k3 server as I want to expand now and want to have an easy expandable solution, but I really cant figure out how ZFS (In particular Raid-Z) works when you want to increase the volume size other than the option to upgrade a current drive with a bigger drive.

I want to be able to add many more drives to my system, and I think I read in this article that you can not add a single drive at a time, but how many do you have to add then and will you utilize 100% of their discspace or? 

I am also trying to figure out if I should run Freenas or Solaris</description>
		<content:encoded><![CDATA[<p>I am very interested in trying this compared to my Win2k3 server as I want to expand now and want to have an easy expandable solution, but I really cant figure out how ZFS (In particular Raid-Z) works when you want to increase the volume size other than the option to upgrade a current drive with a bigger drive.</p>
<p>I want to be able to add many more drives to my system, and I think I read in this article that you can not add a single drive at a time, but how many do you have to add then and will you utilize 100% of their discspace or? </p>
<p>I am also trying to figure out if I should run Freenas or Solaris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-10201</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 20 Jun 2009 16:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-10201</guid>
		<description>Thanks Miles, so you&#039;d say there may still be problems associated with the AOC-SAT2-MV8. That&#039;s a pity, so if I choose this card I&#039;d better be sure to check the current situation from the solaris forums to see what people are finding.

When you say &#039;at first the driver crashed all the time&#039;, was this recently or a long time ago, as I believe there were many problems with the standard &#039;SAT&#039; card (i.e. AOC-SAT-MV8), but that many of these problems were fixed in the later &#039;SAT2&#039; card. I saw that info here, and he also says that the AOC-USAS-L8i (LSI megaraid chips?) would be his next choice -- see here: 
http://zpool.org/2008/12/16/my-zfs-media-server

He says:

&lt;blockquote&gt;
This card [AOC-SAT-MV8] has had a lot of problems with ZFS and has been discontinued by Supermicro in favor of the AOC-SAT2-MV8. Whenever I expand beyond six disks, I’m going to skip straight to the AOC-USAS-L8i using mini-SAS to SATA cables. 
&lt;/blockquote&gt;

I will take a look at your Automounter notes next. If I remember, the reason I used CIFS sharing instead of NFS was because of lousy write speeds (5MB/s with NFS instead of about 40MB/s with CIFS (50MB/s now with OpenSolaris 2009.06 and OS X 10.5.7 using 1 x GbE)), but maybe this has been fixed now. I think it was because of NFS using synchronous writes if I remember correctly. These quoted speeds were achieved writing from a Mac Pro to the ZFS file server.

Thanks a lot for the info. I have created a new thread on the Solaris forum with more questions/info -- see here:
http://www.opensolaris.org/jive/thread.jspa?threadID=106210&amp;tstart=0</description>
		<content:encoded><![CDATA[<p>Thanks Miles, so you&#8217;d say there may still be problems associated with the AOC-SAT2-MV8. That&#8217;s a pity, so if I choose this card I&#8217;d better be sure to check the current situation from the solaris forums to see what people are finding.</p>
<p>When you say &#8216;at first the driver crashed all the time&#8217;, was this recently or a long time ago, as I believe there were many problems with the standard &#8216;SAT&#8217; card (i.e. AOC-SAT-MV8), but that many of these problems were fixed in the later &#8216;SAT2&#8242; card. I saw that info here, and he also says that the AOC-USAS-L8i (LSI megaraid chips?) would be his next choice &#8212; see here:<br />
<a href="http://zpool.org/2008/12/16/my-zfs-media-server" rel="nofollow">http://zpool.org/2008/12/16/my-zfs-media-server</a></p>
<p>He says:</p>
<blockquote><p>
This card [AOC-SAT-MV8] has had a lot of problems with ZFS and has been discontinued by Supermicro in favor of the AOC-SAT2-MV8. Whenever I expand beyond six disks, I’m going to skip straight to the AOC-USAS-L8i using mini-SAS to SATA cables.
</p></blockquote>
<p>I will take a look at your Automounter notes next. If I remember, the reason I used CIFS sharing instead of NFS was because of lousy write speeds (5MB/s with NFS instead of about 40MB/s with CIFS (50MB/s now with OpenSolaris 2009.06 and OS X 10.5.7 using 1 x GbE)), but maybe this has been fixed now. I think it was because of NFS using synchronous writes if I remember correctly. These quoted speeds were achieved writing from a Mac Pro to the ZFS file server.</p>
<p>Thanks a lot for the info. I have created a new thread on the Solaris forum with more questions/info &#8212; see here:<br />
<a href="http://www.opensolaris.org/jive/thread.jspa?threadID=106210&#038;tstart=0" rel="nofollow">http://www.opensolaris.org/jive/thread.jspa?threadID=106210&#038;tstart=0</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miles Nordin</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-10144</link>
		<dc:creator>Miles Nordin</dc:creator>
		<pubDate>Sat, 20 Jun 2009 01:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-10144</guid>
		<description>hey Simon, don&#039;t use the AOC-SAT2-MV8.  At first the driver crashed all the time, couldn&#039;t handle hotplug, and didn&#039;t work with NCQ.  supposedly the driver is better now than it used to be, but it&#039;s still the less popular card, and a few times they said the driver was all fixed and perfect when it wasn&#039;t so i don&#039;t know what to believe anymore.  Instead of this card, if you need PCIX, use lsi3080x-r:

http://www.provantage.com/lsi-logic-lsi00165~7LSIG06Q.htm

but most freshly-bought systems will find a PCIe motherboard cheaper, in which case you can use AOC-USAS-L8i, an 8-lane PCIe card.  though you&#039;ll have to remove the bracket because supermicro&#039;s put it on backwards.

I think you can also use Dell PERC cards with the mega_sas driver, which unlike the other two cards above this one has an open-source driver (however, it still has big closed-source RAID-on-a-card firmware burned onto the card, and a closed-source MegaCli tool for configuring the RAID).  Dell PERC is cheap on eBay.

finally, if you can get rid of all your expee crap and use Macs, NFS works much better on Mac OS X than cifs, especially if you set it up like this:

http://web.ivy.net/~carton/rant/macos-automounter.html#9050149

it&#039;s faster, more fault tolerant, case-sensitive, and more.</description>
		<content:encoded><![CDATA[<p>hey Simon, don&#8217;t use the AOC-SAT2-MV8.  At first the driver crashed all the time, couldn&#8217;t handle hotplug, and didn&#8217;t work with NCQ.  supposedly the driver is better now than it used to be, but it&#8217;s still the less popular card, and a few times they said the driver was all fixed and perfect when it wasn&#8217;t so i don&#8217;t know what to believe anymore.  Instead of this card, if you need PCIX, use lsi3080x-r:</p>
<p><a href="http://www.provantage.com/lsi-logic-lsi00165~7LSIG06Q.htm" rel="nofollow">http://www.provantage.com/lsi-logic-lsi00165~7LSIG06Q.htm</a></p>
<p>but most freshly-bought systems will find a PCIe motherboard cheaper, in which case you can use AOC-USAS-L8i, an 8-lane PCIe card.  though you&#8217;ll have to remove the bracket because supermicro&#8217;s put it on backwards.</p>
<p>I think you can also use Dell PERC cards with the mega_sas driver, which unlike the other two cards above this one has an open-source driver (however, it still has big closed-source RAID-on-a-card firmware burned onto the card, and a closed-source MegaCli tool for configuring the RAID).  Dell PERC is cheap on eBay.</p>
<p>finally, if you can get rid of all your expee crap and use Macs, NFS works much better on Mac OS X than cifs, especially if you set it up like this:</p>
<p><a href="http://web.ivy.net/~carton/rant/macos-automounter.html#9050149" rel="nofollow">http://web.ivy.net/~carton/rant/macos-automounter.html#9050149</a></p>
<p>it&#8217;s faster, more fault tolerant, case-sensitive, and more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-9875</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 15 Jun 2009 15:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-9875</guid>
		<description>Hi Adrian,

As your data was not on the boot drive and in a separate storage pool, this should be easy to regain access to your data. Assuming your storage pool was called &#039;tank&#039; then type:

&lt;pre&gt;
# zpool import -f tank
&lt;/pre&gt;

You will probably need the -f option as the pool was never exported before the system motherboard and boot drive died.

If you can&#039;t remember the name of your storage pool, no worries, just type:

&lt;pre&gt;
# zpool import
&lt;/pre&gt;

and Solaris will list all available pools.

When ZFS imports the pool, it should automatically remount all ZFS file systems that the pool contains. It&#039;s possible you might get some warnings/errors if you changed mountpoints if they don&#039;t exist, but you&#039;ll easily be able to fix those problems if you see them.

Also, as you will probably need to re-create your Solaris user(s), you&#039;ll need to see which user ids and group ids you used within your file systems and recreate the users and groups with the same ids. Something like this:

&lt;pre&gt;
# groupadd -g 501 fred
# useradd -g fred -u 501 -s /bin/bash -d /export/home/fred -c fred-flintstone -m fred
# passwd fred
&lt;/pre&gt;

Explanation of useradd parameters used above:
-g fred: adds user to primary group ‘fred’ (which has groupid 501)
-u 501: creates the userid 501 for this user
-s /bin/bash: assigns the default shell to be bash for this user
-d /export/home/fred: defines the home directory
-c fred-flintstone: creates the comments/notes to describe this user as required
-m: creates the home directory for the user
fred: this is the login name for this user

Hope it helps.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Hi Adrian,</p>
<p>As your data was not on the boot drive and in a separate storage pool, this should be easy to regain access to your data. Assuming your storage pool was called &#8216;tank&#8217; then type:</p>
<pre>
# zpool import -f tank
</pre>
<p>You will probably need the -f option as the pool was never exported before the system motherboard and boot drive died.</p>
<p>If you can&#8217;t remember the name of your storage pool, no worries, just type:</p>
<pre>
# zpool import
</pre>
<p>and Solaris will list all available pools.</p>
<p>When ZFS imports the pool, it should automatically remount all ZFS file systems that the pool contains. It&#8217;s possible you might get some warnings/errors if you changed mountpoints if they don&#8217;t exist, but you&#8217;ll easily be able to fix those problems if you see them.</p>
<p>Also, as you will probably need to re-create your Solaris user(s), you&#8217;ll need to see which user ids and group ids you used within your file systems and recreate the users and groups with the same ids. Something like this:</p>
<pre>
# groupadd -g 501 fred
# useradd -g fred -u 501 -s /bin/bash -d /export/home/fred -c fred-flintstone -m fred
# passwd fred
</pre>
<p>Explanation of useradd parameters used above:<br />
-g fred: adds user to primary group ‘fred’ (which has groupid 501)<br />
-u 501: creates the userid 501 for this user<br />
-s /bin/bash: assigns the default shell to be bash for this user<br />
-d /export/home/fred: defines the home directory<br />
-c fred-flintstone: creates the comments/notes to describe this user as required<br />
-m: creates the home directory for the user<br />
fred: this is the login name for this user</p>
<p>Hope it helps.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dremel</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-9874</link>
		<dc:creator>Dremel</dc:creator>
		<pubDate>Mon, 15 Jun 2009 13:20:43 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-9874</guid>
		<description>Hello , 
I had a Solaris 10 installation on a NAS server running a 4 1TB disks RAIDZ
The OS was installed separately on a 40Gb HDD
After a power failure the motherboard and the system disk died. 
Now I have new motherboard+cpu and a new hdd for OS. 
I would really like to know how can I rebuild the ZFS pool that I had on the previous system . 
Is there a chance to &#039;mount&#039; the 4 disk array to a directory ?

Thank you, 
Regards, 
Adrian</description>
		<content:encoded><![CDATA[<p>Hello ,<br />
I had a Solaris 10 installation on a NAS server running a 4 1TB disks RAIDZ<br />
The OS was installed separately on a 40Gb HDD<br />
After a power failure the motherboard and the system disk died.<br />
Now I have new motherboard+cpu and a new hdd for OS.<br />
I would really like to know how can I rebuild the ZFS pool that I had on the previous system .<br />
Is there a chance to &#8216;mount&#8217; the 4 disk array to a directory ?</p>
<p>Thank you,<br />
Regards,<br />
Adrian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-9464</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 08 Jun 2009 21:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-9464</guid>
		<description>Thanks Duncan.

My first question would be to see why you want to use iSCSI, when you probably just need a simple CIFS share, or Samba if you use a Linux client and it doesn&#039;t have true CIFS client support.

If you think you really need iSCSI, then bear in mind that an iSCSI volume is a raw block device, so once the initiator connects to the target, you&#039;ll need to format it using the file system you wish to use.

Hope this helps and is correct, as I had to cast my mind back a year to my experiences with iSCSI.

For my media centre/HTPC I am using a CIFS share of a standard ZFS file system, as described here:
http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Thanks Duncan.</p>
<p>My first question would be to see why you want to use iSCSI, when you probably just need a simple CIFS share, or Samba if you use a Linux client and it doesn&#8217;t have true CIFS client support.</p>
<p>If you think you really need iSCSI, then bear in mind that an iSCSI volume is a raw block device, so once the initiator connects to the target, you&#8217;ll need to format it using the file system you wish to use.</p>
<p>Hope this helps and is correct, as I had to cast my mind back a year to my experiences with iSCSI.</p>
<p>For my media centre/HTPC I am using a CIFS share of a standard ZFS file system, as described here:<br />
<a href="http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/" rel="nofollow">http://breden.org.uk/2009/05/10/home-fileserver-zfs-file-systems/</a></p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-9428</link>
		<dc:creator>Duncan</dc:creator>
		<pubDate>Mon, 08 Jun 2009 08:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-9428</guid>
		<description>Hi,
A very intersting blog.
I&#039;m trying to do something with ZFS but I&#039;m now struggling.
Can someone please put me on the straight and narrow with regard to how use ZFS over iSCSI can/should work, as I can&#039;t find the answer I need anywhere.

I&#039;m trying to build a ZFS target on Opensolaris essentially as a vault for my HTPC media collection. Also, although the (multiboot) HTPC primarily runs m$ Vista (spit!), I really want to get off m$ and onto Linux so my experimental iSCSI initiator is a Ubuntu 9.04 (Mint actually) boot. 

Anyway, I think I&#039;ve managed to create an iSCSI relationship between the two (after a battle to figure out the different syntax between Open-iscsi on Linux and on OpenSolaris), but the initiator seems to want me to fdisk the iscsi volume next, because it apparently doesn&#039;t recognise what ZFS is, whereas what I was hoping to be able to do is to just mount the ZFS volume and rsynch the disk(s) on my HTPC to it.

Can someone please tell me:
1. The log /var/log/messages has some errors regarding IPv6 resolution and block size (10240) exceeding 1024 but I took these to be irrelevant as the iscsi target exists in the initiator when queried with &#039;iscsiadm -m node&#039;
2. Does the disk need to be specified as a raw device or something. I couldn&#039;t figure out what circumstances would need me to specify a raw device rather than a disk.
3. Should I be able to do what I&#039;m trying to do, or do I have to wait for something like Openfiler/FreeNAS to add support for ZFS before this is achieveable.
4. What about NexentaOS ?. I have steered away from this because as far as I can see, like WHS, it want to have control of all my disks.
5. Is my goal achieveable and what are my options ?
6. Who,what, where should I be asking this if not here.

Many thanks
Duncan</description>
		<content:encoded><![CDATA[<p>Hi,<br />
A very intersting blog.<br />
I&#8217;m trying to do something with ZFS but I&#8217;m now struggling.<br />
Can someone please put me on the straight and narrow with regard to how use ZFS over iSCSI can/should work, as I can&#8217;t find the answer I need anywhere.</p>
<p>I&#8217;m trying to build a ZFS target on Opensolaris essentially as a vault for my HTPC media collection. Also, although the (multiboot) HTPC primarily runs m$ Vista (spit!), I really want to get off m$ and onto Linux so my experimental iSCSI initiator is a Ubuntu 9.04 (Mint actually) boot. </p>
<p>Anyway, I think I&#8217;ve managed to create an iSCSI relationship between the two (after a battle to figure out the different syntax between Open-iscsi on Linux and on OpenSolaris), but the initiator seems to want me to fdisk the iscsi volume next, because it apparently doesn&#8217;t recognise what ZFS is, whereas what I was hoping to be able to do is to just mount the ZFS volume and rsynch the disk(s) on my HTPC to it.</p>
<p>Can someone please tell me:<br />
1. The log /var/log/messages has some errors regarding IPv6 resolution and block size (10240) exceeding 1024 but I took these to be irrelevant as the iscsi target exists in the initiator when queried with &#8216;iscsiadm -m node&#8217;<br />
2. Does the disk need to be specified as a raw device or something. I couldn&#8217;t figure out what circumstances would need me to specify a raw device rather than a disk.<br />
3. Should I be able to do what I&#8217;m trying to do, or do I have to wait for something like Openfiler/FreeNAS to add support for ZFS before this is achieveable.<br />
4. What about NexentaOS ?. I have steered away from this because as far as I can see, like WHS, it want to have control of all my disks.<br />
5. Is my goal achieveable and what are my options ?<br />
6. Who,what, where should I be asking this if not here.</p>
<p>Many thanks<br />
Duncan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davros</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-4540</link>
		<dc:creator>Davros</dc:creator>
		<pubDate>Tue, 10 Feb 2009 06:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-4540</guid>
		<description>Simon:

 Thank you muchly for responding. To read &quot;ZFS is all about data integrity&quot; puts more of what I learned in context. It is all very impressive and probably a no-brainer for use in large data centres. I think I still have to think about it for home use though. This is a home backup server. Going to it to retrive files means something terrible has already happened. While something terrible could happen twice simutanouslty it is very unlikely and stuff so important that one must take such a castatrophe into consideration would be archived onto optical discs and stored away from the computer. However the fact one can spend the extra money on hard disks and get such a great level of protection is appealing just to say I did it.

 Thank you again for responding to my post. I do have a question still though. If I have a &quot;a collection of old, different-sized drives to form a large backup pool&quot; that uses no redundancy like you do in one case and like I am contemplating and one of those drives dies do I loose all the data in the pool or just some of it?

 (Also, I assume redundency could not be added to that pool latter as the disk sizes affect the set-up of RAID-Z and other redundency schemes. I suppose when I can obtain more disks I could set-up a new pool and copy the data over.)</description>
		<content:encoded><![CDATA[<p>Simon:</p>
<p> Thank you muchly for responding. To read &#8220;ZFS is all about data integrity&#8221; puts more of what I learned in context. It is all very impressive and probably a no-brainer for use in large data centres. I think I still have to think about it for home use though. This is a home backup server. Going to it to retrive files means something terrible has already happened. While something terrible could happen twice simutanouslty it is very unlikely and stuff so important that one must take such a castatrophe into consideration would be archived onto optical discs and stored away from the computer. However the fact one can spend the extra money on hard disks and get such a great level of protection is appealing just to say I did it.</p>
<p> Thank you again for responding to my post. I do have a question still though. If I have a &#8220;a collection of old, different-sized drives to form a large backup pool&#8221; that uses no redundancy like you do in one case and like I am contemplating and one of those drives dies do I loose all the data in the pool or just some of it?</p>
<p> (Also, I assume redundency could not be added to that pool latter as the disk sizes affect the set-up of RAID-Z and other redundency schemes. I suppose when I can obtain more disks I could set-up a new pool and copy the data over.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-4533</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 09 Feb 2009 20:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-4533</guid>
		<description>Hi Davros,

Thanks a lot!

You can use ZFS with or without redundancy, the choice is yours. However, as ZFS is all about data integrity, it makes sense to use redundancy for helping to prevent data loss.

I have a fileserver that uses redundancy in the form of a single RAID-Z1 vdev, so that if one drive out of the four fails, the data will still be accessible, allowing me to replace the failed drive and rebuild it from the existing drives. In my case, the capacity of three drives is available for data, and the capacity of one drive is used for parity data (redundancy).

Redundancy is not wasting drives, although it may seem that way at first. The more redundancy (insurance) you build in to your data array, the more you are likely to avoid data loss. The amount of redundancy you choose to use depends on your budget or the importance of your data -- i.e. how keen you are to prevent its loss.

I also have a backup server that uses no redundancy. It uses a collection of old, different-sized drives to form a large backup pool.

ZFS has many other advantages, including easy administration and providing seamless access to vast amounts of data without having to use clumsy volume managers. Also, snapshots are extremely powerful, allowing you to snapshot your data to perform full &amp; incremental backups easily, roll back the file system to before your failed OS upgrade, recover previous edit states of any file, or even clone whole file systems.

ZFS also allows you to specify that a file system automatically and transparently creates 2 or 3 copies of every file within it. This may be useful for any data that is critical, such as user-generated content (photography, video, source code repositories, documents, spreadsheets etc). This means that ZFS can read the same file from multiple distinct locations off the drive surface in the event that, for example, bit rot has destroyed data within any file. This feature is called ditto blocks.

ZFS also allows hot spares to be included within your data array.

Using the above info, you have the ability to build a pretty much bullet-proof system. For example, you could build a storage pool consisting of a RAID-Z2 vdev, which uses the capacity of two drives for parity. You could also include a hot spare which ZFS will use automatically in the event of a drive failure. This means that your ZFS array can now rebuild itself automatically when a drive dies. Combining this array configuration with selected use of ditto blocks for critical file systems should create a system that should be extremely unlikely to ever lose any data. Then, to keep this system protected, you would setup automatic and frequent snapshots, send the differences between the snapshots regularly to a backup pool/server, and be sure to scrub the array with a frequency to suit the usage pattern of the system.

To see all of ZFS&#039; significant advantages, see here:
http://opensolaris.org/os/community/zfs/docs/zfs_last.pdf

I hope this answers your question.

Cheers,
Simon</description>
		<content:encoded><![CDATA[<p>Hi Davros,</p>
<p>Thanks a lot!</p>
<p>You can use ZFS with or without redundancy, the choice is yours. However, as ZFS is all about data integrity, it makes sense to use redundancy for helping to prevent data loss.</p>
<p>I have a fileserver that uses redundancy in the form of a single RAID-Z1 vdev, so that if one drive out of the four fails, the data will still be accessible, allowing me to replace the failed drive and rebuild it from the existing drives. In my case, the capacity of three drives is available for data, and the capacity of one drive is used for parity data (redundancy).</p>
<p>Redundancy is not wasting drives, although it may seem that way at first. The more redundancy (insurance) you build in to your data array, the more you are likely to avoid data loss. The amount of redundancy you choose to use depends on your budget or the importance of your data &#8212; i.e. how keen you are to prevent its loss.</p>
<p>I also have a backup server that uses no redundancy. It uses a collection of old, different-sized drives to form a large backup pool.</p>
<p>ZFS has many other advantages, including easy administration and providing seamless access to vast amounts of data without having to use clumsy volume managers. Also, snapshots are extremely powerful, allowing you to snapshot your data to perform full &#038; incremental backups easily, roll back the file system to before your failed OS upgrade, recover previous edit states of any file, or even clone whole file systems.</p>
<p>ZFS also allows you to specify that a file system automatically and transparently creates 2 or 3 copies of every file within it. This may be useful for any data that is critical, such as user-generated content (photography, video, source code repositories, documents, spreadsheets etc). This means that ZFS can read the same file from multiple distinct locations off the drive surface in the event that, for example, bit rot has destroyed data within any file. This feature is called ditto blocks.</p>
<p>ZFS also allows hot spares to be included within your data array.</p>
<p>Using the above info, you have the ability to build a pretty much bullet-proof system. For example, you could build a storage pool consisting of a RAID-Z2 vdev, which uses the capacity of two drives for parity. You could also include a hot spare which ZFS will use automatically in the event of a drive failure. This means that your ZFS array can now rebuild itself automatically when a drive dies. Combining this array configuration with selected use of ditto blocks for critical file systems should create a system that should be extremely unlikely to ever lose any data. Then, to keep this system protected, you would setup automatic and frequent snapshots, send the differences between the snapshots regularly to a backup pool/server, and be sure to scrub the array with a frequency to suit the usage pattern of the system.</p>
<p>To see all of ZFS&#8217; significant advantages, see here:<br />
<a href="http://opensolaris.org/os/community/zfs/docs/zfs_last.pdf" rel="nofollow">http://opensolaris.org/os/community/zfs/docs/zfs_last.pdf</a></p>
<p>I hope this answers your question.</p>
<p>Cheers,<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davros</title>
		<link>http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/comment-page-2/#comment-4494</link>
		<dc:creator>Davros</dc:creator>
		<pubDate>Sat, 07 Feb 2009 15:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/#comment-4494</guid>
		<description>Simon: I have to add my voice to the chorus of thank yous. OpenSolaris intriged me for a home file server system and your articles do a good job of explaining of the possibilities and what to do.

 While I realize you did not write the article as an invitation for support questions, it would be appreciated if you or someone could clarify some ZFS points for me.

 Is ZFS only meant for high end use cases? I thought one advantage to using it was that you can add drives to a storage pool and it all becomes transparent to the user, just more storage space. So for example, four or five small hard drives could be connected together and it would act like one large drive. (One advantage of this would be that a very large file might be bigger than one of the smallest drives, but under ZFS that would be OK.)

 Now I wonder if all my assumptions were wrong. It seems that one can use ZFS in a way that is great for data recovery but drastically reduces the storage space (RAID-Z, mirroring, etc), can use it to pool together many disks (as mentioned above) giving you great storage abilities, but the failure of one drive ruins all the data, or you can use it in a &quot;normal&quot; way (one disk=one pool) giving no 
advantages at all.

 Is there something I am missing about ZFS? It seems that there are no advantages unless one cares soley about redundency and has unlimited resources for disk drives. That is to say not really a home file server. (Not to say that just because the server is in the home does not make the data unimportant.)</description>
		<content:encoded><![CDATA[<p>Simon: I have to add my voice to the chorus of thank yous. OpenSolaris intriged me for a home file server system and your articles do a good job of explaining of the possibilities and what to do.</p>
<p> While I realize you did not write the article as an invitation for support questions, it would be appreciated if you or someone could clarify some ZFS points for me.</p>
<p> Is ZFS only meant for high end use cases? I thought one advantage to using it was that you can add drives to a storage pool and it all becomes transparent to the user, just more storage space. So for example, four or five small hard drives could be connected together and it would act like one large drive. (One advantage of this would be that a very large file might be bigger than one of the smallest drives, but under ZFS that would be OK.)</p>
<p> Now I wonder if all my assumptions were wrong. It seems that one can use ZFS in a way that is great for data recovery but drastically reduces the storage space (RAID-Z, mirroring, etc), can use it to pool together many disks (as mentioned above) giving you great storage abilities, but the failure of one drive ruins all the data, or you can use it in a &#8220;normal&#8221; way (one disk=one pool) giving no<br />
advantages at all.</p>
<p> Is there something I am missing about ZFS? It seems that there are no advantages unless one cares soley about redundency and has unlimited resources for disk drives. That is to say not really a home file server. (Not to say that just because the server is in the home does not make the data unimportant.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
