ITEM: FP6846L
/usr/sbin/mkboottape.sh[377]: /tmp/mkinsttape_sb: not found
Question:
Env:
AIX 4.2.1
RISC 590
sysback 4.2.0
Problem:
I created a full system backup to a seq. virtual device using
this command:
mkvginfo -Sf -v -o /usr/config/vginfo rootvg sbvg
sysback -g /usr/config/vginfo -vf vdev2 sbvg
I got back this output
Changing tape block size to 512 ..
Placing boot image on tape ..
bosboot: Boot image is 8237 512 byte blocks.
Placing install image on tape ..
/usr/sbin/mkboottape.sh[377]: /tmp/mkinsttape_sb: not found
Error creating install images. Check for available space in /etc.
Unable to create bootable tape
I will use the debug option and put the output in
/home/sysback/debug.out
Turns out to be the use of the -v option. I will need to look
into this further, since it is late
APPENDED by lmiller@systape2 on 04/25/98 07:53:
I looked at the /usr/sbin/mkboottape.sh script and determined
this:
if [ -z "$VERBOSE" -a "$BOOT" != n ]
then \# Remove verbose option from backup command
cp $instprog /tmp/$$tmp || cancel 1
sed "s/backup \\-irpv/backup \\-irp/" /tmp/$$tmp > $instprog_sb || cancel
1 rm /tmp/$$tmp
chmod +x $instprog_sb
fi
--------------------------------------------------------------
If you use the -v flag it will never create a
/tmp/mkinsttape_sb file. So by changing the above code to
this it will correct the problem
--------------------------------------------------------------
if [ -z "$VERBOSE" -a "$BOOT" != n ]
then \# Remove verbose option from backup command
cp $instprog /tmp/$$tmp || cancel 1
sed "s/backup \\-irpv/backup \\-irp/" /tmp/$$tmp > $instprog_sb || cancel
1 rm /tmp/$$tmp
chmod +x $instprog_sb
else \#ADD THIS LINE
cp $instprog $instprog_sb \#ADD THIS LINE
chmod +x instprog_sb \#ADD THIS LINE
fi
CLOSED by tj on 04/28/98 01:17:
Your fix will work correctly, however, there is no need to
create a temporary instprog file if it's not a boot tape. So
I did it a little differently by simply setting the instprog_sb
variable to $instprog if the verbose option is not set. This
is fixed in 4.2.0.0.
Support Line: /usr/sbin/mkboottape.sh[377]: /tmp/mkinsttape_sb: not found ITEM: FP6846L
Dated: April 1998 Category: N/A
This HTML file was generated 99/06/24~13:30:14
Comments or suggestions?
Contact us