This document describes modifications to version 3 of Sysback that will allow it to be run on AIX Versions 4.3.x.
It is recommended that before making these changes, the Sysback version should be 3.3.3.17 or 3.3.3.18.
Sysback Version 3 is at End of Service, and as such, this is an unsupported procedure and is only a temporary measure until Sysback can be upgraded to Version 4.2.1 or later.
This problem occurs because of a change in the umask value in /sbin/rc.boot at AIX 4.3. A mkdir with a umask of 077 is run from that script when a system is cloned using Sysback. At AIX 3.2, 4.1, 4.2 and very early releases of 4.3, the default umask is 000. However, at AIX 4.3 the default umask is 077. This means that the underlying directories /var, /usr and /tmp are created without read, write or execute permissions for non-root users.
This umask problem will also affect the permissions on the /dev/pts device special files in /dev; this is fixed with APAR IX74957.
This problem has been fixed with Sysback Version 4.2
cd /usr/lpp/sysback/inst cp sysmain sysmain.org
vi sysmain
Change from this:
####### # Subroutines ####### . /usr/lpp/sysback/inst/sysinst.lib unset updatevginfo pv_to_hdisk update_lvpps
to this:
####### # Subroutines ####### . /usr/lpp/sysback/inst/sysinst.lib umask 000 #ADD THIS LINE unset updatevginfo pv_to_hdisk update_lvpps
Sometimes when doing a tape boot or network boot, you will get the error messages No space left on device. The size of the ramfs in service mode needs to be increased.
cd /usr/sbin cp mksbnetboot mksbnetboot.org
vi mksbnetboot
head -1 $proto | read x blocks x sed "s/ $blocks/ 16384/" $proto > $tmp_proto
to this:
head -1 $proto | read x blocks x sed "s/ $blocks/ 26624/" $proto > $tmp_proto
NOTE: You increased the size of the ramfs file system for service mode from 16384 to 26624. You must remake any network boot images.
cd /usr/sbin cp mkboottape.4 mkboottape.4.org
vi mkboottape.4
Change the mkboottape.4 file from this:
sed "s+/usr/lpp/bosinst/bi_main[ ]*$+$sysinit+" | \ sed "s/ $blocks/ 16384/" > /tmp/$proto
to this:
sed "s+/usr/lpp/bosinst/bi_main[ ]*$+$sysinit+" | \ sed "s/ $blocks/ 26624/" > /tmp/$proto
NOTE: You increased the size of the ramfs file system for service mode from 16384 to 26624. Remake any tape boot images for the changes to take effect.
Due to a software defect within AIX, both mkvg and mklv produce error messages but run successfully (return code of 0).
cd /usr/lpp/sysback cp sysrvg sysrvg.org
vi sysrvg
Change the sysrvg file from this:
if [ $? -ne 0 -o -s /tmp/mklv.err ] then # Error - try again using default disks, 1 copy,
to this:
if [ $? -ne 0 ] then # Error - try again using default disks, 1 copy,
NOTE: There are two places within this file where you will need to make the same exact change: remove the
-o -s /tmp/mklv.errfrom the if statement.
cd /usr/lpp/sysback cp sysuvg sysuvg.org
vi sysuvg
Change the sysuvg file from this:
if [ $? -ne 0 -o -s /tmp/mklv.err ] then # Error - try again using default disks, 1 copy,
to this:
if [ $? -ne 0 ] then # Error - try again using default disks, 1 copy,
NOTE: There are two places within this file where you will need to make the same exact change:
remove the
-o -s /tmp/mklv.errfrom the if statement.
Once all three of these changes have been made, it is important to rebuild your boot images. This is required for the changes to be in effect.
Configuration Options Network Boot Configuration Update a network boot image
Utilities Create a bootable tape (without data)