tcopy(1) User Commands tcopy(1)NAME
tcopy - copy a magnetic tape
SYNOPSIS
tcopy source [destination]
DESCRIPTION
The tcopy utility copies the magnetic tape mounted on the tape drive specified by the source argument. The only assumption made about the
contents of a tape is that there are two tape marks at the end.
When only a source drive is specified, tcopy scans the tape, and displays information about the sizes of records and tape files. If a des-
tination is specified, tcopy makes a copies the source tape onto the destination tape, with blocking preserved. As it copies, tcopy pro-
duces the same output as it does when only scanning a tape.
The tcopy utility requires the use of Berkeley-compatible device names. For example,
example% tcopy /dev/rmt/1b /dev/rmt/2b
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
SEE ALSO mt(1), ioctl(2), attributes(5)NOTES
tcopy will only run on systems supporting an associated set of ioctl(2) requests.
SunOS 5.11 10 Mar 2000 tcopy(1)
Check Out this Related Man Page
MT(1) General Commands Manual MT(1)NAME
mt - magnetic tape manipulating program
SYNOPSIS
mt [ -f tapename ] command [ count ]
DESCRIPTION
Mt is used to give commands to a magnetic tape drive. If a tape name is not specified, the environment variable TAPE is used; if TAPE
does not exist, mt uses the device /dev/rmt12. Note that tapename must reference a raw (not block) tape device. By default mt performs
the requested operation once. Operations may be performed multiple times by specifying count.
The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified.
eof, weof
Write count end-of-file marks at the current position on the tape.
fsf Forward space count files.
fsr Forward space count records.
bsf Back space count files.
bsr Back space count records.
rewind Rewind the tape (Count is ignored).
offline, rewoffl
Rewind the tape and place the tape unit off-line (Count is ignored).
status Print status information about the tape unit.
cacheon
Enable the readahead/writebehind cache on the tape unit.
cacheoff
Turn off the readahead/writebehind cache on the tape unit.
Mt returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation failed.
The cacheon and cacheoff commands currently only apply to the TMSCP driver and then only for certain drives such as the TU81+. No error is
produced by the TMSCP driver if the cache commands are used. Other drivers will return an error code since they do not recognize the
MTCACHE and MTNOCACHE functions codes. See mtio(4).
FILES
/dev/rmt* Raw magnetic tape interface
SEE ALSO mtio(4), tmscp(4), dd(1), ioctl(2), environ(7)4th Berkeley Distribution December 22, 1995 MT(1)
I have been attempting to read a DLT tape, but encountered problems. I have applied patches from SUN that 'resolve' known problems with tape reading etc...but still the error!
Techsupport reckon that the data/tape is corrupt. I would like to think they aren't.
Are there any issues with... (10 Replies)
I have a dlt tape drive on a AIX 5.1 machine, I have no idea how to backup to this thing, would I just mount it can copy over to it, not sure the commands or where to begin? Can anyone help, or point me to documentation.... (14 Replies)
I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize.
The part of the script that does the tar looks like this:
tar cvfX... (11 Replies)
hi,
need your help mentors I have external SCSI tape DRIVE COmpaq 15/30 GB DLT and I dont know how to install these and how to view if it is working. I'm also have another disk taken form my old sun and I want to use these also but my problem how I able to mount.
hope anyone can help me
... (9 Replies)
I have AIX 5.1
This may sound like a really dumb question but I have never done this before.
I would like to pull a file off a backup tape and put back on the AIX
is this as simple as as doing a
mount /dev/rmt1
then the file name that is on the tape /dump/rpt/xxxxxx
Do I just copy it... (14 Replies)
I need to transfer software off a SCO OpenServer 5.0.5 server. I can not seem to read this server's tape on my other server since the tape drive (IBM Gen 5 DAT 72GB) will continuosly "eject" this DAT 8 tape. I have been able to 'tarball' most of the smaller directories with success and... (11 Replies)
Hello everyone,
I am having difficulties restoring data from a tape and I was hoping someone could help me. Here it goes.
Whenever I type tar -xvf /dev/nst0, only the first file on the tape is restored which means that in the particular tape there are multiple tar files.
Can someone please... (10 Replies)
Hi everyone.
Im new to Sun Solaris or the Unix environment. My only background is the DOS command in windows and a little bit of c++ programming. I always worked with troubleshooting hardware and software issues with windows.
Now that I need to configure tape drives using sun solaris, I had... (11 Replies)
Hi,
Does anyone know if it is possible to tar files larger than 2GB? The reason being is they want me to dump a single file (which is around 20GB) to a tape drive and they will restore it on a Solaris box. I know the tar have a limitation of 2GB so I am thinking of a way how to overcome this.... (11 Replies)
I have an AIX server with a tape Library residing on it. I intend to restore the data backed up to the tape on Red Hat Enterprise Linux 5.
First , i would want to view the contents of the tape on RHEL 5(x86) but seems to be giving an input output error.
I observed that if i backup to tape on... (20 Replies)
Hi folks, i encountered an issue, no alarm is triggered when the tape is full on the Solaris server.
The tape is 72GB.
There is an alarm generating shell script in the server, which will trigger an alarm when it detects the tape is full.
Hence, I will receive SMS and email alerts.
This has been... (10 Replies)
Hello.
My name is Alex and I am new to the UNIX environment.
One of the things that I do on a daily basis is I perform backups to tape on a Sun Ultra 25. I use DAT72 tape.
The tape that is currently in the tape drive has about five database backups within it already. I was just hoping... (19 Replies)
I have used ioscan -fnC tape and the system identified the tape drive. what is the command to show a listing of what is on the tape? I have used ls /dev/rmt/rmt0 to no avail. can anyone help?
Thanks in advance (10 Replies)
Hello,
I have a legacy system that is running on SCO OpenServer 5.0.6, and the hardware is becoming a little sketchy. I replaced the hard drive about a year ago, and was able to come back from a tape backup of my entire system. I have been successful with building a VM with VMware Workstation,... (42 Replies)