Technical article 126159

I get "WARNING: Tape driver: Block length mismatch (overlength)" when trying to restore OpenServer 5 tapes onto an OpenServer 6 system

OpenServer 6.0.0

Written · Last revised

Problem

When I try to read an OpenServer 5 tape archive on OpenServer 6 I get:

WARNING: Tape driver: Block length mismatch (overlength). Driver requested 1024 bytes, Tape block length = 131072 bytes

Cause

By default the OpenServer 6 tape driver uses a fixed length block size where as OpenServer 5 used a variable length.

Solution

Use the tape(C) command as follows to determine the block size being used on the default tape device:

tape -a getblk

To set the block size use the command:

tape -a <block_size> setblk

where <block_size> is replaced with the block size reported by the

tape -a getblk
command.

From the Xinuos technical article database, record 126159. Reproduced with permission. The original is at www.sco.com/ta/126159, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.