<?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: Solaris Express ZFS root install</title>
	<atom:link href="http://number9.hellooperator.net/articles/2008/06/06/solaris-express-zfs-root-install/feed" rel="self" type="application/rss+xml" />
	<link>http://number9.hellooperator.net/articles/2008/06/06/solaris-express-zfs-root-install</link>
	<description>a bird to bring my message home</description>
	<lastBuildDate>Fri, 11 Dec 2009 15:13:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dick</title>
		<link>http://number9.hellooperator.net/articles/2008/06/06/solaris-express-zfs-root-install/comment-page-1#comment-43765</link>
		<dc:creator>Dick</dc:creator>
		<pubDate>Tue, 12 Aug 2008 09:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://number9.hellooperator.net/?p=139#comment-43765</guid>
		<description>Cheers @Andrew, as you can tell shell isn&#039;t my native language ( http://number9.hellooperator.net/articles/2007/10/12/zfs-rolling-snapshots ) :)

Personally I don&#039;t see the atime tweak as a big deal, since you can change that afterwards easily. Compression is a special case, since it really helps to enable that while the filesystems are empty. Might help others though (this post gets a fair bit of traffic, which is a bit of a shock to me).

I&#039;m hoping for an installer checkbox at some point to make all this moot anyway :)</description>
		<content:encoded><![CDATA[<p>Cheers @Andrew, as you can tell shell isn&#8217;t my native language ( <a href="http://number9.hellooperator.net/articles/2007/10/12/zfs-rolling-snapshots" rel="nofollow">http://number9.hellooperator.net/articles/2007/10/12/zfs-rolling-snapshots</a> ) <img src='http://number9.hellooperator.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Personally I don&#8217;t see the atime tweak as a big deal, since you can change that afterwards easily. Compression is a special case, since it really helps to enable that while the filesystems are empty. Might help others though (this post gets a fair bit of traffic, which is a bit of a shock to me).</p>
<p>I&#8217;m hoping for an installer checkbox at some point to make all this moot anyway <img src='http://number9.hellooperator.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew</title>
		<link>http://number9.hellooperator.net/articles/2008/06/06/solaris-express-zfs-root-install/comment-page-1#comment-43763</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Tue, 12 Aug 2008 08:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://number9.hellooperator.net/?p=139#comment-43763</guid>
		<description>Here&#039;s a slightly more fancy version that prints success/failure messages and also disables access time stamps on all files, which should speed things up a little:

#! /bin/sh
echo
echo &quot;Waiting for root pool to be created...&quot;
until [ &quot;`zpool list rpool 2&gt;/dev/null`&quot; ];
do
:
done
TEMP=`zfs set compression=on rpool 2&gt;/dev/null`
if [ $? -eq 0 ]; then
	echo &quot;Successfully enabled compression on rpool&quot;
else
	echo &quot;ERROR: could not enable compression on rpool&quot;
fi
TEMP=`zfs set atime=off rpool 2&gt;/dev/null`
if [ $? -eq 0 ]; then
	echo &quot;Successfully disabled access time updates on rpool&quot;
else
	echo &quot;ERROR: could not disable access time updates on rpool&quot;
fi
echo 
echo &quot;Waiting for rpool/ROOT to be created...&quot;
until [ &quot;`zfs list rpool/ROOT 2&gt;/dev/null`&quot; ];
do
:
done
TEMP=`zfs set compression=on rpool/ROOT 2&gt;/dev/null`
if [ $? -eq 0 ]; then
	echo &quot;Successfully enabled compression on rpool/ROOT&quot;
else
	echo &quot;ERROR: could not enable compression on rpool/ROOT&quot;
fi
TEMP=`zfs set atime=off rpool/ROOT 2&gt;/dev/null`
if [ $? -eq 0 ]; then
	echo &quot;Successfully disabled access time updates on rpool/ROOT&quot;
else
	echo &quot;ERROR: could not disable access time updates on rpool/ROOT&quot;
fi
echo</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a slightly more fancy version that prints success/failure messages and also disables access time stamps on all files, which should speed things up a little:</p>
<p>#! /bin/sh<br />
echo<br />
echo &#8220;Waiting for root pool to be created&#8230;&#8221;<br />
until [ "`zpool list rpool 2&gt;/dev/null`" ];<br />
do<br />
:<br />
done<br />
TEMP=`zfs set compression=on rpool 2&gt;/dev/null`<br />
if [ $? -eq 0 ]; then<br />
	echo &#8220;Successfully enabled compression on rpool&#8221;<br />
else<br />
	echo &#8220;ERROR: could not enable compression on rpool&#8221;<br />
fi<br />
TEMP=`zfs set atime=off rpool 2&gt;/dev/null`<br />
if [ $? -eq 0 ]; then<br />
	echo &#8220;Successfully disabled access time updates on rpool&#8221;<br />
else<br />
	echo &#8220;ERROR: could not disable access time updates on rpool&#8221;<br />
fi<br />
echo<br />
echo &#8220;Waiting for rpool/ROOT to be created&#8230;&#8221;<br />
until [ "`zfs list rpool/ROOT 2&gt;/dev/null`" ];<br />
do<br />
:<br />
done<br />
TEMP=`zfs set compression=on rpool/ROOT 2&gt;/dev/null`<br />
if [ $? -eq 0 ]; then<br />
	echo &#8220;Successfully enabled compression on rpool/ROOT&#8221;<br />
else<br />
	echo &#8220;ERROR: could not enable compression on rpool/ROOT&#8221;<br />
fi<br />
TEMP=`zfs set atime=off rpool/ROOT 2&gt;/dev/null`<br />
if [ $? -eq 0 ]; then<br />
	echo &#8220;Successfully disabled access time updates on rpool/ROOT&#8221;<br />
else<br />
	echo &#8220;ERROR: could not disable access time updates on rpool/ROOT&#8221;<br />
fi<br />
echo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew</title>
		<link>http://number9.hellooperator.net/articles/2008/06/06/solaris-express-zfs-root-install/comment-page-1#comment-43745</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Tue, 12 Aug 2008 05:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://number9.hellooperator.net/?p=139#comment-43745</guid>
		<description>@dick : no problem. It took a bit of experimenting to get that - I was surprised how easy it was in the end!

If you invoke the script using

sh readysetgo.sh 

then you don&#039;t need the shebang line ( #! /bin/sh ) , so that makes the script one line shorter as well.

Cheers

Andrew.</description>
		<content:encoded><![CDATA[<p>@dick : no problem. It took a bit of experimenting to get that &#8211; I was surprised how easy it was in the end!</p>
<p>If you invoke the script using</p>
<p>sh readysetgo.sh </p>
<p>then you don&#8217;t need the shebang line ( #! /bin/sh ) , so that makes the script one line shorter as well.</p>
<p>Cheers</p>
<p>Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick</title>
		<link>http://number9.hellooperator.net/articles/2008/06/06/solaris-express-zfs-root-install/comment-page-1#comment-43159</link>
		<dc:creator>Dick</dc:creator>
		<pubDate>Sat, 09 Aug 2008 07:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://number9.hellooperator.net/?p=139#comment-43159</guid>
		<description>@andrew : thanks , that&#039;s a lot cleaner; I&#039;ve updated the post to include both changes.</description>
		<content:encoded><![CDATA[<p>@andrew : thanks , that&#8217;s a lot cleaner; I&#8217;ve updated the post to include both changes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew</title>
		<link>http://number9.hellooperator.net/articles/2008/06/06/solaris-express-zfs-root-install/comment-page-1#comment-43156</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Sat, 09 Aug 2008 06:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://number9.hellooperator.net/?p=139#comment-43156</guid>
		<description>2 things: firstly SXCE doesn&#039;t need you to use pfexec, since the terminal is already running as root.

Secondly, here is a script that also makes the root pool compressed.

The script (I&#039;m calling it compress.sh) is as follows:

#! /bin/sh
until [ &quot;`zpool list rpool`&quot; ];
do
    :
done
zfs set compression=on rpool
until [ &quot;`zfs list rpool/ROOT`&quot; ];
do
    :
done
zfs set compression=on rpool/ROOT

Then to run it:

chmod +x compress.sh
./compress.sh .

Cheers

Andrew.</description>
		<content:encoded><![CDATA[<p>2 things: firstly SXCE doesn&#8217;t need you to use pfexec, since the terminal is already running as root.</p>
<p>Secondly, here is a script that also makes the root pool compressed.</p>
<p>The script (I&#8217;m calling it compress.sh) is as follows:</p>
<p>#! /bin/sh<br />
until [ "`zpool list rpool`" ];<br />
do<br />
    :<br />
done<br />
zfs set compression=on rpool<br />
until [ "`zfs list rpool/ROOT`" ];<br />
do<br />
    :<br />
done<br />
zfs set compression=on rpool/ROOT</p>
<p>Then to run it:</p>
<p>chmod +x compress.sh<br />
./compress.sh .</p>
<p>Cheers</p>
<p>Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick</title>
		<link>http://number9.hellooperator.net/articles/2008/06/06/solaris-express-zfs-root-install/comment-page-1#comment-34705</link>
		<dc:creator>Dick</dc:creator>
		<pubDate>Sun, 06 Jul 2008 05:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://number9.hellooperator.net/?p=139#comment-34705</guid>
		<description>Maybe you used b91 (latest) and the distro is different enough to affect the compression ratio?

Thanks for the comment, you prodded me into finding a neater way of getting the timing right, and updated the post to show it.

This is all a hack of course - be nice if there was an install option just to do this, maybe it&#039;s coming.</description>
		<content:encoded><![CDATA[<p>Maybe you used b91 (latest) and the distro is different enough to affect the compression ratio?</p>
<p>Thanks for the comment, you prodded me into finding a neater way of getting the timing right, and updated the post to show it.</p>
<p>This is all a hack of course &#8211; be nice if there was an install option just to do this, maybe it&#8217;s coming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://number9.hellooperator.net/articles/2008/06/06/solaris-express-zfs-root-install/comment-page-1#comment-34667</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sun, 06 Jul 2008 03:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://number9.hellooperator.net/?p=139#comment-34667</guid>
		<description>Since your hypnotoad we must try it ...

Works great on SX:CE (Solaris 11) - make it &quot;really SXCE&quot;.

Beating the buzzer is easy:

1. Type your command to turn on compression but don&#039;t hit return.
2. Make your way up to the &quot;Profile&quot; (&quot;F2_Begin Installation&quot;) screen.
3. Hit &quot;F2&quot; and mouse to your other window with the compress command in it.

4. Wait for this in the first window (assuming mirrored root):

Preparing system for Solaris install

Configuring disk (c1t0d0)
     - Creating Fdisk partition table
     - Creating Solaris disk label (VTOC)

Configuring disk (c1t1d0)
     - Creating Fdisk partition table
     - Creating Solaris disk label (VTOC)
     - Creating pool rpool
*** NOW ***
     - Creating swap zvol for pool rpool
     - Creating dump zvol for pool rpool


If you hit [Enter] where it says &quot;*** NOW ***&quot; you won&#039;t get your cursor back until the &quot;Creating dump zvol for pool rpool&quot; is completed and you can hit [Enter] later than that; but then you&#039;ll miss a few Mbytes ...


It worked for me but all I got was:

$ zfs get -r compressratio rpool
NAME                    PROPERTY       VALUE                   SOURCE
rpool                   compressratio  1.54x                   -
rpool/ROOT              compressratio  1.65x                   -
rpool/ROOT/snv_90       compressratio  1.65x                   -
rpool/ROOT/snv_90/var   compressratio  1.71x                   -
rpool/dump              compressratio  1.00x                   -
rpool/export            compressratio  1.00x                   -
rpool/export/home       compressratio  1.00x                   -
rpool/export/home/dick  compressratio  1.00x                   -
rpool/swap              compressratio  1.00x                   -

Still I think it was good than it did not compress the swap.

Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>Since your hypnotoad we must try it &#8230;</p>
<p>Works great on SX:CE (Solaris 11) &#8211; make it &#8220;really SXCE&#8221;.</p>
<p>Beating the buzzer is easy:</p>
<p>1. Type your command to turn on compression but don&#8217;t hit return.<br />
2. Make your way up to the &#8220;Profile&#8221; (&#8221;F2_Begin Installation&#8221;) screen.<br />
3. Hit &#8220;F2&#8243; and mouse to your other window with the compress command in it.</p>
<p>4. Wait for this in the first window (assuming mirrored root):</p>
<p>Preparing system for Solaris install</p>
<p>Configuring disk (c1t0d0)<br />
     &#8211; Creating Fdisk partition table<br />
     &#8211; Creating Solaris disk label (VTOC)</p>
<p>Configuring disk (c1t1d0)<br />
     &#8211; Creating Fdisk partition table<br />
     &#8211; Creating Solaris disk label (VTOC)<br />
     &#8211; Creating pool rpool<br />
*** NOW ***<br />
     &#8211; Creating swap zvol for pool rpool<br />
     &#8211; Creating dump zvol for pool rpool</p>
<p>If you hit [Enter] where it says &#8220;*** NOW ***&#8221; you won&#8217;t get your cursor back until the &#8220;Creating dump zvol for pool rpool&#8221; is completed and you can hit [Enter] later than that; but then you&#8217;ll miss a few Mbytes &#8230;</p>
<p>It worked for me but all I got was:</p>
<p>$ zfs get -r compressratio rpool<br />
NAME                    PROPERTY       VALUE                   SOURCE<br />
rpool                   compressratio  1.54x                   -<br />
rpool/ROOT              compressratio  1.65x                   -<br />
rpool/ROOT/snv_90       compressratio  1.65x                   -<br />
rpool/ROOT/snv_90/var   compressratio  1.71x                   -<br />
rpool/dump              compressratio  1.00x                   -<br />
rpool/export            compressratio  1.00x                   -<br />
rpool/export/home       compressratio  1.00x                   -<br />
rpool/export/home/dick  compressratio  1.00x                   -<br />
rpool/swap              compressratio  1.00x                   -</p>
<p>Still I think it was good than it did not compress the swap.</p>
<p>Thanks for the tip!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
