Error restoring data to logical volume


  AIX 3.2.5
  Tape 8mm 5gb  Parallel Virtual device

  Customer is getting errors restoring from a mklvback
  logical volume backup

  Error restoring data to logical volume \

  I broke down the command to the basic being run which

  sbread -xvP vdev0 | dd obs=64k of=/dev/lvname

  In that case it fails with this message:

  dd: write error: No such device or address

I tested this out in the lab and was able to reproduce this:

I create a raw logical volume size 4mb (1pp)
I did two types of backups single tape drive and 
virtual parallel one.

I then did this to restore the data to a file
sbread -xv /dev/rmt0 > one.image
sbread -xvP vdev0 > two.image

ls -l 
-rw-r--r--   1 root     system   4194304 Jun 17 08:50 one.image
-rw-r--r--   1 root     system   4194308 Jun 17 09:18 two.image

So it appears that the virtual parallel device is adding
4 extra bytes.

Problem fixed. Extraneous characters were being output after the end of
the data when restoring from parallel backup AND displaying the progress
indicator. The extra characters, and therefore the error message, can
be ignored.   You can keep the message from occurring by not using
the -x flag with the lvrestore command.  This fix will be added
to sysback

Next Action:
  closing with customer approval

Support Line: Error restoring data to logical volume ITEM: BK2934L
Dated: June 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:21
Comments or suggestions? Contact us