Technical article 110911

The "tape amount" command reports an incorrect value for transfers to tape over 4GB.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

The "tape amount" command wraps around to zero and reports an incorrect value for transfers to a tape over 4 gigabytes (GB), or 4194304 KB. For example, if you transferred 5GB, "tape amount" would report that you had only transferred 1GB.

Solution

Since "tape amount" reports its count value in kilobytes, if you are certain you transferred more than 4GB, simply add 4194304 to the value you are given. 4194304KB is equal to 4GB.

This problem has been reported to SCO Engineering.

See also

Manual page: tape(C)

From the Xinuos technical article database, record 110911. Reproduced with permission. The original is at www.sco.com/ta/110911, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

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.