A-166Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
NAME
rmt - remote magtape protocol module
SYNOPSIS
/etc/rmt
DESCRIPTION
/etc/rmt is a special command that can be used by remote computers to manip-
ulate a magnetic tape drive over a network connection; for example, the UNIX
dump and restore commands often can either use /etc/rmt to access a remote
tape, or have rdump and rrestore variants that can do so. /etc/rmt is normally
run by the rshd daemon (see rshd) as a result of a remote machine making a
request to rshd to do so.
The /etc/rmt command accepts requests specific to the manipulation of mag-
netic tapes, performs the commands, then responds with a status indication.
This protocol is provided by rmt commands on many UNIX systems, although
UNIX systems may support more commands and may give more different error
codes.
All responses are in ASCII and in one of two forms. Successful commands have
responses of:
Anumber\n
number is an ASCII representation of a decimal number. Unsuccessful com-
mands are responded to with:
Eerror-number\nerror
-message\n
error-number is one of:
2 (ENOENT)
The tape device specified in an open request did not have a valid syntax.
6 (ENXIO)
The tape device specified in an open request does not exist.
5 (EIO)
An I/O error occurred when performing the request.
25 (ENOTTY)
An invalid tape operation was specified in a perform special tape operation
request.
error-message is a (UNIX-style) error string for the error specified by error-
number.
rmt