live upgrade

Posted on 2013-05-11
Last Modified: 2016-07-05
I have the following file system.

bash-3.2# df -l
/                  (/dev/dsk/c0t0d0s0 ): 9198724 blocks   912413 files
/devices           (/devices          ):       0 blocks        0 files
/system/contract   (ctfs              ):       0 blocks 2147483608 files
/proc              (proc              ):       0 blocks    29922 files
/etc/mnttab        (mnttab            ):       0 blocks        0 files
/etc/svc/volatile  (swap              ): 4206432 blocks   280371 files
/system/object     (objfs             ):       0 blocks 2147483430 files
/etc/dfs/sharetab  (sharefs           ):       0 blocks 2147483646 files
/platform/sun4u-us3/lib/ 9198724 blocks   912413 files
/platform/sun4u-us3/lib/sparcv9/ 9198724 blocks   912413 files
/dev/fd            (fd                ):       0 blocks        0 files
/tmp               (swap              ): 4206432 blocks   280371 files
/var/run           (swap              ): 4206432 blocks   280371 files
/opt               (/dev/dsk/c0t0d0s3 ): 8004378 blocks   489011 files
/export/home       (/dev/dsk/c0t0d0s7 ):10074490 blocks   611516 files

bash-3.2# lucreate -c solenv1 -m /:/dev/dsk/c0t1d0s0:ufs -n solenv2

bash-3.2# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
solenv1                    yes      yes    yes       no     -
solenv2                    yes      no     no        yes    -

Do i need to run another lucreate for /opt and /export/home file system? If so how do i run lucreate again?

I am not quite sure how live update works?
Question by:ittechlab
  • 2
LVL 77

Expert Comment

ID: 39159875
Is solenv2 is a zpool environment?

LVL 16

Accepted Solution

Joseph Gan earned 450 total points
ID: 39159937
You need to run in one go, ie:

# lucreate -c solenv1 -n -m /solenv2 -m/:/dev/dsk/c0t1d0s0:ufs
-m/opt:/dev/dsk/c0t1d0s3:ufs -m/export/home:/devdsk/c0t1d0s7:ufs

After that to activate solenv2:

# luactivate solenv2
Then reboot.

Author Comment

ID: 39179620
i will check now thanks
LVL 16

Expert Comment

by:Joseph Gan
ID: 41690668
Problem resolved by ID: 39159937

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question