ITEM: DO4135L

dspmsg: Invalid argument index in message. May need more



Question:

Env:
  AIX 4.3
  RISC E20
  Tape 8mm 5gb
  sysback 4.1.2

Problem:
  I was created a backup using this syntax:

  mklvback -g /usr/config/vginfo -f /dev/rmt0 sblv sb1lv sb2lv

I created the vginfo using this syntax:
  mkvginfo -f -l -o /usr/config/vginfo sblv sb1lv sb2lv

I got this error message:

dspmsg: Invalid argument index in message.  May need more
arguments on the command line.
Specified custom LVM information file (-g option) does not contain
required information for the

Action Taken:

I tracked the problem to this peice of code within the mklvback
script

============================================

\# Make sure all specified LVs are listed in the vginfo file
                for VG in $LVLIST
                do
                        if [ -z "$(grep "\^LVPERM $LV " $VGINFOFILE)" ]
                      then msg 999 'Specified custom LVM information file (-g op
tion) does not contain\\nrequired information for the %s logical volume.' $LV >&2
                                        cancel 1
                        fi

==============================================

Within the "for" loop it should look this way:

for LV in $LVLIST          (Change the VG to LV)

Once that change was done, it fixed the problem.
This should be included in sysback.rte 4.1.3


Support Line: dspmsg: Invalid argument index in message. May need more ITEM: DO4135L
Dated: August 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:15
Comments or suggestions? Contact us