Sponsored Content
Operating Systems Solaris LU - Reverting to original Boot Enviroment Post 302571042 by sonic72 on Saturday 5th of November 2011 05:28:24 PM
Old 11-05-2011
LU - Reverting to original Boot Enviroment

Last week, I created a new BE using lucreate which I was able to successfully boot from and has been working fine sinxe.

I now want to revert to the original BE but luactivate gives me these errors:

Code:
 
# luactivate current_be
ERROR: boot environment <current_be> already mounted on </home/oracle>
ERROR: mount point </.alt.current_be> is already in use
ERROR: failed to create mount point </.alt.current_be> for file system </>
ERROR: cannot mount boot environment by name <current_be>
ERROR: Unable to mount the boot environment <current_be>.

They are indeed mounted which I did notice before but having not used lu before thought it was normal but now not sure. The original BE is on mirrored disks. The new BE is on one 50G slice on just one of those disks. Looking at the directory contents the .alt /home/oracle dir is actually being written to as well as the /home/oracle under the new BE.

df shows the following:

Code:
 
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t1d0s5       49G   8.2G    41G    17%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    15G   1.6M    15G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1
                        49G   8.2G    41G    17%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        49G   8.2G    41G    17%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                    16G   685M    15G     5%    /tmp
swap                    15G    72K    15G     1%    /var/run
/dev/md/dsk/d0          49G   8.2G    41G    17%    /home/oracle
/                       49G   8.2G    41G    17%    /.alt.current_be
/export/home/oracle     49G   8.2G    41G    17%    /home/oracle
/home/oracle            49G   8.2G    41G    17%    /.alt.current_be/home/oracle
/dev/md/dsk/d4         9.9G   369M   9.4G     4%    /.alt.current_be/opt
/dev/md/dsk/d3         3.9G   1.2G   2.7G    30%    /.alt.current_be/var
swap                    15G     0K    15G     0%    /.alt.current_be/var/run
swap                    15G     0K    15G     0%    /.alt.current_be/tmp

What have I done wrong?!

Cheers
Paul
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help! - How do I compile C++ in UNIX Enviroment?

:confused: Hi, does anyone here know how to compile and run C++ in UNIX environment? I am so desperate! Any help is greatly appreciated. Thanks! (3 Replies)
Discussion started by: Kahuashi
3 Replies

2. UNIX for Dummies Questions & Answers

Files in work directory reverting to root ownership

Hi, I have a problem with a Unix server we do not adminster but have an application running on. The problem is that overnight, files in the /user4/work directory revert to root ownership. This causes problems as we cannot process the files. 1) What would be causing files to revert to root... (1 Reply)
Discussion started by: canman
1 Replies

3. UNIX for Dummies Questions & Answers

Enviroment variables...

Hi guys, thanks in advance for this easy answer.... :s Ok I am trying to output the enviroment varable for host in Solaris. I have tried $HOST, $HOST_NAME, $HOSTNAME carn't find it anywhere, does someone want to put me out of my misary and tell me what it is??? :confused: :eek: Thanks... (2 Replies)
Discussion started by: B14speedfreak
2 Replies

4. Shell Programming and Scripting

enviroment settings

What are the environment setting during a cron session? I have HP-UX and I want to send the output/file from a script to several e-mail addresses. I want to create an env-var to store the e-mail addresses in my .profile, but I do not know if it will be visible when a script is executed in a cron. (4 Replies)
Discussion started by: ALTRUNVRSOFLN
4 Replies

5. Solaris

Save enviroment variables

I need to save my enviroment variables,specially the $PATH.When I put it on .cshrc at next reboot I lost the configuration.How can avoid this?Thanks (2 Replies)
Discussion started by: bgf0
2 Replies

6. UNIX for Dummies Questions & Answers

setting enviroment variables help

Hello everyone, I am currently trying to program in java in unix platform for the first time, so far it is OK as long as I use class libraries which come with java distribution. Unfortunately when I try to use external libraries I have to use -classpath option which I rather not doing all the... (1 Reply)
Discussion started by: run123
1 Replies

7. Shell Programming and Scripting

Reverting to system Perl - downgrading

Not how I expected my weekend to go. My redhat server previously had perl 5.8.0 installed on it. Downloading a mysql utility, it asked for that and I blindly installed it. Broke a whole bunch of things. Now I'm hearing that I should revert back to my "system perl" because there may be further... (3 Replies)
Discussion started by: dheian
3 Replies

8. Shell Programming and Scripting

Killing all the process of a particular enviroment

Hi Folks, I have the below command that will kill all the process of an environment, lets say if I have reached to the location cont directory under which I want to kill multiple process so the command will be .... kill -9 `ps -ef | grep cont | grep -v grep | awk '{print $2}'` Now please... (4 Replies)
Discussion started by: punpun66
4 Replies

9. SCO

File permissions reverting back?

After running integrity -e ( may not have done this code thing correctly ) I got the following .io/bootdisk/boot group root should be backup mode 0600 should be 0440 .io/bootdisk/swap group root should be mem ... (3 Replies)
Discussion started by: bigbug
3 Replies

10. Shell Programming and Scripting

Question about enviroment variable.

Hi Gurus, I am stuck on below issue. in my .profile. I have two variable: x=abc$123 t=xyz$ when running env command, I got below: x=abc t=xyz$ my OS is SunOS 5.10 sun4v sparc SUNW,SPARC-Enterprise-T5220 I am wondering why t=xyz$ shows exactly value? I try below: (9 Replies)
Discussion started by: ken6503
9 Replies
lufslist(1M)															      lufslist(1M)

NAME
lufslist - list configuration of a boot environment SYNOPSIS
/usr/sbin/lufslist [-l error_log] [-o outfile] BE_name [-X] DESCRIPTION
The lufslist command is part of a suite of commands that make up the Live Upgrade feature of the Solaris operating environment. See live_upgrade(5) for a description of the Live Upgrade feature. The lufslist command lists the configuration of a boot environment (BE). The output contains the disk slice (file system), file system type, and file system size for each BE mount point. The following is an example of lufslist output. # lufslist BE_name Filesystem fstype size(Mb) Mounted on ------------------------------------------------------------------ /dev/dsk/c0t0d0s1 swap 512.11 - /dev/dsk/c0t4d0s3 ufs 3738.29 / /dev/dsk/c0t4d0s4 ufs 510.24 /opt File system type can be ufs, swap, or vxfs, for a Veritas file system. Under the Filesystem heading can be a disk slice or a logical device, such as a disk metadevice used by volume management software. The lufslist command requires root privileges. OPTIONS
The lufslist command has the following options: -l error_log Error and status messages are sent to error_log, in addition to where they are sent in your current environment. -o outfile All command output is sent to outfile, in addition to where it is sent in your current environment. -X Enable XML output. Characteristics of XML are defined in DTD, in /usr/share/lib/xml/dtd/lu_cli.dtd.<num>, where <num> is the version number of the DTD file. OPERANDS
BE_name Name of the BE for which file systems are to be reported. You cannot specify a BE that is involved in another Live Upgrade operation. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/etc/lutab list of BEs on the system /usr/share/lib/xml/dtd/lu_cli.dtd.<num> Live Upgrade DTD (see -X option) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWluu | +-----------------------------+-----------------------------+ SEE ALSO
lu(1M), luactivate(1M), lucancel(1M), lucompare(1M), lucreate(1M), lucurr(1M), ludelete(1M), ludesc(1M), lumake(1M), lumount(1M), lure- name(1M), lustatus(1M), luupgrade(1M), lutab(4), attributes(5), live_upgrade(5) SunOS 5.10 24 Jan 2002 lufslist(1M)
All times are GMT -4. The time now is 01:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy