SUMMARY: Unable to Create New Boot Environment

From: Randy Webb <lrandy.webb_at_gmail.com>
Date: Mon Mar 08 2010 - 23:29:52 EST
The problem ultimately turned out to be a 'corruption' issue it seems.

Turning on the the debugging option in /etc/default/lu ( which I did not
know how to do but I will REMEMBER it) led right to the problem ( creation
of inode failed) I did a newfs on the underlying slice and rebuilt the
metadevice and the problem cleared up.

Thanks to Anthony, Darren and Espen for their answers and suggestions all
were valuable.


I am having some problems creating a new environment on 2 machines. See the
> details below. I have googled the error and found a 'solution' of do a
> devfsadm -Cv and then reboot. That did not work for me. I am still getting
> the error below. I need to patch these servers asap.
>
>
> Attempt #1
>
> bash-3.00# df -k
> /
>
> Filesystem            kbytes    used   avail capacity  Mounted
> on
> /dev/md/dsk/d20      10292260 5824774 4364564    58%
> /
> bash-3.00#
> lustatus
>
> Boot Environment           Is       Active Active    Can
> Copy
> Name                       Complete Now    On Reboot Delete
> Status
> -------------------------- -------- ------ --------- ------
> ----------
> patched_20091115           yes      yes    yes       no
> -
> bash-3.00# lufslist
> patched_20091115
>                boot environment name:
> patched_20091115
>                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/d20         ufs       10701570048 /
> -
> /dev/md/dsk/d3          swap       8596684800 -
> -
> bash-3.00# metastat
> d0
> d0:
> Mirror
>     Submirror 0:
> d1
>       State:
> Okay
>     Submirror 1:
> d2
>       State:
> Okay
>     Pass:
> 1
>     Read option: roundrobin
> (default)
>     Write option: parallel
> (default)
>     Size: 20982912 blocks (10
> GB)
>
> d1: Submirror of d0
>     State: Okay
>     Size: 20982912 blocks (10 GB)
>     Stripe 0:
>         Device     Start Block  Dbase        State Reloc Hot Spare
>         c0t0d0s0          0     No            Okay   Yes
>
>
> d2: Submirror of d0
>     State: Okay
>     Size: 20982912 blocks (10 GB)
>     Stripe 0:
>         Device     Start Block  Dbase        State Reloc Hot Spare
>         c0t1d0s0          0     No            Okay   Yes
>
>
> Device Relocation Information:
> Device   Reloc  Device ID
> c0t0d0   Yes    id1,sd@n500000e1113dfb40
> c0t1d0   Yes    id1,sd@n500000e1113dfb80
> bash-3.00# lucreate -m /:/dev/md/dsk/d0:ufs -n patched_20100210
> 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 <patched_20091115> 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.
> Searching /dev for possible boot environment filesystem devices
>
> Updating system configuration files.
> The device </dev/dsk/c0t0d0s0> is not a root device for any boot
> environment; cannot get BE ID.
> Creating configuration for boot environment
> <patched_20100210>.
> Source boot environment is
> <patched_20091115>.
> Creating boot environment
> <patched_20100210>.
> Creating file systems on boot environment
> <patched_20100210>.
> Creating <ufs> file system for </> in zone <global> on
> </dev/md/dsk/d0>.
> Mounting file systems for boot environment
> <patched_20100210>.
> Calculating required sizes of file systems              for boot
> environment <patched_20100210>.
> ****************************ERROR
> HERE****************************************
> ERROR: Cannot make file systems for boot environment
> <patched_20100210>.
> bash-3.00# ludelete
> patched_20100210
> /bin/nawk: can't open file
> /etc/lu/ICF.2
>  source line number
> 1
> Boot environment <patched_20100210> deleted.
> ****************************ERROR
> HERE*****************************************
>
>
> Attempt # 2
>   bash-3.00# metastat
> d10
> d10:
> Mirror
>
>     Submirror 0:
> d11
>
>       State:
> Okay
>
>     Submirror 1:
> d12
>
>       State:
> Okay
>
>     Pass:
> 1
>
>     Read option: roundrobin
> (default)
>     Write option: parallel
> (default)
>     Size: 20901504 blocks (10.0
> GB)
>
> d11: Submirror of d10
>     State: Okay
>     Size: 20901504 blocks (10.0 GB)
>     Stripe 0:
>         Device     Start Block  Dbase        State Reloc Hot Spare
>         c0t0d0s4          0     No            Okay   Yes
>
>
> d12: Submirror of d10
>     State: Okay
>     Size: 20901504 blocks (10.0 GB)
>     Stripe 0:
>         Device     Start Block  Dbase        State Reloc Hot Spare
>         c0t1d0s4          0     No            Okay   Yes
>
>
> Device Relocation Information:
> Device   Reloc  Device ID
> c0t0d0   Yes    id1,sd@n500000e1113dfb40
> c0t1d0   Yes    id1,sd@n500000e1113dfb80
> bash-3.00# lucreate -m /:/dev/md/dsk/d10:ufs -n patched
> 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 <patched_20091115> 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.
> Searching /dev for possible boot environment filesystem devices
>
> Updating system configuration files.
> The device </dev/dsk/c0t0d0s4> is not a root device for any boot
> environment; cannot get BE ID.
> Creating configuration for boot environment <patched>.
> Source boot environment is <patched_20091115>.
> Creating boot environment <patched>.
> Creating file systems on boot environment <patched>.
> Creating <ufs> file system for </> in zone <global> on </dev/md/dsk/d10>.
> Mounting file systems for boot environment <patched>.
> Calculating required sizes of file systems              for boot
> environment <patched>.
> ******Same ERROR*******
>
> ERROR: Cannot make file systems for boot environment <patched>.
> bash-3.00# ludelete patched
> /bin/nawk: can't open file /etc/lu/ICF.2
>  source line number 1
> Boot environment <patched> deleted.
> bash-3.00# cat /etc/*release*
>                        Solaris 10 5/09 s10s_u7wos_08 SPARC
>            Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
>                         Use is subject to license terms.
>                              Assembled 30 March 2009
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Mar 8 23:31:04 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:15 EST