SUMMARY: Jumpstart flash install problem.

From: Johnson, Chad (cmjohnson@uslec.com)
Date: Tue Apr 06 2004 - 09:58:03 EDT


The initial problem was found to be the exclusion of '/etc/mnttab' from the
flash archive created by flarcreate. The actual error was in the find command
(see below) used to generate the '/' filesystem image. Since '/etc/mnttab' is
mounted it was skipped by the find command.

As a quick fix, I simply created another single flash archive containing only
'/etc/mnttab' and added that image to the jumpstart profile for this machine.
This fixed the issue.

This was found by trussing 'pfinstall' and determining where the error came
in. There was another bit of information on the screen, but this was omitted
from the flash install log 'install_log', hence my omission. The additional
error, just following "Extraction complete" and just prior to the first
"ERROR:" message (see below) was an 'fopen" error. While trussing the
pfinstall this was found to be the lack of the '/etc/mnttab' file.

Also, it was suggested that I attempt to update my 'flar' and 'flarcreate'
with the latest patches (109318-34). This replaced the original
'/usr/sbin/flarcreate' at a size of 32125 bytes (sum -r of 11283) with a new
'flarcreate' at a size of 21206 bytes (sum -r of 19659). The new flarcreate
seems quite flawed. It was not processing the '-f <input file>' '-F'
combination. It completely ignored the '-F' and attempted to create the whole
image from '/' and adding the contents of '<input file>'.

Of special note, the patch (109318-34) does not backup the original files and
as such cannot be backed out. Since we have many of the same OS / Patch level
machines I was able to simply copy the original from another location.

Hope this helps someone else out in the future.

-Chad Johnson

~~~~~~~~~~~~~~~~~~~~~ Original Post Below ~~~~~~~~~~~~~~~~~~~~~~~~

I am experiancing an odd problem when performing a jumpstart flash install. I
have created multiple images from a 4500 and am attempting a restore onto an
E6800 domain. While I have done this exact same procedure in the past, I am
now experiancing a problem after the flash images have been restored onto the
target system.

At the end of the last flash image installation the system attempts to
unconfigure itself, but I recieve "ERROR: Unable to unconfigure the extracted
system" and "ERROR: System installation failed"

There are 4 total flash images being restored by the profile for this machine,
the largest of which is ~ 1.6GB so I should not be encountering the 4GB
problem (This is Solaris 8), unless the 4GB problem applies to the total size
of the uncompressed image?

The flash images were created from a list of files generated with the
following commands:

find / ! -name /tmp/chad/images/newton ! -type D ! -type s -print \( ! -mount
-o -fstype lofs \) -prune > /tmp/chad/images/newton/root_flar.files

find /usr ! -type D ! -type s -print \( ! -mount -o -fstype lofs \) -prune >
/tmp/chad/images/newton/usr_flar.files

find /var ! -type D ! -type s -print \( ! -mount -o -fstype lofs \) -prune >
/tmp/chad/images/newton/var_flar.files

find /opt ! -type D ! -type s -print \( ! -mount -o -fstype lofs \) -prune >
/tmp/chad/images/newton/opt_flar.files

The flash images were generated with:

flarcreate -n newton_var -S -H -c -f ./var_flar.files -F ./var.flar.img

Has anyone experianced this same issue? If so any suggestions or solutions
would be greatly appreciated.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:25 EDT