Consultor Eletrônico



Kbase 21677: Probkup fails if tape device block factor is to high
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/12/2003
Status: Technically Reviewed

SYMPTOM(s):

Error creating a backup using the Progress tools on UNIX.

Error: SYSTEM ERROR: write to <backup device> failed, errno = <code> (1049)

Error: SYSTEM ERROR: write to /dev/rmt0 failed errno 22 (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 in a range from 1024 to 32768. In some cases this blocking factor can be handled by some OS tools. 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 it is possible to 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. Next, retry the PROBKUP, that should let Progress write to the tape with a valid blocking factor.

You can specify the -bf parameter, however if 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 gives you a better result.