I'm sorry but this isn't really the place for Solaris questions.
OpenSolaris is the opensource operating system based on Solaris 10.
You might try the support forums at the Sun website.

On 11/27/05, tanu <[EMAIL PROTECTED]> wrote:
> Can someone please help me on this .
>
> Issue 1:
>
> As per the Live Upgrade documentation, the -s option with - allows the 
> alternate boot environment to be created without being cloned from another 
> system. The use of this option is for a flash archive installation (which is 
> what we use). Unfortunately this option does not work. After the lucreate is 
> complete the new BE is not marked as complete, as such many follow on 
> commands will not work.
>
> For instance, issuing an lustatus for the new BE results in a failure; 
> however issuing an lustatus without any BEs specified works fine. Also 
> attempting to luupgrade the new BE with the flash archive fails.
>
> The logs are as below:
>
> $ /usr/sbin/lucreate -s - -m /:/dev/dsk/c2t0d0s0:ufs -m 
> /opt:/dev/dsk/c2t0d0s1:ufs -m /var:/dev/dsk/c2t0d0s3:ufs -m 
> /opt/LC/dfms:/dev/dsk/c2t0d0s4:ufs -m /opt/oracle:/dev/dsk/c2t0d0s5:ufs -m 
> /opt/oracle/backup:/dev/dsk/c2t0d0s6:ufs -m -:/dev/dsk/c2t0d0s7:swap -n 
> "Side1"
>
> Please wait while your system configuration is determined.
>
> Determining what file systems should be in the new BE.
>
>
>
> Searching /dev for possible BE filesystem devices
>
>
>
> Please wait while the configuration files are updated.
>
> Creation of Boot Environment <Side1> successful.
>
>
>
> $ lustatus
>
> BE_name                     Complete  Active  ActiveOnReboot  CopyStatus
>
> ------------------------------------------------------------------------
>
> Side2                       yes       yes     yes             -
>
> Side1                       no        no      no              ACTIVE
>
>
>
> $ lustatus Side1
>
> ERROR: The Boot Environment <Side1> is not Complete.
>
> ERROR: Unable to retrieve configuration of boot environment <Side1>.
>
> USAGE: lustatus [-l error_log] [-o outfile] ( [-n] "BE_name" )
>
> WARNING: The BE_name should be enclosed in double quotes.
>
>
>
> $ lustatus ?Side1?
>
> ERROR: The Boot Environment <Side1> is not Complete.
>
> ERROR: Unable to retrieve configuration of boot environment <Side1>.
>
> USAGE: lustatus [-l error_log] [-o outfile] ( [-n] "BE_name" )
>
> WARNING: The BE_name should be enclosed in double quotes.
>
>
>
> $ /usr/sbin/lufslist "Side1"
>
> ERROR: The Boot Environment <Side1> is not Complete.
>
> ERROR: Unable to retrieve configuration of boot environment <Side1>.
>
> USAGE: lufslist [-l error_log] [-o outfile] ( [-n] "BE_name" )
>
> WARNING: The BE_name should be enclosed in double quotes.
>
>
>
> $ cat /etc/lutab
>
> 1:Side2:C:0
>
> 1:/:/dev/dsk/c2t1d0s0:1
>
> 2:Side1:NC:0
>
> 2:/:/dev/dsk/c2t0d0s0:1
>
> Note that Side1 is not complete (i.e. NC) according to /etc/lutab.
>
>
>
> $ /usr/sbin/luupgrade -f -n "Side1" -s 
> /deploy/jumpstart/OS/Solaris_9_2005-09/ -a 
> /deploy/jumpstart/FlashArchives/system.flar
>
> INFORMATION: Removing invalid lock file.
>
> Validating the contents of the media 
> </deploy/jumpstart/OS/Solaris_9_2005-09/>.
>
> The media is a standard Solaris media.
>
> Validating the contents of the miniroot 
> </deploy/jumpstart/OS/Solaris_9_2005-09//Solaris_9/Tools/Boot>.
>
> Constructing flash profile template to use.
>
> Locating the flash install program.
>
> Checking for existence of previously scheduled Live Upgrade requests.
>
> Creating flash profile for BE <Side1>.
>
> Performing the operating system flash install of the BE <Side1>.
>
> CAUTION: Interrupting this process may leave the boot environment unstable or 
> unbootable.
>
> The operating system flash install completed.
>
> Making the ABE bootable.
>
> Updating ABE's /etc/vfstab file.
>
>
>
> ludo: WARNING: Merged filesystem "/deploy" and Merge point "/" have different 
> options "-" and "logging".
>
> The update of the vfstab file on the ABE succeeded.
>
> Updating ABE's /etc/mnttab file.
>
> The update of the mnttab file on the ABE succeeded.
>
> Updating ABE's /etc/dumpadm.conf file.
>
> The update of the dumpadm.conf file on the ABE succeeded.
>
> Updating partition ID tag on boot environment <Side1> device 
> </dev/rdsk/c2t0d0s2> to be root slice.
>
> Updating boot loader for <SUNW,UltraAX-i2> on boot environment <Side1> device 
> </dev/dsk/c2t0d0s0> to match OS release.
>
> Making the ABE <Side1> bootable succeeded.
>
> The Live Flash Install of the BE <Side1> completed.
>
>
>
> $ lustatus "Side1"
>
> BE_name                     Complete  Active  ActiveOnReboot  CopyStatus
>
> ------------------------------------------------------------------------
>
> Side1                       yes       no      no              -
>
>
>
> $ lufslist "Side1"
>
>                BE name: Side1
>
>
>
> Filesystem                fstype       size(Mb) Mounted on
>
> ------------------------------------------------------------------
>
> /dev/dsk/c2t0d0s7         swap          2500.00 -
>
> /dev/dsk/c2t0d0s0         ufs           6000.00 /
>
> /dev/dsk/c2t0d0s1         ufs           8000.00 /opt
>
> /dev/dsk/c2t0d0s4         ufs          10000.00 /opt/LC/dfms
>
> /dev/dsk/c2t0d0s5         ufs          14000.00 /opt/oracle
>
> /dev/dsk/c2t0d0s6         ufs          13000.00 /opt/oracle/backup
>
> /dev/dsk/c2t0d0s3         ufs          16000.00 /var
>
>
>
> $ cat ICF.2
>
> Side1:-:/dev/dsk/c2t0d0s7:swap:5120000
>
> Side1:/:/dev/dsk/c2t0d0s0:ufs:12288000
>
> Side1:/opt:/dev/dsk/c2t0d0s1:ufs:16384000
>
> Side1:/opt/LC/dfms:/dev/dsk/c2t0d0s4:ufs:20480000
>
> Side1:/opt/oracle:/dev/dsk/c2t0d0s5:ufs:28672000
>
> Side1:/opt/oracle/backup:/dev/dsk/c2t0d0s6:ufs:26624000
>
> Side1:/var:/dev/dsk/c2t0d0s3:ufs:32768000
>
>
>
>
>
>
>
>
>
> Issue 2:
>
> The entry for swap has the "fsck pass" value set to 1, were as on the PBE it 
> was set to -.
>
> Given that a jumpstart also sets the "fsck pass" value to - and the Solaris 
> System Administration Guides also show this value as -, I am not sure why the 
> Live Upgrade mechanism sets it to something different (i.e. 1).
>
>
>
> Note that I have not witnessed anything bad with the mounting of the swap 
> file system, however it is a difference between the BEs which should not be 
> present.
>
>
>
> PBE /etc/vfstab entry:
>
> /dev/dsk/c2t1d0s7 - - swap - no -
>
>
>
> ABE /etc/vfstab entry:
>
> /dev/dsk/c2t0d0s7 - - swap 1 no -
>
>
>
> Would you be able to shed some light on why the Live Upgrade functionality 
> does this?
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]
>
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to