<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Solaris 10: tips and tricks for system administration - ZFS</title>
    <link>http://solaris.reys.net/english</link>
    <description>How to use DTrace, ZFS, Solaris Zones and other technologies in Solaris</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.1-alpha7 - http://www.s9y.org/</generator>
    
    

<item>
    <title>Местные новости: ZFS Performance Talk</title>
    <link>http://solaris.reys.net/english/2007/04/zfs_performance_talk</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2007/04/zfs_performance_talk#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=164</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=164</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    &lt;a href=http://blogs.sun.com/timf/&gt;Tim Foster&lt;/a&gt; had sent an email to IOSUG mailing list yesterday, that tomorrow, at 7pm,  &lt;a href=http://blogs.sun.com/roch/&gt;Roch Bourbonnais&lt;/a&gt; will present a tech talk on ZFS Performance. &lt;br /&gt;
&lt;br /&gt;
Here&#039;s the announcement:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
So, amazingly short notice here, but we&#039;re going to hold a talk on ZFS Performance this Wednesday.&lt;br /&gt;
&lt;br /&gt;
Roch Bourbonnais, an expert on kernel performance is visiting Dublin on Wednesday and we thought we&#039;d take the opportunity to hear more about ZFS internals &amp;amp; performance from him.&lt;br /&gt;
&lt;br /&gt;
Roch has been examining ZFS in great detail during it&#039;s development with a view to it&#039;s characteristics on real-world workloads. If you&#039;re interested in ZFS, or have heard about it but want to know more, you really should come along on Wednesday.&lt;br /&gt;
&lt;br /&gt;
More information on Roch&#039;s background and experiences with ZFS so far at http://blogs.sun.com/roch/&lt;br /&gt;
&lt;br /&gt;
Again, our apologies for the short notice.&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
All the details are &lt;a href=http://www.opensolaris.org/os/community/os_user_groups/ie-osug/iosug-8/&gt;on the official IOSUG8 invitation page&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Tue, 03 Apr 2007 12:42:03 +0400</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2007/04/zfs_performance_talk</guid>
    <category>iosug</category>
<category>performance</category>
<category>solaris</category>
<category>zfs</category>
<category>iosug</category>
<category>performance</category>
<category>solaris</category>
<category>zfs</category>

</item>
<item>
    <title>ZFS administration guide: now in Russian</title>
    <link>http://solaris.reys.net/english/2007/03/zfs_administration_guide_in_russian</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2007/03/zfs_administration_guide_in_russian#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=162</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=162</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    At last, I see some real progress with available translations of excellent Solaris docs!&lt;br /&gt;
&lt;br /&gt;
For instance, ZFS administration guide in Russian was posted on the &lt;a href=http://dlc.sun.com/osol/g11n/downloads/docs/current/&gt;OpenSolaris/G11 (Globalization) Consolidation&lt;/a&gt; page just a few days ago.&lt;br /&gt;
&lt;br /&gt;
It really is great to see great translations like this completed. Well done, guys! 
    </content:encoded>

    <pubDate>Wed, 07 Mar 2007 01:43:04 +0300</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2007/03/zfs_administration_guide_in_russian</guid>
    <category>guide</category>
<category>opensolaris</category>
<category>russian</category>
<category>zfs</category>
<category>guide</category>
<category>opensolaris</category>
<category>russian</category>
<category>zfs</category>

</item>
<item>
    <title>ZFS: commands emulation</title>
    <link>http://solaris.reys.net/english/2006/03/zfs_commands_emulation</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2006/03/zfs_commands_emulation#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=118</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=118</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    I&#039;m considering getting myself an x86 server with Solaris for home use, and today I&#039;ve decided to play around with ZFS on my old Sparc-box. &lt;br /&gt;
&lt;br /&gt;
I believe those of you who are just getting started with ZFS will really like the &lt;b&gt;-n&lt;/b&gt; command line option for &lt;b&gt;zfs &lt;/b&gt;and &lt;b&gt;zpool&lt;/b&gt;, which allows you to see what result would a certain command yield, while there is nothing actually done to your disks.&lt;br /&gt;
&lt;br /&gt;
So, if you&#039;re thinking of creating a new storage pool, you don&#039;t have to actually create it just to see how it will look - you can use &lt;b&gt;-n&lt;/b&gt; option instead:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=code&gt;&lt;code&gt;bash-3.00$ &lt;b&gt;zpool create -n mypool raidz /export/vdev/d1 /export/vdev/d2 /export/vdev/d3 /export/vdev/d4&lt;/b&gt;&lt;br /&gt;
would create &#039;storage&#039; with the following layout:&lt;br /&gt;
&lt;br /&gt;
             mypool&lt;br /&gt;
                raidz&lt;br /&gt;
                   /export/vdev/d1&lt;br /&gt;
                   /export/vdev/d2&lt;br /&gt;
                   /export/vdev/d3&lt;br /&gt;
                   /export/vdev/d4&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The command will still be validated - its syntax will be checked, plus you&#039;ll have the existance of the disks verified as well. So, if you don&#039;t have one of the devices in your system, you might see something like this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=code&gt;&lt;code&gt;bash-3.00$ &lt;b&gt;zpool create -n mypool raidz /export/vdev/d1 /export/vdev/d2 /export/vdev/d3 /export/vdev/d4&lt;/b&gt;&lt;br /&gt;
cannot open &#039;/export/vdev/d1&#039;: No such file or directory&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 15 Mar 2006 01:20:27 +0300</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2006/03/zfs_commands_emulation</guid>
    <category>opensolaris</category>
<category>solaris</category>
<category>sysadmin</category>
<category>zfs</category>
<category>opensolaris</category>
<category>solaris</category>
<category>sysadmin</category>
<category>zfs</category>

</item>
<item>
    <title>ZFS: filesystem properties</title>
    <link>http://solaris.reys.net/english/2006/01/zfs_filesystems_properties</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2006/01/zfs_filesystems_properties#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=101</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=101</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    There is quite a number of ZFS filesystems properties, and I will cover most useful ones today.&lt;br /&gt;
&lt;br /&gt;
I&#039;ll begin with refreshing your knowledge a bit. As I&#039;ve told before, I&#039;m going to create a number of ZFS filesystems on my server for the next few blog entires on ZFS. So, right now I have the following:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;list&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;USED&amp;#160;&amp;#160;AVAIL&amp;#160;&amp;#160;REFER&amp;#160;&amp;#160;MOUNTPOINT&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.40G&amp;#160;&amp;#160;31.1G&amp;#160;&amp;#160;8.50K&amp;#160;&amp;#160;/stock&lt;br /&gt;
stock/oracle&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;&amp;#160;693M&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;/stock/oracle&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;&amp;#160;512M&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;/try&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
To get a value of some ZFS property, we normally use a command like this:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;get&amp;#160;used&amp;#160;stock/try&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;PROPERTY&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;VALUE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;SOURCE&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;used&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;-&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
But such output isn&#039;t always convenient for us - it&#039;s formatted this way to make the data more human readable. But if we&#039;re going to use &lt;b&gt;zfs get&lt;/b&gt; to obtain some ZFS parameters from our scripts, we really don&#039;t need anything fancy. So we&#039;re probably better off using a special &lt;b&gt;-H&lt;/b&gt; command line option:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;get&amp;#160;-H&amp;#160;used&amp;#160;stock/try&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;used&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;-&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
One more thing - a useful, yet very obvious feature which allows you specifying few properties names in one command line:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;get&amp;#160;-H&amp;#160;used,available,mounted&amp;#160;stock/try&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;used&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;-&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;available&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;512M&amp;#160;&amp;#160;&amp;#160;&amp;#160;-&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;mounted&amp;#160;yes&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;-&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Okay, now let&#039;s move on and look at some useful ZFS filesystems properties.&lt;br /&gt;
&lt;br /&gt;
For instance, the &lt;b&gt;mountpoint&lt;/b&gt; property name speaks for itself. By default, the filesystem which you change the mountpoint for, will be automatically remounted at a new location:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;set&amp;#160;mountpoint=/younameit&amp;#160;stock/try&lt;br /&gt;
bash-3.00#&amp;#160;zfs&amp;#160;list&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;USED&amp;#160;&amp;#160;AVAIL&amp;#160;&amp;#160;REFER&amp;#160;&amp;#160;MOUNTPOINT&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.40G&amp;#160;&amp;#160;31.1G&amp;#160;&amp;#160;8.50K&amp;#160;&amp;#160;/stock&lt;br /&gt;
stock/oracle&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;&amp;#160;693M&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;/stock/oracle&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;&amp;#160;512M&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;/younameit&lt;br /&gt;
bash-3.00#&amp;#160;df&amp;#160;-k&amp;#160;|&amp;#160;grep&amp;#160;stock&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;35112960&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8&amp;#160;32597477&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/stock&lt;br /&gt;
stock/oracle&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;3145728&amp;#160;2436188&amp;#160;&amp;#160;709540&amp;#160;&amp;#160;&amp;#160;&amp;#160;78%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/stock/oracle&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;524288&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8&amp;#160;&amp;#160;524280&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/younameit&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
One more potentially useful option is an on-disk compression. It happens on the fly, and it is planned to eventually have a number of compression methods available to a ZFS administrator, but at the moment you can use only one method - &lt;b&gt;lzjb&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Still, results are impressive:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;ls&amp;#160;-l&amp;#160;/younameit/access_log&lt;br /&gt;
total&amp;#160;3082&lt;br /&gt;
drwxr-xr-x&amp;#160;&amp;#160;&amp;#160;2&amp;#160;root&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;sys&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;3&amp;#160;Jan&amp;#160;23&amp;#160;21&amp;#58;59&amp;#160;.&lt;br /&gt;
drwxr-xr-x&amp;#160;&amp;#160;44&amp;#160;root&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;root&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1024&amp;#160;Jan&amp;#160;23&amp;#160;21&amp;#58;45&amp;#160;..&lt;br /&gt;
dr-xr-xr-x&amp;#160;&amp;#160;&amp;#160;3&amp;#160;root&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;root&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;3&amp;#160;Jan&amp;#160;23&amp;#160;22&amp;#58;04&amp;#160;.zfs&lt;br /&gt;
-rw-r--r--&amp;#160;&amp;#160;&amp;#160;1&amp;#160;root&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;root&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8904090&amp;#160;Jan&amp;#160;23&amp;#160;21&amp;#58;59&amp;#160;access_log&lt;br /&gt;
bash-3.00#&amp;#160;zfs&amp;#160;list&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;USED&amp;#160;&amp;#160;AVAIL&amp;#160;&amp;#160;REFER&amp;#160;&amp;#160;MOUNTPOINT&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.41G&amp;#160;&amp;#160;31.1G&amp;#160;&amp;#160;8.51M&amp;#160;&amp;#160;/stock&lt;br /&gt;
stock/oracle&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;&amp;#160;693M&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;/stock/oracle&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1.51M&amp;#160;&amp;#160;&amp;#160;510M&amp;#160;&amp;#160;1.51M&amp;#160;&amp;#160;/younameit&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
No wonder the compression ratio is so good for this filesystem:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;get&amp;#160;compressratio&amp;#160;stock/try&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;PROPERTY&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;VALUE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;SOURCE&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;compressratio&amp;#160;&amp;#160;5.63x&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;-&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Unfortunately, only few types of files can be so wonderfully compressed, and text files (for instance, my Apache2 logs) belong to them too. Executable files, of course, will compress with a much lower ratio.&lt;br /&gt;
&lt;br /&gt;
I think that should do for today&#039;s entry. Let me tell you right now: I have a whole series of ZFS blog entries planned ahead, and that&#039;s the reason I haven&#039;t covered some of the simpler ZFS filesystem options yet. I promise to write more in the nearest few days. 
    </content:encoded>

    <pubDate>Tue, 24 Jan 2006 00:28:45 +0300</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2006/01/zfs_filesystems_properties</guid>
    <category>filesystem</category>
<category>opensolaris</category>
<category>solaris</category>
<category>zfs</category>
<category>filesystem</category>
<category>opensolaris</category>
<category>solaris</category>
<category>zfs</category>

</item>
<item>
    <title>ZFS: managing filesystems</title>
    <link>http://solaris.reys.net/english/2006/01/zfs_filesystems</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2006/01/zfs_filesystems#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=100</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=100</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    Hi!&lt;br /&gt;
&lt;br /&gt;
Unbelievable - this turns out to be the very first entry of mine in 2006! I couldn&#039;t postpone new entires anymore, so here&#039;s one for you :)&lt;br /&gt;
&lt;br /&gt;
It&#039;s been quite a while since I&#039;ve cleared one of internal disks in my &lt;b&gt;Netra t105&lt;/b&gt; to bring it under &lt;b&gt;ZFS&lt;/b&gt; control. As a result, I now have a 33Gb zfs-pool to experiment with. Today I had some spare time, so I&#039;ve decided to share the very basics of managing ZFS filesystems.&lt;br /&gt;
&lt;br /&gt;
So this is the pool I have:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zpool&amp;#160;list&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;SIZE&amp;#160;&amp;#160;&amp;#160;&amp;#160;USED&amp;#160;&amp;#160;&amp;#160;AVAIL&amp;#160;&amp;#160;&amp;#160;&amp;#160;CAP&amp;#160;&amp;#160;HEALTH&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ALTROOT&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;33.8G&amp;#160;&amp;#160;&amp;#160;2.40G&amp;#160;&amp;#160;&amp;#160;31.4G&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;7%&amp;#160;&amp;#160;ONLINE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;-&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
And like I said, it has only one drive in it:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zpool&amp;#160;status&lt;br /&gt;
&amp;#160;&amp;#160;pool&amp;#58;&amp;#160;stock&lt;br /&gt;
&amp;#160;state&amp;#58;&amp;#160;ONLINE&lt;br /&gt;
&amp;#160;scrub&amp;#58;&amp;#160;scrub&amp;#160;stopped&amp;#160;with&amp;#160;0&amp;#160;errors&amp;#160;on&amp;#160;Tue&amp;#160;Jan&amp;#160;17&amp;#160;21&amp;#58;00&amp;#58;45&amp;#160;2006&lt;br /&gt;
config&amp;#58;&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;STATE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;READ&amp;#160;WRITE&amp;#160;CKSUM&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ONLINE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;c0t1d0&amp;#160;&amp;#160;&amp;#160;&amp;#160;ONLINE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
By default, when you create a zfs-pool, all of its disk space is represented as a single filesystem with the same name. This filesystem also gets a mountpoint with the same name and is automatically mounted off /. So, after doing a &lt;b&gt;zpool create&lt;/b&gt; (&lt;a href=http://solaris.reys.net/2005/11/zfs_first_encounter&gt;here&lt;/a&gt; is my example) you can immediately start working with your newly made filesystem.&lt;br /&gt;
&lt;br /&gt;
At the moment I&#039;ve got only 1 additional filesystem created, I use it for Oracle 10g. So here&#039;s how it looks:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;list&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;USED&amp;#160;&amp;#160;AVAIL&amp;#160;&amp;#160;REFER&amp;#160;&amp;#160;MOUNTPOINT&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.40G&amp;#160;&amp;#160;31.1G&amp;#160;&amp;#160;8.50K&amp;#160;&amp;#160;/stock&lt;br /&gt;
stock/oracle&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;&amp;#160;693M&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;/stock/oracle&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
According to ZFS concepts, all the newly made filesystems may use all the available disk space of the zfs-pool they belong to. So, when I create another filesystem in my &lt;b&gt;stock&lt;/b&gt; pool, this filesystem has more than 30Gb available to it:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;create&amp;#160;stock/try&lt;br /&gt;
bash-3.00#&amp;#160;zfs&amp;#160;list&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;USED&amp;#160;&amp;#160;AVAIL&amp;#160;&amp;#160;REFER&amp;#160;&amp;#160;MOUNTPOINT&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.40G&amp;#160;&amp;#160;31.1G&amp;#160;&amp;#160;&amp;#160;9.5K&amp;#160;&amp;#160;/stock&lt;br /&gt;
stock/oracle&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;&amp;#160;693M&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;/stock/oracle&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;31.1G&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;/stock/try&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
To make sure that some of your filesystems don&#039;t eat up all the available disk space, you have to limit them. And it&#039;s very easily done so:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;set&amp;#160;quota=512m&amp;#160;stock/try&lt;br /&gt;
bash-3.00#&amp;#160;zfs&amp;#160;list&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;USED&amp;#160;&amp;#160;AVAIL&amp;#160;&amp;#160;REFER&amp;#160;&amp;#160;MOUNTPOINT&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.40G&amp;#160;&amp;#160;31.1G&amp;#160;&amp;#160;&amp;#160;9.5K&amp;#160;&amp;#160;/stock&lt;br /&gt;
stock/oracle&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;&amp;#160;693M&amp;#160;&amp;#160;2.32G&amp;#160;&amp;#160;/stock/oracle&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;&amp;#160;512M&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8K&amp;#160;&amp;#160;/stock/try&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
As you have probably guessed, &lt;b&gt;quota&lt;/b&gt; is the parameter name, while &lt;b&gt;set&lt;/b&gt; is a keyword to alter parameters values. There is quite a number of ZFS filesystem parameters, and most of them you can modify, but there are also some which are read-only. Here&#039;s an example of such a parameter, and you can see what happens if you try modifying them:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;zfs&amp;#160;get&amp;#160;mounted&amp;#160;stock/try&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;PROPERTY&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;VALUE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;SOURCE&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;mounted&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;yes&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;-&lt;br /&gt;
bash-3.00#&amp;#160;zfs&amp;#160;set&amp;#160;mounted=on&amp;#160;stock/try&lt;br /&gt;
cannot&amp;#160;set&amp;#160;mounted&amp;#160;property&amp;#58;&amp;#160;read-only&amp;#160;property&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
You can find the full list of ZFS filesystem parameters on the &lt;a href=http://www.opensolaris.org/os/community/zfs/docs/man_zfs/&gt;man page for zfs&lt;/a&gt;, as for me - I&#039;ll show you only 1 more parameter today, and a very useful one in my opinion: a mount point. As all the rest things about ZFS, this parameter is very easy to change, and you even have the filesystem automatically remounted for you:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;df&amp;#160;-k&amp;#160;|&amp;#160;grep&amp;#160;^stock&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;35112960&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8&amp;#160;32597478&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/stock&lt;br /&gt;
stock/oracle&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;3145728&amp;#160;2436188&amp;#160;&amp;#160;709540&amp;#160;&amp;#160;&amp;#160;&amp;#160;78%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/stock/oracle&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;524288&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8&amp;#160;&amp;#160;524280&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/stock/try&lt;br /&gt;
bash-3.00#&amp;#160;zfs&amp;#160;set&amp;#160;mountpoint=/try&amp;#160;stock/try&lt;br /&gt;
bash-3.00#&amp;#160;df&amp;#160;-k&amp;#160;|&amp;#160;grep&amp;#160;^stock&lt;br /&gt;
stock&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;35112960&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8&amp;#160;32597478&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/stock&lt;br /&gt;
stock/oracle&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;3145728&amp;#160;2436188&amp;#160;&amp;#160;709540&amp;#160;&amp;#160;&amp;#160;&amp;#160;78%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/stock/oracle&lt;br /&gt;
stock/try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;524288&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8&amp;#160;&amp;#160;524280&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/try&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
I left the &lt;b&gt;df&lt;/b&gt; output intentionally here, to show that there were no additional manipulations made to the &lt;b&gt;try&lt;/b&gt; filesystem - it really is this easy!&lt;br /&gt;
&lt;br /&gt;
I guess that&#039;s enough for today - so next time I&#039;ll tell you about few more useful ZFS filesystem parameters. Good luck with your experiments! 
    </content:encoded>

    <pubDate>Wed, 18 Jan 2006 00:21:19 +0300</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2006/01/zfs_filesystems</guid>
    <category>opensolaris</category>
<category>solaris</category>
<category>zfs</category>
<category>opensolaris</category>
<category>solaris</category>
<category>zfs</category>

</item>
<item>
    <title>ZFS features: RAID-Z</title>
    <link>http://solaris.reys.net/english/2005/11/zfs_raid-z</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2005/11/zfs_raid-z#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=93</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=93</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    I started slowly building up my knowledge of ZFS, and have decided to start with the most tasty things. One of them is a RAID-Z approach.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=841&amp;amp;entry_id=93&quot; title=&quot;http://blogs.sun.com/bonwick&quot;  onmouseover=&quot;window.status=&#039;http://blogs.sun.com/bonwick&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Jeff Bonwick&lt;/a&gt; - a ZFS author and one of newly created &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=843&amp;amp;entry_id=93&quot; title=&quot;http://www.opensolaris.org/os/community/zfs&quot;  onmouseover=&quot;window.status=&#039;http://www.opensolaris.org/os/community/zfs&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;OpenSolaris ZFS&lt;/a&gt; community &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=842&amp;amp;entry_id=93&quot; title=&quot;http://www.opensolaris.org/os/community/zfs/leaders&quot;  onmouseover=&quot;window.status=&#039;http://www.opensolaris.org/os/community/zfs/leaders&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;leaders&lt;/a&gt;, wrote a wonderful article on RAID-Z where he thoroughly explains what&#039;s new and cool about RAID-Z compared to RAID-5. Please read this masterpiece &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=844&amp;amp;entry_id=93&quot; title=&quot;http://blogs.sun.com/roller/page/bonwick?entry=raid_z&quot;  onmouseover=&quot;window.status=&#039;http://blogs.sun.com/roller/page/bonwick?entry=raid_z&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;In short, here&#039;s what&#039;s cool about RAID-Z:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1)&lt;/b&gt; A traditional weakness of parity-based RAID schemes - write hole - is fixed&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2)&lt;/b&gt; There&#039;s quite a performance improvement because now we have dynamic length stripes - any small amount of data will be treated as a data block of a full-stripe size, and therefore it will be immediately and fully written onto disks.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3)&lt;/b&gt; Data integrity improved - in addition to traditional XORs to validate data based on parity knowledge, each RAID-Z block is validated with a 256-bit checksum.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4)&lt;/b&gt; ZFS has a self-healing functionality built-in. If one of data disks returns corrupted data, ZFS restores the correct data with parity, compares checksums to validate the result, returns this correct data to the disk operation which requested it, and fixes corrupted data on the disk which gave us the corrupted data. Must be really useful!&lt;br /&gt;
&lt;br /&gt;
That&#039;s all for now. Soon there will be new ZFS presentations - and I hope they will have even more information on RAID-Z. 
    </content:encoded>

    <pubDate>Tue, 29 Nov 2005 03:16:00 +0300</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2005/11/zfs_raid-z</guid>
    <category>opensolaris</category>
<category>solaris</category>
<category>zfs</category>
<category>opensolaris</category>
<category>solaris</category>
<category>zfs</category>

</item>
<item>
    <title>When ZFS will be available for Solaris 10</title>
    <link>http://solaris.reys.net/english/2005/11/zfs_solaris_10</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2005/11/zfs_solaris_10#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=91</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=91</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    I&#039;ve been asked yesterday if it&#039;s known yet about the date when ZFS is expected to make its way into Solaris 10. There is no exact answer, but the &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=845&amp;amp;entry_id=91&quot; title=&quot;http://www.opensolaris.org/os/community/zfs/faq&quot;  onmouseover=&quot;window.status=&#039;http://www.opensolaris.org/os/community/zfs/faq&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;official ZFS FAQ page&lt;/a&gt; hosten at OpenSolaris.org is and will probably be the most reliable source of such information.&lt;br /&gt;
&lt;br /&gt;
This is the answer currently found in ZFS FAQ:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ZFS should be available in Solaris 10 Update 2, which is scheduled to ship in Q2CY06. All such plans are tentative, however, and subject to change.&lt;/b&gt; 
    </content:encoded>

    <pubDate>Sat, 26 Nov 2005 03:06:19 +0300</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2005/11/zfs_solaris_10</guid>
    
</item>
<item>
    <title>ZFS: the first encounter</title>
    <link>http://solaris.reys.net/english/2005/11/zfs_first_encounter</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2005/11/zfs_first_encounter#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=90</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=90</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    I just couldn&#039;t wait any longer, and decided to try something with ZFS. And what do you know? I&#039;ve found a &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=846&amp;amp;entry_id=90&quot; title=&quot;http://cuddletech.com/blog/pivot/entry.php?id=446&quot;  onmouseover=&quot;window.status=&#039;http://cuddletech.com/blog/pivot/entry.php?id=446&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;very useful advice&lt;/a&gt; from &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=847&amp;amp;entry_id=90&quot; title=&quot;http://cuddletech.com/blog/index.php&quot;  onmouseover=&quot;window.status=&#039;http://cuddletech.com/blog/index.php&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Ben Rockwood&lt;/a&gt;, which allows us use regular files created with &lt;b&gt;mkfile&lt;/b&gt; as virtual disks for ZFS. VERY useful, especially when you really want to play with such a great technology and maybe try various configurations, but there are no spare physical disks for such experiments.&lt;br /&gt;
&lt;br /&gt;
I will, of course, read and understand all the inner workings of ZFS later, but the first impression of it is this - too easy to be true! :)&lt;br /&gt;
&lt;br /&gt;
Here&#039;s what I did:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;bash-3.00#&amp;#160;mkdir&amp;#160;/export/vdev&lt;br /&gt;
bash-3.00#&amp;#160;mkfile&amp;#160;128m&amp;#160;/export/vdev/d1&lt;br /&gt;
bash-3.00#&amp;#160;mkfile&amp;#160;128m&amp;#160;/export/vdev/d2&lt;br /&gt;
bash-3.00#&amp;#160;zpool&amp;#160;create&amp;#160;try&amp;#160;/export/vdev/d1&amp;#160;/export/vdev/d2&lt;br /&gt;
bash-3.00#&amp;#160;zpool&amp;#160;status&lt;br /&gt;
&amp;#160;&amp;#160;pool&amp;#58;&amp;#160;try&lt;br /&gt;
&amp;#160;state&amp;#58;&amp;#160;ONLINE&lt;br /&gt;
&amp;#160;scrub&amp;#58;&amp;#160;none&amp;#160;requested&lt;br /&gt;
config&amp;#58;&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;STATE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;READ&amp;#160;WRITE&amp;#160;CKSUM&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ONLINE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;/export/vdev/d1&amp;#160;&amp;#160;ONLINE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;/export/vdev/d2&amp;#160;&amp;#160;ONLINE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0&lt;br /&gt;
bash-3.00#&amp;#160;zpool&amp;#160;list&lt;br /&gt;
NAME&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;SIZE&amp;#160;&amp;#160;&amp;#160;&amp;#160;USED&amp;#160;&amp;#160;&amp;#160;AVAIL&amp;#160;&amp;#160;&amp;#160;&amp;#160;CAP&amp;#160;&amp;#160;HEALTH&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ALTROOT&lt;br /&gt;
try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;246M&amp;#160;&amp;#160;&amp;#160;32,5K&amp;#160;&amp;#160;&amp;#160;&amp;#160;246M&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;0%&amp;#160;&amp;#160;ONLINE&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;-&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
After this the newly made filesystem automatically became available (it&#039;s a partial output of &lt;b&gt;df -k&lt;/b&gt;):&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;Filesystem&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;kbytes&amp;#160;&amp;#160;&amp;#160;&amp;#160;used&amp;#160;&amp;#160;&amp;#160;avail&amp;#160;capacity&amp;#160;&amp;#160;Mounted&amp;#160;on&lt;br /&gt;
try&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;235520&amp;#160;&amp;#160;&amp;#160;&amp;#160;3722&amp;#160;&amp;#160;231771&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2%&amp;#160;&amp;#160;&amp;#160;&amp;#160;/try&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Enough for the moment! Now the next challenge will be freeing up one of the two physical disks I&#039;ve got in my Netra t1, so that I could bring it under ZFS control.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 24 Nov 2005 18:03:05 +0300</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2005/11/zfs_first_encounter</guid>
    <category>opensolaris</category>
<category>solaris</category>
<category>zfs</category>
<category>opensolaris</category>
<category>solaris</category>
<category>zfs</category>

</item>
<item>
    <title>ZFS: feel the difference</title>
    <link>http://solaris.reys.net/english/2005/11/zfs_feel_the_difference</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2005/11/zfs_feel_the_difference#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=86</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=86</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    While reading Sun blogs today, I&#039;ve spotted a nice article: &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=848&amp;amp;entry_id=86&quot; title=&quot;http://blogs.sun.com/timf&quot;  onmouseover=&quot;window.status=&#039;http://blogs.sun.com/timf&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Tim Foster&lt;/a&gt; has demonstrated how many things get vastly simplified with ZFS, in his blog entry &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=849&amp;amp;entry_id=86&quot; title=&quot;http://blogs.sun.com/roller/page/timf/20051116&quot;  onmouseover=&quot;window.status=&#039;http://blogs.sun.com/roller/page/timf/20051116&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;ZFS, is that it?&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I can&#039;t wait to try something ZFS myself! Unfortunatelly, got no spare time this week, and it&#039;s not clear where I might have some.  
    </content:encoded>

    <pubDate>Mon, 21 Nov 2005 14:35:09 +0300</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2005/11/zfs_feel_the_difference</guid>
    
</item>
<item>
    <title>ZFS</title>
    <link>http://solaris.reys.net/english/2005/11/zfs</link>
            <category>ZFS</category>
    
    <comments>http://solaris.reys.net/english/2005/11/zfs#comments</comments>
    <wfw:comment>http://solaris.reys.net/wfwcomment.php?cid=85</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://solaris.reys.net/rss.php?version=2.0&amp;type=comments&amp;cid=85</wfw:commentRss>
    

    <author>nospam@example.com (Gleb Reys)</author>
    <content:encoded>
    At last, it&#039;s here! &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=850&amp;amp;entry_id=85&quot; title=&quot;http://www.opensolaris.org/os/community/zfs/&quot;  onmouseover=&quot;window.status=&#039;http://www.opensolaris.org/os/community/zfs/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;ZFS&lt;/a&gt; is now publicly available in the latest build of &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=851&amp;amp;entry_id=85&quot; title=&quot;http://www.opensolaris.org/os/downloads/&quot;  onmouseover=&quot;window.status=&#039;http://www.opensolaris.org/os/downloads/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;OpenSolaris&lt;/a&gt; :)&lt;br /&gt;
&lt;br /&gt;
It really is a pity that my home server has only 2 HDDs, which, of course, won&#039;t allow me to see and show all the features of ZFS... But some things, I&#039;m sure, can be tried even on such a small scale ;) So I&#039;ll be sure to post more on that later on.&lt;br /&gt;
&lt;br /&gt;
As for now - I advise you all have a look at &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=853&amp;amp;entry_id=85&quot; title=&quot;http://www.opensolaris.org/os/community/zfs/demos/basics/&quot;  onmouseover=&quot;window.status=&#039;http://www.opensolaris.org/os/community/zfs/demos/basics/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;ZFS basics&lt;/a&gt; presentation by &lt;a href=&quot;http://solaris.reys.net/exit.php?url_id=852&amp;amp;entry_id=85&quot; title=&quot;http://blogs.sun.com/dp&quot;  onmouseover=&quot;window.status=&#039;http://blogs.sun.com/dp&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Dan Price&lt;/a&gt; 
    </content:encoded>

    <pubDate>Fri, 18 Nov 2005 11:50:08 +0300</pubDate>
    <guid isPermaLink="false">http:/solaris.reys.net/english/2005/11/zfs</guid>
    
</item>

</channel>
</rss>