ITEM: CD5054L

Unable to create volume group data file!



Env:
  AIX 3.2.3
  RISC 520
  sysback 3.3.3.6

Desc:
  Customer tries to run a full system backup using
  the sysback -f /dev/rmt\#  command and it failes
  with this message:
    Unable to create volume group data file!

Action:
  mkvginfo -Sf rootvg
  It returned nothing to the screen
  The command has a return code of 1

  I had the customer put a set -x in the mkvginfo 
  script.  It is failing at this point

  getlvminfo -V $vgname -1ASqpN | \\
  read autoon ppsize quorum vgpvnames
  
  Since this is AIX 3.2.3 there is no quorum flag in the
  vgda or ODM.  I had the customer change the above to 
  this
  1.  cd /usr/sbin
  2.  cp mkvginfo mkvginfo.org
  3.  vi mkvginfo
      Goto around line: 491 

    CHANGE
    ------
\# Get the volume group information
    getlvminfo -V $vgname -1ASqpN | \\
    read autoon ppsize quorum vgpvnames
    if test $? -ne 0

   
    TO
    --
\# Get the volume group information
    getlvminfo -V $vgname -1ASpN | \\
    read autoon ppsize vgpvnames
    if test $? -ne 0

(Take the -q flag off and quorum as well)

That corrected the problem!!

Next Action:
  Also once you upgrade to AIX 3.2.4 or higher the problem will not
  exist.
  Closing with customer approval



Support Line: Unable to create volume group data file! ITEM: CD5054L
Dated: August 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:18
Comments or suggestions? Contact us