Kbase 20423: Using Probkup to device returns SYSTEM ERROR: write to failed, errno = 22 (1049)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/01/2007 |
|
Status: Verified
SYMPTOM(s):
Error creating a backup using Probkup
Error: SYSTEM ERROR: write to <backup device> failed, errno = <code> (1049)
Error: SYSTEM ERROR: write to /dev/rmt0 failed errno 22 (1049)
SYSTEM ERROR: write to /dev/rmt/1mn failed, errno = 5 (1049)
Error: SYSTEM ERROR: Error writing backup header (1056)
CAUSE:
When seting the blocking factor for a tape device in the OS configuration, this value can be changed from 0 to a higher value. Usually this value is set within a range from 1024 to 32768. Sometimes this blocking factor can be handled by some OS tools but some other applications, like Progress, could have problems if this value is defined too high.
If the value for example is set to 53248 then use the OS tools to create a backup at the system level, but when trying to backup some specific database using PROBKUP it will error.
FIX:
To avoid these errors go to the OS config tool and set the value for the blocking factor to a value which should be in the range from 1 k to 8 k and then retry your PROBKUP, that should let Progress write to the tape with a valid blocking factor.
It is also possible to specify the -bf parameter. If, however, the value is to high for the blocking factor at the OS level the errors could still appear. Changing the blocking factor at the OS level will give a better result.