Hello,
On solaris 10, trying to run lucreate as below,
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,
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
<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
SunOS hostname 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-100
-bash-3.00# prtvtoc /dev/dsk/c0t0d0s2
* /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
* /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
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
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
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.