Solved

live upgrade

Posted on 2013-05-11
6
12 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 77

Expert Comment

by:arnold
ID: 39159875
Is solenv2 is a zpool environment?

VM?
0
 
LVL 16

Accepted Solution

by:
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.
0
 

Author Comment

by:ittechlab
ID: 39179620
i will check now thanks
0
 
LVL 16

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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.

929 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

11 Experts available now in Live!

Get 1:1 Help Now