lucreate error


 
Thread Tools Search this Thread
Operating Systems Solaris lucreate error
# 1  
Old 10-08-2009
lucreate error

Hello,

On solaris 10, trying to run lucreate as below,

Code:
 lucreate -c Solaris10 -n Solaris10_lu -m /:/dev/dsk/c0t2d0s0:ufs -m -:/dev/dsk/c0t2d0s1:swap -m /export/home:/dev/dsk/c0t2dufs7

but it's resulting in an error as below,
Code:
Discovering physical storage devices
Discovering logical storage devices
Cross referencing storage devices with boot environment configurations
Determining types of file systems supported
Validating file system requests
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Analyzing system configuration.
Comparing source boot environment <Solaris10> file systems with the file 
system(s) you specified for the new boot environment. Determining which 
file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
reading tag: invalid character <1> (0x31) before start of tag
ERROR: Cannot delete existing filters for new boot environment.

-bash-3.00# lustatus -X
Code:
<response success="yes" resultCode="0">
<beStatus name="Solaris10" complete="yes" active="yes" activeOnReboot="yes" busy="no" status="" deletable="no" mounted="yes" mountPoint="/" source="bebasic-GetBootEnvStatusService"/>
<message newlineAtEnd="yes" type="general" message="Boot Environment           Is       Active Active    Can    Copy      "/>
<message newlineAtEnd="yes" type="general" message="Name                       Complete Now    On Reboot Delete Status    "/>
<message newlineAtEnd="yes" type="general" message="-------------------------- -------- ------ --------- ------ ----------"/>
<message newlineAtEnd="yes" type="general" message="Solaris10                  yes      yes    yes       no     -         "/>

uname -a
Code:
SunOS hostname 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-100


-bash-3.00# prtvtoc /dev/dsk/c0t0d0s2
Code:
* /dev/dsk/c0t0d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      63 sectors/track
*      16 tracks/cylinder
*    1008 sectors/cylinder
*   29651 cylinders
*   29649 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00    3096576  18398016  21494591   /
       1      3    01          0   3096576   3096575
       2      5    00          0  29886192  29886191
       7      8    00   21494592   8391600  29886191   /export/home

-bash-3.00# prtvtoc /dev/dsk/c0t2d0s2
Code:
* /dev/dsk/c0t2d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      63 sectors/track
*      16 tracks/cylinder
*    1008 sectors/cylinder
*   29651 cylinders
*   29649 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00    3096576  18398016  21494591
       1      3    01          0   3096576   3096575
       2      5    00          0  29886192  29886191
       7      8    00   21494592   8391600  29886191

pkginfo -l SUNWlucfg SUNWlur SUNWluu

Code:
VERSION:  11.10,REV=2007.03.09.13.13
VERSION:  11.10,REV=2005.01.10.00.03
VERSION:  11.10,REV=2005.01.10.00.03

respectively

Any ideas what's messing up lucreate?

Please help.
Thanks.

---------- Post updated 10-08-09 at 09:33 AM ---------- Previous update was 10-07-09 at 03:46 PM ----------

Ok I managed to redo everything and create a new BE which is copy of active BE and new BE is patched using solaris-10-recommended patch cluster

I am not able to activate it though,


-bash-3.00# luactivate Solaris10_lu
Code:
A Live Upgrade Sync operation will be performed on startup of boot environment <Solaris10_lu>.
ERROR: <706> required packages are not installed on boot environment <Solaris10_lu>.
INFORMATION: </var/sadm/system/data/packages_to_be_added> on boot 
environment <Solaris10_lu> contains a list of required packages that are 
not installed. The boot environment is missing required packages. This 
might be the result of an upgrade operation that failed or that is 
incomplete. If the boot environment was upgraded using a multiple media 
distribution, for example the Solaris CD media, you must continue the 
upgrade process until it is fully completed. Failure to complete the 
upgrade process with all media of the software distribution makes the boot 
environment unstable.
ERROR: Unable to activate boot environment <Solaris10_lu>.

lustatus
Code:
Boot Environment           Is       Active Active    Can    Copy      
Name                       Complete Now    On Reboot Delete Status    
-------------------------- -------- ------ --------- ------ ----------
c0t0d0s0                   yes      yes    yes       no     -         
Solaris10_lu               yes      no     no        yes    -

Now, I don't really understand why are there more packages required to be installed in new BE when it is already a copy of currently active BE and also patched with patch cluster?

Any idea?

Thanks.Smilie

Last edited by upengan78; 10-08-2009 at 05:38 PM..
# 2  
Old 10-08-2009
I'm not sure what caused this error, but the first thing to do to fix it is to look at /var/sadm/system/data/packages_to_be_added and see exactly which package(s) are missing. Then check the BE you copied to see if they are there. If not you have your answer, add them to the BE and do your copy again. If they are there then it's a matter of figuring out why they didn't copy to the new BE correctly.
# 3  
Old 10-08-2009
Quote:
Originally Posted by rhfrommn
I'm not sure what caused this error, but the first thing to do to fix it is to look at /var/sadm/system/data/packages_to_be_added and see exactly which package(s) are missing. Then check the BE you copied to see if they are there. If not you have your answer, add them to the BE and do your copy again. If they are there then it's a matter of figuring out why they didn't copy to the new BE correctly.
Hi rhfrommn,

I did check the " /var/sadm/system/data/packages_to_be_added " file but it was a huge list - about 700 packages. In the original BE they are not there. I wonder why luactivate demands those packages.

Now let me tell you what I did next,

Quote:
ludelete Solaris10_lu

lucreate -c c0t0d0 -n Solaris10_lu -m /:/dev/dsk/c0t2d0s0:ufs -m -:/dev/dsk/c0t2d0s1:swap -m /export/home:/dev/dsk/c0t2dufs7

Mount solaris cd /mnt/cdrom

luupgrade -u -n Solaris10_lu -s /mnt/cdrom/
last command got executed successfully,
Quote:
luactivate solaris10_lu
this command now worked and it did activate Solaris10_lu BE. However it did show an error for only 1 package. I did not careto check which package because new BE is active.

Quote:
init 6 and there you go my new BE came up fine..
Now funny thing is when I wanted to go back to original BE- c0t0d0, I ran

luactivate c0t0d0 and I still see 700 package list and activation failed

then I went to ok prompt and did
Quote:
ok setenv boot-device /pci@1f,0/ide@d/disk@0,0:a

boot
it brought up original BE - c0t0d0, so this means that 700 packages which luactivate complains about is a bug and this 700 package requirement should not be mandatory if BE can boot anyways if you do setenv, so I am sure if I had setenv for Solaris10_lu BE then it would have booted just fine..

Last edited by upengan78; 10-08-2009 at 03:18 PM..
# 4  
Old 10-08-2009
@upengan78

can you please use "code" tags instead of "quote" tags? code tags are on the # button!
# 5  
Old 10-08-2009
Quote:
Originally Posted by DukeNuke2
@upengan78

can you please use "code" tags instead of "quote" tags? code tags are on the # button!
Code:
Yes Sir, as you say!:b:

# 6  
Old 10-08-2009
Glad you got it working. I agree, that is pretty suspicious behavior and seems like a bug. If you have Sun support might be worth reporting it as a low priority ticket so they know about it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Print Error in Console and both Error & Output in Log file - UNIX

I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error. #! /bin/sh errExit () { errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies

2. UNIX for Beginners Questions & Answers

Lucreate Fails to Create Boot Environment;

My OS solarius 5.10 Generic_147148-2 i86 Error: please review new boots environments using options 1. Solution - show me the commands Partition is full, try to remove some unneeded files, then try to compress some other unneeded files. man command creates a temp file under... (0 Replies)
Discussion started by: zbest1966
0 Replies

3. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

4. Solaris

Copying disk - dd or lucreate?

Got server that I want to have an 'image' of disk to keep in case of failure. What I want to be able to do is, in the event of disk failure, remove system disk replace with cloned disk (same slot) and reboot. Trouble is I cant take this server down to single user. Is dd still a viable... (6 Replies)
Discussion started by: psychocandy
6 Replies

5. UNIX for Dummies Questions & Answers

> 5 ")syntax error: operand expected (error token is " error

im kinda new to shell scripting so i need some help i try to run this script and get the error code > 5 ")syntax error: operand expected (error token is " the code for the script is #!/bin/sh # # script to see if the given value is correct # # Define errors ER_AF=86 # Var is... (4 Replies)
Discussion started by: metal005
4 Replies

6. Solaris

Sun Live Upgrade - lucreate fails

Hi, I currently have one BE and would like to create an ABE. # lustatus BE_name Complete Active ActiveOnReboot CopyStatus ------------------------------------------------------------------------ coolthreads yes yes yes - But... (3 Replies)
Discussion started by: pgarousi
3 Replies

7. Solaris

failure in lucreate

Earlier live upgrade from solaris 8 to solaris 10 5/08 was not permitted . Later by document 250526 dated Feb 2009 , it permitted and fllowing s8p7zip.tar and following solution 206844 . While installing SUNWluu,SUNWlur,SUNWlucfg , I had a partial failure . But pkginfo shows the information... (5 Replies)
Discussion started by: Hitesh Shah
5 Replies

8. AIX

nim mksysb error :/usr/bin/savevg[33]: 1016,07: syntax error

-------------------------------------------------------------------------------- Hello, help me please. I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? : Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies

9. UNIX for Dummies Questions & Answers

awk Shell Script error : "Syntax Error : `Split' unexpected

hi there i write one awk script file in shell programing the code is related to dd/mm/yy to month, day year format but i get an error please can anybody help me out in this problem ?????? i give my code here including error awk ` # date-month -- convert mm/dd/yy to month day,... (2 Replies)
Discussion started by: Herry
2 Replies

10. UNIX for Dummies Questions & Answers

Error: Internal system error: Unable to initialize standard output file

Hey guys, need some help. Running AIX Version 5.2 and one of our cron jobs is writing errors to a log file. Any ideas on the following error message. Error: Internal system error: Unable to initialize standard output file I'm guessing more info might be needed, so let me know. Thanks (2 Replies)
Discussion started by: firkus
2 Replies
Login or Register to Ask a Question