ITEM: BS8863L

0511-701 unexpected end of file condition has occurred.


Env:
  AIX 4.1.4
  RISC R40
  sysback 3.3.3.x
  Tape 3590

Desc:
  Customer cannot restore his data created with the
  mkvgback -f /dev/rmt0 -b 2048 \ command
  He is able to read the volume header and get a filelist
  but cannot restore any of the data

Action:
  
  Action:  Customer was trying to restore data from a volume group
  backup.  He was receiving the following errors:

        sbread: error : reading from rmt0.1 
        0511-701 unexpected end of file condition has occurred.

  Command used to make the backup was:

        mkvgback -f /dev/rmt0 -b 2048 \

  We were able to generate a file list and read the header with the
  sbread -H command.  But trying to restore the data or verify the
  data caused errors.  

  Tried "vgrestore -lf /dev/rmt0" with the following block sizes.

  Block Size 0
        sbread: error : reading from rmt0.1 
        0511-701 unexpected end of file condition has occurred.

  Block Size 512
        insert next volume

  Block Size 1024
        cannot read volume header

  Block Size 2048
        cannot read volume header

  Block Size 262144
        cannot read volume header

  Block Size 2097152
        error 2097152 larger then allowed.  Maximum value is 1314816

  At this point looked at the dma bus memory length for ascsi0.  It was
  set to 0x202000.  We changed this value to 0x300000 and apply to 
  database only to "yes".  At this point had customer reboot his system.

  After reboot confirmed that block size was set to 0. This was based
  on block size of other backups customer had.

  We then attempted the vgrestore command.  The volume group was able
  to restore at this time.

  SUMMARY:

  Customer used the -b 2048 option with the mkvgback command.  This 
  writes in 2M buffer sizes.  The dma bus length for the ascsi0 was
  reset to the default value of 0x202000 after the backup was made.
  This bus length for the ascsi does not allow the 2M buffers to be
  used.


Support Line: 0511-701 unexpected end of file condition has occurred. ITEM: BS8863L
Dated: January 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:20
Comments or suggestions? Contact us