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
lutab(4)																  lutab(4)

NAME
lutab - list of boot environments SYNOPSIS
/etc/lutab DESCRIPTION
The file /etc/lutab is a list of the boot environments (BEs) configured on a system. There are two entries for each BE. These entries have the following form: BE_id:BE_name:completion_flag:0 BE_id:root_slice:root_device:1 The fields in the lutab entries are described as follows: BE_id A unique, internally generated id for a BE. BE_name The user-assigned name of a BE. completion_flag Indicates whether the BE is complete (C) or incomplete (NC). A complete BE is one that is not involved in any copy or upgrade operation. A BE can be activated or compared only when it is complete. 0 Indicates first of two lines. BE_id As described above. root_slice Designation of the root slice. root_device Device on which the root slice is mounted. 1 Indicates second of two lines. The lutab file must not be edited by hand. Any user modification to this file will result in the incorrect operation of live upgrade. SEE ALSO
lu(1M), luactivate(1M), lucreate(1M), lucurr(1M), lufslist(1M), lustatus(1M), luupgrade(1M), attributes(5), live_upgrade(5) WARNINGS
The lutab file is not a public interface. The format and contents of lutab are subject to change. Use lufslist(1M) and lustatus(1M) to obtain information about BEs. SunOS 5.10 8 Jun 2001 lutab(4)
All times are GMT -4. The time now is 02:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy