ITEM: HU4647L

Sysback install hangs on the message "Updating the Volume Group Inform



Question:

Env:
  AIX 4.2.1
  RISC F50
  sysback 4.2.1.5

Problem:
  Customers creates a full system backup on a F40 and then
   tries to install it on the F50.

  They choose option 2 "Change Volume Group and Logical Volume Information"
  As it is "Updating the Volume Group Information"
  It hangs

Action Taken:
  This is caused by bad values in the vginfo file.  Normally caused in the 
  LV and or VG section of the vginfo file.
  There is a pvid on the LV and or VG line that does not exist on the 
  PV line of this file.
  Normally caused by some vgda corrpution.
   This is a sysback defect in the respects that it should not hang here, 
  even though the information is bad or corrputed.

A change needs to be made to the /usr/lpp/sysback/inst/sysinstall script

---------------------------------------------
If the user is doing a network boot do this:
---------------------------------------------
 Done on the boot server system
 1.  cd /usr/lpp/sysback/inst
 2.  cp sysinstall sysinstall.org
 3.  vi sysinstall
      Search for the word:  pv_to_hdisk
                 That should take you to a function.
                 Look for this line within that function:

                line="$(grep -w $location $PVINFO)"
                if [ $(print "$line" | wc -l) -eq 1 ]

              CHANGE:
                \# See if new disk is in old location
                line="$(grep -w $location $PVINFO)"
                if [ $(print "$line" | wc -l) -eq 1 ]

 TO:
             \# See if new disk is in old location
                if [[ ! -z $location ]]           \#ADD LINE
                        then                      \#ADD LINE
                        line="$(grep -w $location $PVINFO)"
                        if [ $(print "$line" | wc -l) -eq 1 ]
                           then \# Found a new disk at old address
                                        print $line | read hdisk x
                                        print $hdisk
                                        return 0
                        fi
                fi                                \#ADD LINE

        4.  rebuild the boot image
        5.  reboot and reinstall the client system

-----------------------------------------
If the user is doing a tape boot do this 
------------------------------------------

1.  Reboot the client system
2.  Get to a maintenance shell
3.  cd /usr/lpp/sysback/inst
4.  put a diskette into the diskette drive
5.  echo sysinstall | backup -ivq

6.  On another system put the diskette into the diskette drive
7.  cd /tmp
8.  restore -xvq
9.  Make the same changes from above to the sysinstall script 
    from step 3 (above)
10. echo sysinstall | backup -ivq

On the downed client system

11.  cd /usr/lpp/sysback/inst
12.  restore -xvq
13.  exit
14.  Choose either option 2 or option 3 from the Main Sysback menu

Fixed with sysback 4.2.1.6



Support Line: Sysback install hangs on the message "Updating the Volume Group Inform ITEM: HU4647L
Dated: October 1998 Category: N/A
This HTML file was generated 99/06/24~13:30:13
Comments or suggestions? Contact us