Solved

live upgrade

Posted on 2013-05-11
6
10 Views
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/libc_psr.so.1(/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1): 9198724 blocks   912413 files
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1(/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1): 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?
0
Comment
Question by:ittechlab
  • 2
6 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
Is solenv2 is a zpool environment?

VM?
0
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 450 total points
Comment Utility
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.
0
 

Author Comment

by:ittechlab
Comment Utility
i will check now thanks
0
 
LVL 16

Expert Comment

by:Joseph Gan
Comment Utility
Problem resolved by ID: 39159937
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now