Solved

live upgrade

Posted on 2013-05-11
6
18 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 78

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
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.:

728 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