ITEM: DY3624L

How to create and restore from a chrp boot image



Question:

Env:
  AIX 4.2.1
  RISC 7025 F50
  Tape 7206-005 4mm 4gb
  sysback 3.3.3.17

Problem:
  Customer is getting this error when creating a boot image
  on a F50

 Platform type "rspc" is invalid or support for this platform
is not installed!

And it made a non-booted tape

===============================================
HOW BUILD A FULL SYSTEM BACKUP FOR A F50 (chrp)
===============================================

sysback -xf /dev/rmt0 -T chrp -k mp \
    Building a boot image for a chrp platform image instead
    of rspc

Where:
    T -- Platform Type  (chrp, rspc or rs6k)
    k -- Kernal Type    (mp or up)

Example:
  sysback -xf /dev/rmt0 -T chrp -k mp vg1 vg2 vg3

 The customer is not able to verify this tape it is failing 
 this way:

  sysrestore -xf /dev/rmt0 -tV -V rootvg

  Unable to read volume label from device /dev/rmt0.1

It turns out the chrp proto files do not put a IBMA into their 
boot image like rspc and rs6k  proto files do

=========================================
MAKE THESE CHANGES TO THE setbs.sh script
=========================================

Make sure the customer is running sysback 3.3.3.17

1) cd /usr/sbin
2) cp setbs.sh setbs.sh.org
3) vi setbs.sh
4) Search for IBMA

Comment out this entire "if" statement:

\#if [ $rc -ne 0 -o \\( "$TEST1" != "IBMA" -a "$TEST2" != "ELF" \\) ]
\#           then \# Either not bootable or volume 1 is not inserted
\#                        sbdevice -r $devname \# rewind
\#                        msg 108 'There are no boot images on this tape.' >&2
\#                        cancel 1
\#        fi

This will supress the error message relating to this problem and allow
the verify to continue. Otherwise, you will continue to get the error
during the verify or the normal restore process.

Version 4 of Sysback accommodates this chrp platform without the
workaround or needed to do the backup via command line.



Support Line: How to create and restore from a chrp boot image ITEM: DY3624L
Dated: November 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:15
Comments or suggestions? Contact us