<?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: Patching a live Solaris 10 system with LU, ZFS, and PCA</title>
	<atom:link href="http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/feed" rel="self" type="application/rss+xml" />
	<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html</link>
	<description>Linux, Solaris, Puppet, Perl and more. Probably.</description>
	<lastBuildDate>Wed, 19 Oct 2011 16:15:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-15663</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 05 Jun 2011 21:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-15663</guid>
		<description>Erm, yes - fairly obvious really. The ABE is a clone, so you made a snapshot of a point in time. You rebooted one week later, therefore the changes inbetween were lost. If /home and /export were separate zfs filessystems that&#039;d be a different matter.</description>
		<content:encoded><![CDATA[<p>Erm, yes &#8211; fairly obvious really. The ABE is a clone, so you made a snapshot of a point in time. You rebooted one week later, therefore the changes inbetween were lost. If /home and /export were separate zfs filessystems that&#8217;d be a different matter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: satya saranu</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-13423</link>
		<dc:creator>satya saranu</dc:creator>
		<pubDate>Mon, 18 Apr 2011 19:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-13423</guid>
		<description>Hi Mark 

i tried this way for patching. every thing works fine. i patched ABE and after a week i got doen time for my server and activated my ABE and rebooted the server. we lost all the files in /home which are created in these 7 days. all my file systems are under zfs rpool. as far as i know /home and /export are ahred file systems between ABE and CBE. no clue why we miss the recntly generated files in /home.

rpool                                      111G  22.3G    97K  /rpool
rpool/ROOT                                92.1G  22.3G    21K  legacy
rpool/ROOT/sol10u6_ZFS_BE                 16.6G  22.3G  85.2G  /
rpool/ROOT/sol10u9_ZFS_BE                 75.5G  22.3G  74.6G  /.alt.tmp.b-ZRg.nt
rpool/ROOT/sol10u9_ZFS_BE@sol10u9_ZFS_BE   910M      -  74.1G  -
rpool/dump                                2.00G  22.3G  2.00G  -
rpool/swap                                16.5G  38.8G    16K  -

my OS version is 
  Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
     Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
                            Assembled 11 August 2010

any sugessions and help would we appriciated</description>
		<content:encoded><![CDATA[<p>Hi Mark </p>
<p>i tried this way for patching. every thing works fine. i patched ABE and after a week i got doen time for my server and activated my ABE and rebooted the server. we lost all the files in /home which are created in these 7 days. all my file systems are under zfs rpool. as far as i know /home and /export are ahred file systems between ABE and CBE. no clue why we miss the recntly generated files in /home.</p>
<p>rpool                                      111G  22.3G    97K  /rpool<br />
rpool/ROOT                                92.1G  22.3G    21K  legacy<br />
rpool/ROOT/sol10u6_ZFS_BE                 16.6G  22.3G  85.2G  /<br />
rpool/ROOT/sol10u9_ZFS_BE                 75.5G  22.3G  74.6G  /.alt.tmp.b-ZRg.nt<br />
rpool/ROOT/sol10u9_ZFS_BE@sol10u9_ZFS_BE   910M      &#8211;  74.1G  -<br />
rpool/dump                                2.00G  22.3G  2.00G  -<br />
rpool/swap                                16.5G  38.8G    16K  -</p>
<p>my OS version is<br />
  Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC<br />
     Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.<br />
                            Assembled 11 August 2010</p>
<p>any sugessions and help would we appriciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dariusz dolecki</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-6501</link>
		<dc:creator>dariusz dolecki</dc:creator>
		<pubDate>Sun, 24 Oct 2010 23:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-6501</guid>
		<description>Someone suggested I follow the instructions they got when they did a liveupgrade:

Hi Dariusz,

Below are the messages I get after running luactivate, indicating how to boot back to the old BE, my old BE was called sol10u8, so substitute your BE name:

----------------------
In case of a failure while booting to the target BE, the following process
needs to be followed to fallback to the currently working boot environment:

1. Boot from the Solaris failsafe or boot in Single User mode from Solaris
Install CD or Network.

2. Mount the Parent boot environment root slice to some directory (like
/mnt). You can use the following commands in sequence to mount the BE:

    zpool import rpool rpool
    zfs inherit -r mountpoint rpool/ROOT/sol10u8 rpool/ROOT/sol10u8
    zfs set mountpoint= rpool/ROOT/sol10u8 rpool/ROOT/sol10u8
    zfs mount rpool/ROOT/sol10u8 rpool/ROOT/sol10u8

3. Run  utility with out any arguments from the Parent boot
environment root slice, as shown below:

    /sbin/luactivate

4. luactivate, activates the previous working boot environment and
indicates the result.

5. Exit Single User mode and reboot the machine.

-------------------------

Now, I tried those instructions, but got the following error message:

cd /mnt/usr/sbin
./luactivate
luactivate: The system is in single user more.

Welcome to the Live Upgrade out of service administration.
Activating the previous working boot environment.

*************************************************************
Unable to activate the previous working boot environment. You have not
mounted the correct root slice containing the previous working boot
environment to be activated. Please mount the proper root slice and
re-invoke luactivate
*****************************************************************

Fallback activation failed.</description>
		<content:encoded><![CDATA[<p>Someone suggested I follow the instructions they got when they did a liveupgrade:</p>
<p>Hi Dariusz,</p>
<p>Below are the messages I get after running luactivate, indicating how to boot back to the old BE, my old BE was called sol10u8, so substitute your BE name:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
In case of a failure while booting to the target BE, the following process<br />
needs to be followed to fallback to the currently working boot environment:</p>
<p>1. Boot from the Solaris failsafe or boot in Single User mode from Solaris<br />
Install CD or Network.</p>
<p>2. Mount the Parent boot environment root slice to some directory (like<br />
/mnt). You can use the following commands in sequence to mount the BE:</p>
<p>    zpool import rpool rpool<br />
    zfs inherit -r mountpoint rpool/ROOT/sol10u8 rpool/ROOT/sol10u8<br />
    zfs set mountpoint= rpool/ROOT/sol10u8 rpool/ROOT/sol10u8<br />
    zfs mount rpool/ROOT/sol10u8 rpool/ROOT/sol10u8</p>
<p>3. Run  utility with out any arguments from the Parent boot<br />
environment root slice, as shown below:</p>
<p>    /sbin/luactivate</p>
<p>4. luactivate, activates the previous working boot environment and<br />
indicates the result.</p>
<p>5. Exit Single User mode and reboot the machine.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Now, I tried those instructions, but got the following error message:</p>
<p>cd /mnt/usr/sbin<br />
./luactivate<br />
luactivate: The system is in single user more.</p>
<p>Welcome to the Live Upgrade out of service administration.<br />
Activating the previous working boot environment.</p>
<p>*************************************************************<br />
Unable to activate the previous working boot environment. You have not<br />
mounted the correct root slice containing the previous working boot<br />
environment to be activated. Please mount the proper root slice and<br />
re-invoke luactivate<br />
*****************************************************************</p>
<p>Fallback activation failed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dariusz dolecki</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-6496</link>
		<dc:creator>dariusz dolecki</dc:creator>
		<pubDate>Sun, 24 Oct 2010 19:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-6496</guid>
		<description>I am running Solaris 10 with zfs mirrored drives, I tried to patch the drives but had some issues, so I did per the instructions here....I booted of the net into single user mode and tried to mount one of the drives to do an luactivate to get the previous BE, but I got the following error message:

cannot open &#039;/dev/dsk/c0t0d0s0&#039;: invalid dataset name

is this because the drives were mirrored in zfs?</description>
		<content:encoded><![CDATA[<p>I am running Solaris 10 with zfs mirrored drives, I tried to patch the drives but had some issues, so I did per the instructions here&#8230;.I booted of the net into single user mode and tried to mount one of the drives to do an luactivate to get the previous BE, but I got the following error message:</p>
<p>cannot open &#8216;/dev/dsk/c0t0d0s0&#8242;: invalid dataset name</p>
<p>is this because the drives were mirrored in zfs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: need assistance using live upgrade to patch a zfs server. - The UNIX and Linux Forums</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-4306</link>
		<dc:creator>need assistance using live upgrade to patch a zfs server. - The UNIX and Linux Forums</dc:creator>
		<pubDate>Fri, 25 Jun 2010 16:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-4306</guid>
		<description>[...] following pages and learned a lot...  How to make and mount a clone of the BE to apply patches to: Patching a live Solaris 10 system with LU, ZFS, and PCA &#124; Probably  Some basics of live upgrade: 11.Maintaining Solaris Live Upgrade Boot Environments (Tasks) [...]</description>
		<content:encoded><![CDATA[<p>[...] following pages and learned a lot&#8230;  How to make and mount a clone of the BE to apply patches to: Patching a live Solaris 10 system with LU, ZFS, and PCA | Probably  Some basics of live upgrade: 11.Maintaining Solaris Live Upgrade Boot Environments (Tasks) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-4298</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 24 Jun 2010 19:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-4298</guid>
		<description>Unfortunately I can&#039;t help you there James, sorry. I&#039;m always working on machines with an enterprise subscription to SunSolve (lucky me).</description>
		<content:encoded><![CDATA[<p>Unfortunately I can&#8217;t help you there James, sorry. I&#8217;m always working on machines with an enterprise subscription to SunSolve (lucky me).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James DeRose</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-4297</link>
		<dc:creator>James DeRose</dc:creator>
		<pubDate>Thu, 24 Jun 2010 19:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-4297</guid>
		<description>my only problem now is that i&#039;m getting &quot;Error 403&quot; on 297 of the patches that I need.  I have two contracts listed in the sunsolve page that I added this afternoon.  One of them, I think, is expired.  I added that one first.  Now it&#039;s telling me that I have access to:

Solaris9SoftwareUpdates
Solaris10SoftwareUpdates
ContractRequired
OpenSolarisProductionPackage
Solaris8SoftwareUpdates
HardwareUpdates
SolarisSoftwareUpdates
Public  

but i&#039;m still getting 403.  (I got 7, i think, successful the first time I ran it.  These 297 were the ones that 403&#039;ed the first time)  Have any idea if it takes some time for Sun to update everything?  The machine I&#039;m working on does NOT have a contract, by the way.  It&#039;s our test machine (prepping for the patching on the contracted machine tomorrow)  Perhaps sunsolve knows the machine&#039;s serial?  I know this isn&#039;t your area, but figured i&#039;d ask in case you had any experience with it.

-James</description>
		<content:encoded><![CDATA[<p>my only problem now is that i&#8217;m getting &#8220;Error 403&#8243; on 297 of the patches that I need.  I have two contracts listed in the sunsolve page that I added this afternoon.  One of them, I think, is expired.  I added that one first.  Now it&#8217;s telling me that I have access to:</p>
<p>Solaris9SoftwareUpdates<br />
Solaris10SoftwareUpdates<br />
ContractRequired<br />
OpenSolarisProductionPackage<br />
Solaris8SoftwareUpdates<br />
HardwareUpdates<br />
SolarisSoftwareUpdates<br />
Public  </p>
<p>but i&#8217;m still getting 403.  (I got 7, i think, successful the first time I ran it.  These 297 were the ones that 403&#8242;ed the first time)  Have any idea if it takes some time for Sun to update everything?  The machine I&#8217;m working on does NOT have a contract, by the way.  It&#8217;s our test machine (prepping for the patching on the contracted machine tomorrow)  Perhaps sunsolve knows the machine&#8217;s serial?  I know this isn&#8217;t your area, but figured i&#8217;d ask in case you had any experience with it.</p>
<p>-James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James DeRose</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-4296</link>
		<dc:creator>James DeRose</dc:creator>
		<pubDate>Thu, 24 Jun 2010 19:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-4296</guid>
		<description>Thanks for the snappy replies, Mark!  I&#039;ll be reading through your other blog entries as you seem to be doing a lot of the same tasks as me.

thanks again for your help!
-james</description>
		<content:encoded><![CDATA[<p>Thanks for the snappy replies, Mark!  I&#8217;ll be reading through your other blog entries as you seem to be doing a lot of the same tasks as me.</p>
<p>thanks again for your help!<br />
-james</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-4295</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 24 Jun 2010 19:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-4295</guid>
		<description>Yep, perfectly sensible way of working James. The beauty of snapshots is they don&#039;t take up much space either.</description>
		<content:encoded><![CDATA[<p>Yep, perfectly sensible way of working James. The beauty of snapshots is they don&#8217;t take up much space either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James DeRose</title>
		<link>http://probably.co.uk/patching-a-live-solaris-10-system-with-lu-zfs-and-pca.html/comment-page-1#comment-4294</link>
		<dc:creator>James DeRose</dc:creator>
		<pubDate>Thu, 24 Jun 2010 19:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=189#comment-4294</guid>
		<description>Thanks Mark!

I think the best use of this, for me, would be to have my first step be something like this:

lucreate -n patched20100623

Then if I patch next month, have it be:
lucreate -n patched20100723

etc.  that way I have specific places to roll back to.  Does this make any sense?  We have plenty of disk space, so i&#039;m not worried about having zfs snapshots pile up.  I was just a little confused about permanently booting off a snapshot.  ZFS is a little new to us, and I thought I had it all figured out, but this struck me a little funny.

Bottom line, though, is that it&#039;s perfectly fine to leave it booting to that &quot;patching&quot; snapshot?  And the next time I do the same thing it will create a new patching snapshot from the one I just patched?

-James</description>
		<content:encoded><![CDATA[<p>Thanks Mark!</p>
<p>I think the best use of this, for me, would be to have my first step be something like this:</p>
<p>lucreate -n patched20100623</p>
<p>Then if I patch next month, have it be:<br />
lucreate -n patched20100723</p>
<p>etc.  that way I have specific places to roll back to.  Does this make any sense?  We have plenty of disk space, so i&#8217;m not worried about having zfs snapshots pile up.  I was just a little confused about permanently booting off a snapshot.  ZFS is a little new to us, and I thought I had it all figured out, but this struck me a little funny.</p>
<p>Bottom line, though, is that it&#8217;s perfectly fine to leave it booting to that &#8220;patching&#8221; snapshot?  And the next time I do the same thing it will create a new patching snapshot from the one I just patched?</p>
<p>-James</p>
]]></content:encoded>
	</item>
</channel>
</rss>

