Sponsored Content
Operating Systems Solaris LU - Reverting to original Boot Enviroment Post 302571345 by sonic72 on Monday 7th of November 2011 07:47:33 AM
Old 11-07-2011
Code:
 
# lufslist current_be
               boot environment name: current_be
Filesystem              fstype    device size Mounted on          Mount Options
----------------------- -------- ------------ ------------------- --------------
/dev/md/dsk/d1          swap      17182949376 -                   -
/dev/md/dsk/d0          ufs       21476081664 /                   -
/dev/md/dsk/d3          ufs        4303552512 /var                -
/dev/md/dsk/d4          ufs       10743250944 /opt                -

 
# lufslist Solaris10_910_be
               boot environment name: Solaris10_910_be
               This boot environment is currently active.
               This boot environment will be active on next system boot.
Filesystem              fstype    device size Mounted on          Mount Options
----------------------- -------- ------------ ------------------- --------------
/dev/md/dsk/d1          swap      17182949376 -                   -
/dev/dsk/c1t1d0s5       ufs       53695414272 /                   -
/dev/md/dsk/d0          ufs       21476081664 /home/oracle        -

As you can see, I've posted the lufslist output for both BEs. To me, current_be looks ok but I'm concerned that the Solaris10_9_10_be has /home/oracle mounted on it and is pointing /dev/md/dsk/d0 which is the location of root filesystem

The output from luumount:
Code:
# luumount current_be
ERROR: boot environment <current_be> is not mounted

Indeed the 'alt.current_be..' filesystems are not mounted. I guess it mounts these when I do luactivate?

Thanks
Paul

---------- Post updated at 12:47 PM ---------- Previous update was at 12:02 PM ----------

Hello again

I did try luactivate current_be on the off-chance and got slighlty different output:

Code:
 
# luactivate current_be
A Live Upgrade Sync operation will be performed on startup of boot environment <current_be>.
ERROR: boot environment <current_be> is not mounted
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 determine the configuration of the target boot environment <current_be>.

The df command does return the '.alt.current_be...' filesystems but I can't unmount with luumount. I can however unmount with umount.
 

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
All times are GMT -4. The time now is 04:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy