Technical article 126947

tar(C) seems slower since I installed OpenServer 6.0.0 Maintenance Pack 3 on my system

OpenServer 6.0.0

Written · Last revised

Problem

Since installing Maintenance Pack 3 (MP3) on my system the time it is taking to do a backup or restore using tar(C) has increased.

Cause

The updated version of tar(C) provided with MP3 uses a block size probe of the tape device to determine the block size to use when writing to the tape device.

This may result in tar(C) using a block size of 512 bytes if the tape in the tape drive is blank.

Solution

This issue has been reported to the SCO Engineering.

You can improve the performance of tar(C) by explicitly setting the block size of the tape device using the the tape(C) command.

tar(C) is limited to a block size of 10240 bytes (10K)
so you may find an improvement in your backup speed if you
run the command:
tape -a 10240 setblk
before running tar(C).

You may also find that setting the tape block size into variable mode using:

tape -a 0 setblk

before running tar(C) provides a similar if not better improvement in tar(C) backup speeds.

See also

man tape(c) and tar(c)
NOTE:     If you attempt to set the tape block size to a value
          beyond 10240 bytes then tar(C) will fail to write to the
          tape device with a write error.

From the Xinuos technical article database, record 126947. Reproduced with permission. The original is at www.sco.com/ta/126947, 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.