2.3 -> 2.4 upgrade woes

2.3 -> 2.4 upgrade woes

Post by Casper H.S. D » Fri, 13 Jan 1995 05:40:20



We've just upgraded one of our main servers from 2.3 to 2.4.

It didn't go without a hitch.

The first thing that happened was this: the upgrade
process hung.  After opening a terminal window and
running ps we found that the upgrade process was
running fsck -m /dev/dsk/c2t2d0s0.

Truss told us that this hung reading from standard input.
Typing return in the console window made it continue
but fail.

The error, of course, was that the disk in question was 4GB
in size.  In which case you need to fsck the raw device.

Commenting the disk out in /etc/vfstab did work, but wasn't proper (as
recommended in the install notes) because the disk did contain
installed files.

Now for the second, much bigger problem.

After restarting installtool (restarting the install is easy, it doesn't
require a reboot which is pretty slow from CD), it ran for
a while and then crashed.

Truss told me that is crashed after reading all the pkgs fils and the
contents files.

Finally, in despair, we decided to remove all the .<num> packages that
are installed by installpatch.

Only then the upgrade did work.

Summarizing I can say that upgrading disks > 2GB doesn't work nor
does it work on heavily patched systems.

Casper

 
 
 

2.3 -> 2.4 upgrade woes

Post by Ruth Miln » Sat, 14 Jan 1995 08:57:53




Quote:>Finally, in despair, we decided to remove all the .<num> packages that
>are installed by installpatch.

>Only then the upgrade did work.

Did you actually use pkgrm/backoutpatch on them, or just get rid of
the *.<num> directories under /var/sadm/pkg?

Presumably Solaris 2.4 overwrites the 2.3 version of every file the
2.3 OS packages put there, so it doesn't much matter if there are
records of those patches. But did you restore the ones that corresponded
to non-OS packages (e.g. compilers) afterwards?
--
Ruth Milner                            NRAO                  Socorro NM


 
 
 

2.3 -> 2.4 upgrade woes

Post by Jeff Bac » Sat, 14 Jan 1995 11:23:17



: We've just upgraded one of our main servers from 2.3 to 2.4.
: It didn't go without a hitch.
: After restarting installtool (restarting the install is easy, it doesn't
: require a reboot which is pretty slow from CD), it ran for
: a while and then crashed.

I don't think I've ever trusted anyone's install or upgrade programs.
I've always found it safer to
- isolate system-specific info from system files or have it generated
by separate configuration programs, none of which live in the same
place as system files
- keep things cookie-cutter, even on servers
- when upgrading, blow away / and /usr and load the new cookie cutter

I've found that rebuilding the server from ground-up has, in
every instance (on a 400+ node network) been faster than sitting
around waiting for an upgrade program to do its thing. maybe it takes
a bit more effort on my part, but it gets the system back up lots
faster so the users can get back to work...

-bacon
but I'm also lazy

 
 
 

2.3 -> 2.4 upgrade woes

Post by Casper H.S. D » Sat, 14 Jan 1995 18:09:35





>>Finally, in despair, we decided to remove all the .<num> packages that
>>are installed by installpatch.

>>Only then the upgrade did work.
>Did you actually use pkgrm/backoutpatch on them, or just get rid of
>the *.<num> directories under /var/sadm/pkg?

I did a pkgrm of all the .<num> packages on the system.
(even those of the SPRO compilers and other patched software)

When autoinstall crashed, I cd's to /a/var/sadm/pkg (all filesystems
where still mounted under /a.)
Then did a pkgrm -R /a *.[1-9]*
and typoes a lot of y<return>s.

Quote:>Presumably Solaris 2.4 overwrites the 2.3 version of every file the
>2.3 OS packages put there, so it doesn't much matter if there are
>records of those patches. But did you restore the ones that corresponded
>to non-OS packages (e.g. compilers) afterwards?

No, net yet anyway.  The record is kept in two places: the .<num>
package files under /var/sadm/pkg but also in /var/sadm/install/contents.
Restoring just the package files would not be enough.
If you are worried about keeping your system info complete,
you can first move the directories under /var/sadm/patch away.
Then reinstall the patches (which effectively doesn't change a thing on
your system, except that the new files are saved).
Then you can remove the new directories in /var/sadm/patch and
put the old ones with the old save files in place.

After that I also had to remove the patch directories by hand (the
upgrade system could no longer detect that patches had been installed)
(no wonder)

Casper

 
 
 

1. SS2000 2.3 => 2.4 Upgrade woes

--

Greetings all:

        I have an SS2000 w/8 cpu's that I'm trying to upgrade from Solaris
2.3 ==> 2.4.  I have successfully done this on our SS1000, two SS20's an
Sparc5 and Several SS10's.

        When doing the upgrade to the 200, I manage to get the past all the
initial question on the CDROM (i.e. name service, IP number, hostname ...)
and the Upgrade program determines that the System is upgradable !

        I choose the upgrade option and a message appears at the bottom
of the console:

        mounting c0t0d0 ....

which where root filesystems resides and then it hangs ...

-       No On line disk suite is running on this machine so there
        are no metadevices in /etc/vfstab

-       The disks check out OK when I do a surface scan and 2.3
        boots and all out apps run on it

-       I have removed all but / /usr /var and /opt from vfstab
        to see if there are any conflicts and still no go ..

-       I have checked /var/sadm/install/contents and
        /var/sadm/softinfo/Solaris_2.3 and they appear OK (Not currupt
        and reasonable in terms of the information they have ...)

-       The system does have the /var/sadm/softinfo/INST_RELEASE

At this point I'm not sure what could be cuasing this ?  Any one run into
something similar or have any further pointers ?

Cheers,

Marco Hernandez

2. Do anybody have Epoch for ODT3 ?

3. 2.3 to 2.4 upgrade woes

4. installing software?

5. Solaris 2.3 to 2.4 upgrade woes

6. Need help with a mouse!

7. SPARCServer 1000 - 2.3 -> 2.4 woes

8. Unix simple questions.

9. Upgrade 2.3->2.4

10. 2.3->2.4 Upgrade FAQ?

11. Problems upgrading from 2.3 -> 2.4 using jumpstart

12. SPARCServer 1000 - Solaris 2.3 -> 2.4 Upgrade??

13. 2.3 -> 2.4 upgrade hangs on SS 5