Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  16 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dave  
View profile  
 More options Jul 3, 2:20 pm
Newsgroups: comp.unix.solaris
From: Dave <f...@coo.com>
Date: Fri, 03 Jul 2009 19:20:16 +0100
Local: Fri, Jul 3 2009 2:20 pm
Subject: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System
I'm trying to update a machine running Solaris 10 update 4 with a UFS
root file system to one running Solaris 10 update 7 with a ZFS boot file
system.

I've looked at
http://docs.sun.com/app/docs/doc/819-5461/ggrkz?a=view

The example uses the syntax:

# lucreate -c ufs509BE -n zfs509BE -p mpool

done what it said and created a ZFS storage pool with a a slice.

But any attempt to use the above example fails, as lucreate does not
appear to support the -p option on Solaris 10 update 4.

root@t2 # zpool list
NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
rootpool                100G     88K    100G     0%  ONLINE     -
tmppool                24.6G     89K   24.6G     0%  ONLINE     -
root@t2 # lucreate -A "100 GB root on second disk in T2" -n kirkby1 -p
rootpool
ERROR: unknown option -- p
Usage: lucreate -n BE_name [ -A BE_description ] [ -c BE_name ]
         [ -C ( boot_device | - ) ] [ -f exclude_list-file [ -f ... ] ]
[ -I ]
         [ -l error_log-file ] [ -M slice_list-file [ -M ... ] ]
         [ -m mountPoint:devicePath:fsOptions [ -m ... ] ] [ -o out_file ]
         [ -s ( - | source_BE_name ) ] [ -x exclude_dir/file [ -x ... ]
] [ -X ]
         [ -y include_dir/file [ -y ... ] ] [ -Y include_list-file [ -Y
... ] ]
         [ -z filter_list-file ]

In fact, in the lucreate web page, there is not a single reference to
work word 'zfs'. Any ideas of the syntax to upgrade this? The pool is
created on a single slice

root@t2 # zpool status rootpool
   pool: rootpool
  state: ONLINE
  scrub: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         rootpool    ONLINE       0     0     0
           c1t1d0s0  ONLINE       0     0     0

errors: No known data errors
root@t2 #

Any thoughts appreciated.

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange'  take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Live Upgrade to Migrate a UFS Root File System to a ZFS Root FileSystem" by Dave
Dave  
View profile  
 More options Jul 3, 2:25 pm
Newsgroups: comp.unix.solaris
From: Dave <f...@coo.com>
Date: Fri, 03 Jul 2009 19:25:46 +0100
Local: Fri, Jul 3 2009 2:25 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root FileSystem
Dave wrote:

         [ -z filter_list-file ]

> In fact, in the lucreate web page, there is not a single reference to
> work word 'zfs'. Any ideas of the syntax to upgrade this? The pool is
> created on a single slice

I mean I can find no reference in the man-page, not the web-page.

On option is probably to upgrade this using a UFS file system to Solaris
10 update 7, then create a boot environment with a ZFS file system. But
I'm not sure if that is best (or even a suitable) way to accomplish this.
--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange'  take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System" by Gary Mills
Gary Mills  
View profile  
 More options Jul 3, 3:28 pm
Newsgroups: comp.unix.solaris
From: Gary Mills <mi...@cc.umanitoba.ca>
Date: Fri, 3 Jul 2009 19:28:28 +0000 (UTC)
Local: Fri, Jul 3 2009 3:28 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System
In <4a4e4...@212.67.96.135> Dave <f...@coo.com> writes:

>I'm trying to update a machine running Solaris 10 update 4 with a UFS
>root file system to one running Solaris 10 update 7 with a ZFS boot file
>system.

Did you begin by installing the Live Upgrade packages and patches
from S10 update 7?  Typically, you cd to this directory on the
update 7 install image:

    Solaris_10/Tools/Installers

and then run this command:

    # ./liveupgrade20 -nodisplay -noconsole

--
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ronald Kuehn  
View profile  
 More options Jul 3, 3:29 pm
Newsgroups: comp.unix.solaris
From: Ronald Kuehn <ronald.ku...@sun.com>
Date: Fri, 3 Jul 2009 19:29:45 +0000 (UTC)
Local: Fri, Jul 3 2009 3:29 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System

Dave <f...@coo.com> writes:
> I'm trying to update a machine running Solaris 10 update 4 with a UFS
> root file system to one running Solaris 10 update 7 with a ZFS boot file
> system.
[...]
> In fact, in the lucreate web page, there is not a single reference to
> work word 'zfs'. Any ideas of the syntax to upgrade this? The pool is
> created on a single slice

Hi,

the upgrade to ZFS root requires support in the tools (live upgrade
tools, package tools etc. and in ZFS). This feature was introduced in S10U6
so you need to be running S10U6 or higher (or equiv. patches)
to upgrade to a ZFS root. If you run older code the upgrade needs to
be done in two steps:

1. upgrade to S10U6 (or S10U7) with UFS root
2. create the root pool and use "lucreate -n <name> -p <pool>" to
   actually move to ZFS root

Ronald
--
* The whole problem with the world is that fools and fanatics are always
* so certain of themselves, but wiser people so full of doubts.
*                                                     --Bertrand Russell


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave  
View profile  
 More options Jul 3, 3:48 pm
Newsgroups: comp.unix.solaris
From: Dave <f...@coo.com>
Date: Fri, 03 Jul 2009 20:48:43 +0100
Local: Fri, Jul 3 2009 3:48 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System

No, I did not. Is this method documented anywhere you know of?

However, i think I'll use the method suggested by Ronald Knuth to do
this in two stages - part of the reason for using the live upgrade is it
avoids possible issues with installing patches.  Though slower, it is
probably the less risky.

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange'  take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Collins  
View profile  
 More options Jul 3, 5:22 pm
Newsgroups: comp.unix.solaris
From: Ian Collins <ian-n...@hotmail.com>
Date: Sat, 04 Jul 2009 09:22:52 +1200
Local: Fri, Jul 3 2009 5:22 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System

Dave wrote:

> However, i think I'll use the method suggested by Ronald Knuth to do
> this in two stages - part of the reason for using the live upgrade is it
> avoids possible issues with installing patches.  Though slower, it is
> probably the less risky.

It is the *only* way you should attempt the UFS->ZFS migration!

Create the pool after you upgrade and make sure you use a mirror!

Recovering a damaged single volume ZFS pool is much harder than
recovering a single volume UFS filesystem.

--
Ian Collins


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Live Upgrade to Migrate a UFS Root File System to a ZFS RootFile System" by Dave
Dave  
View profile  
 More options Jul 3, 7:48 pm
Newsgroups: comp.unix.solaris
From: Dave <f...@coo.com>
Date: Sat, 04 Jul 2009 00:48:45 +0100
Local: Fri, Jul 3 2009 7:48 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS RootFile System

Ian Collins wrote:
> Dave wrote:

>> However, i think I'll use the method suggested by Ronald Knuth to do
>> this in two stages - part of the reason for using the live upgrade is
>> it avoids possible issues with installing patches.  Though slower, it
>> is probably the less risky.

> It is the *only* way you should attempt the UFS->ZFS migration!

OK, thanks for that. It seemed the least risky. way.

> Create the pool after you upgrade and make sure you use a mirror!

Unfortunately, I can't use a mirror until I am able to delete the
original boot environment. I don't have another disk. At the minute, the
machine has a 15 GB root file system on one disk, and nothing else. A
second disk has is not used at all.

My plan it to do a live upgrade to 7 onto a clean disk, and give that a
try to see if there are any major issues. Once I'm happy with the new
boot environment (S10u7 ZFS), I'll delete the original boot environment
(S10u4 UFS) and use the disk as a mirror.

This should be a lot better than the current setup, which is one UFS
root file system with no mirror and a second disk unused. 15 GB is used
out of a total of almost 300 GB (a pair of 147 GB disks).

I've moved things like /usr/local into remote file systems. Some other
stuff people have stuff in /opt I am not going to bother restoring, as
I'm not convinced any of it is very useful.

> Recovering a damaged single volume ZFS pool is much harder than
> recovering a single volume UFS filesystem.

Yes, I'm aware of that. Especially since you can't read a newer version
of ZFS on a machine not supporting that newer version. At least with
UFS, you can read it on just about any Solaris box.

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange'  take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System" by ITguy
ITguy  
View profile  
 More options Jul 3, 11:40 pm
Newsgroups: comp.unix.solaris
From: ITguy <southa...@gmail.com>
Date: Fri, 3 Jul 2009 20:40:56 -0700 (PDT)
Local: Fri, Jul 3 2009 11:40 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System

> > Did you begin by installing the Live Upgrade packages and patches
> > from S10 update 7?  Typically, you cd to this directory on the
> > update 7 install image:

> >     Solaris_10/Tools/Installers

> > and then run this command:

> >     # ./liveupgrade20 -nodisplay -noconsole

> No, I did not. Is this method documented anywhere you know of?

This has always been the recommended practice.

"The release of the Solaris Live Upgrade packages must match the
release of the OS you are upgrading to. For example, if your current
OS is the Solaris 9 release and you want to upgrade to the Solaris 10
6/06 release, you need to install the Solaris Live Upgrade packages
from the Solaris 10 6/06 release."  -  http://docs.sun.com/app/docs/doc/819-5777/6n7raicl3


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Bradshaw  
View profile  
 More options Jul 4, 2:59 am
Newsgroups: comp.unix.solaris
From: Tim Bradshaw <t...@tfeb.org>
Date: Sat, 4 Jul 2009 07:59:25 +0100
Local: Sat, Jul 4 2009 2:59 am
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System
On 2009-07-03 20:48:43 +0100, Dave <f...@coo.com> said:

> No, I did not. Is this method documented anywhere you know of?

When using LU you must always use the LU packages from the OS you are
upgrading *to*. So, for instance, if you are migrating from 8 to 10,
the first thing you should do is remove any LU packages on the system,
and install those that came with the 10 release you are upgrading to
(and any patches for them).

This sounds weird until you think about what LU does.  And yes, it is
the documented, official way to do this.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave  
View profile  
 More options Jul 4, 9:41 pm
Newsgroups: comp.unix.solaris
From: Dave <f...@coo.com>
Date: Sun, 05 Jul 2009 02:41:00 +0100
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System

Thank you. That document looks quite old (Solaris 10 6/06 Installation
Guide) so I assume I need to remove than the two packages mentioned
there (SUNWlur SUNWluu)

I decided to try this on one of my own machines, which happens to have
the same release of Solaris 10 (update 4) of the one I really want to
update. Doing a grep of 'live'

# pkginfo | grep -i live
system      SUNWfrlu                         French Live Upgrade
application SUNWlucfg                        Live Upgrade Configuration
application SUNWlur                          Live Upgrade (root)
application SUNWluu                          Live Upgrade (usr)
application SUNWluzone                       Live Upgrade (zones support)

So I assume I need those 5 packages removed, and installed from the
Solaris 10 DVD. (In actual fact, there are no zones, and I don't speak
French, but in theory it's those 5).

I removed those 5 from my own machine, and added them back from the
Solaris 10 DVD. But I get the warning about applying the patches. From
what I can make out, I need at a least 121430 which i can't get, as I
don't have a contract.

I'd be most surprised if the University of Washington, whose machine is
being updated does not have a contract, but I have no idea of who to
contact. If anyone from Sun reading this knows a contact name of who
might have access to patches at the University of Washington, perhaps
they can drop me an email:

Dr. David Kirkby
david.kir...@onetel.net

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange'  take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Mills  
View profile  
 More options Jul 5, 8:19 am
Newsgroups: comp.unix.solaris
From: Gary Mills <mi...@cc.umanitoba.ca>
Date: Sun, 5 Jul 2009 12:19:00 +0000 (UTC)
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System
In <4a500...@212.67.96.135> Dave <f...@coo.com> writes:

The Live Upgrade patches and packages should all be included on
the Solaris 10 DVD.  They're installed by the liveupgrade20 script.
It adds missing packages as well.

--
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave  
View profile  
 More options Jul 5, 12:20 pm
Newsgroups: comp.unix.solaris
From: Dave <f...@coo.com>
Date: Sun, 05 Jul 2009 17:20:43 +0100
Local: Sun, Jul 5 2009 12:20 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System

Thank you.

Some of this Sun documentation gets a bit confusing, as you read one
thing in one place, and another elsewhere. It's difficult to know what
to believe some times. What's current when it is written, is often not
current a year later, but it does not get removed.

I looked in a 'Patches' directory which was empty.

http://www.sun.com/bigadmin/sundocs/articles/lu-patch.jsp

mentions 3 live upgrade patches.

I actually patched one of my own machine from 4 to 7 earlier today as a
test run, without installing the patches. I removed the following from
the update 4 version

system      SUNWfrlu                         French Live Upgrade
application SUNWlucfg                        Live Upgrade Configuration
application SUNWlur                          Live Upgrade (root)
application SUNWluu                          Live Upgrade (usr)
application SUNWluzone                       Live Upgrade (zones support)
system      SUNWbzip                         The bzip compression utility

then adding them back from the update 10 DVD.

It appears to have gone fine, with no problems.

  $ cat /etc/release
                        Solaris 10 5/09 s10s_u7wos_08 SPARC
            Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                         Use is subject to license terms.
                              Assembled 30 March 2009

But I'm not going to take unnecessary risks on the other machine.

I just run the liveupgrade20 script on another machine (Solaris 10
update 4). It appears to run ok, but I don't intending updating that
machine in the near future at least.

I should be able to get access to the latest patches somehow - I noticed
that the patch cluster '121430' was updated to 121430-37 on the 2nd of July,

http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&type=col...

so I assume that is more recent than what's on the Solaris 10u7  DVD.

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange'  take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Casper H. S. Dik  
View profile  
 More options Jul 6, 5:32 am
Newsgroups: comp.unix.solaris
From: Casper H.S. Dik <Casper....@Sun.COM>
Date: 06 Jul 2009 09:32:16 GMT
Local: Mon, Jul 6 2009 5:32 am
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System

Dave <f...@coo.com> writes:
>I removed those 5 from my own machine, and added them back from the
>Solaris 10 DVD. But I get the warning about applying the patches. From
>what I can make out, I need at a least 121430 which i can't get, as I
>don't have a contract.

No, just run this from the DVD:

# ./liveupgrade20 -nodisplay -noconsole

You only need to change SUNWlur and SUNWluu not the rest.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave  
View profile  
 More options Jul 6, 4:17 pm
Newsgroups: comp.unix.solaris
From: Dave <f...@coo.com>
Date: Mon, 06 Jul 2009 21:17:25 +0100
Local: Mon, Jul 6 2009 4:17 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System

Casper H.S. Dik wrote:
> Dave <f...@coo.com> writes:

>> I removed those 5 from my own machine, and added them back from the
>> Solaris 10 DVD. But I get the warning about applying the patches. From
>> what I can make out, I need at a least 121430 which i can't get, as I
>> don't have a contract.

> No, just run this from the DVD:

> # ./liveupgrade20 -nodisplay -noconsole

> You only need to change SUNWlur and SUNWluu not the rest.

> Casper

Thank you.

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange'  take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard B. Gilbert  
View profile  
 More options Jul 6, 4:35 pm
Newsgroups: comp.unix.solaris
From: "Richard B. Gilbert" <rgilber...@comcast.net>
Date: Mon, 06 Jul 2009 16:35:56 -0400
Local: Mon, Jul 6 2009 4:35 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS Root File System
Dave wrote:
> Casper H.S. Dik wrote:
>> Dave <f...@coo.com> writes:

<snip>

 >I respectfully request that this message is not archived by companies >as
 >unscrupulous as 'Experts Exchange' . In case you are unaware,
 >'Experts Exchange'  take questions posted on the web and try to find
 >idiots stupid enough to pay for the answers, which were posted freely
 >by others. They are leeches.

All you really need is your copyright notice!

Copyright 2009
Richard B. Gilbert
All rights reserved.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Live Upgrade to Migrate a UFS Root File System to a ZFS RootFile System" by Dave
Dave  
View profile  
 More options Jul 6, 7:41 pm
Newsgroups: comp.unix.solaris
From: Dave <f...@coo.com>
Date: Tue, 07 Jul 2009 00:41:44 +0100
Local: Mon, Jul 6 2009 7:41 pm
Subject: Re: Live Upgrade to Migrate a UFS Root File System to a ZFS RootFile System

No, since that does not have a dig at Experts Exchange, which is my main
aim in that flippant signature.

In any case, under English law, you get copyright automatically I
believe (I'm not a lawyer I admit). So you don't need to actually claim
copyright on anything you write.

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange'  take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google