Technical article 105589

MT_RFM (read tape filemark) can't read more than one filemark.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

I have a tape with multiple filemarks written on it.  When I issue
the command:
tape -a <n> rfm

where <n> is the number of filemarks by which I wish to skip ahead on the tape, just one filemark is read.

Cause

The MT_RFM ioctl implemented by the SCSI tape driver (Stp driver)
does not support the reading of multiple tape filemarks.  This
ioctl is called when the above tape command is issued.

Solution

This issue has been resolved by the Support Level Supplement (SLS)
OSS445A for SCO OpenServer Release 5.0.2.  Please see TA105350,
"What is Support Level Supplement (SLS) OSS445A?" for information
on SLS OSS445A.
Also, starting in SCO OpenServer Release 5.0.4, the reading of
multiple tape filemarks can be enabled by changing the value of
a tunable parameter in the file /etc/conf/pack.d/Stp/space.c.
This parameter is Stp_compat.  By default, its value is 0.
By changing the value to 1 and relinking the kernel, the reading
of multiple tape filemarks is enabled.

See also

TA105350, "What is Support Level Supplement (SLS) OSS445A?"

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