09-13-2002
I can only presume your tape reset function is a script of sorts.
I presume again that all it does is rewnd the tape.
this can be done as follows.
mt -f /dev/rmt/tl5 rewind
/dev/rmt/tl5 being the device id of the physical tape drive unit.
Hope that helps
U4ia-F8
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:mad: I did this the other day but one of my support personnel removed my history so i could call it back up to remeber the exact command since i am air-headed at times. I am trying to take a 30 MEG file off the system and drop it to tape then i want to make the file go back to being 0 bytes so... (1 Reply)
Discussion started by: JackieRyan26
1 Replies
2. Solaris
I have two tape drives attached to my system , and i am trying to copy one tape to another using both tape drives and using the following command :
dd if=/dev/rmt/1 of=/dev/rmt/2
but unfortunitly i am getting the following error :
read: Not enough space
0+0 records in
0+0 records... (2 Replies)
Discussion started by: itsgeorge
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape.
Thanks
DOMENICO (3 Replies)
Discussion started by: Minguccio75
3 Replies
4. UNIX for Dummies Questions & Answers
Hi there: I'm new here
Can anyone help me:
I have DS15 Alpha server : Unix 5.1B
Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit.
What is the exact comman to mount the DLTape IV??
How do i make backuo @ copy file to the tape?
Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies
5. AIX
I am new to AIX. I want to make a duplicate tape. How can I do that ? (1 Reply)
Discussion started by: Anonno
1 Replies
6. SCO
when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several:
Status : ready beginning-of-tape
soft errors : 0
hard errors: 2
underruns: 5
My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies
7. AIX
Hello,
We need to make a copy of a backup tape, using the 2 tape recorders in IBM 3582 Tape Library
We tried tu use "tcopy", it seems to work fine (no error messages) but we aren't sure if we can rely on it.
my question is how to check if the copy succeded or not, but i also want to know... (3 Replies)
Discussion started by: fastlane3000
3 Replies
8. UNIX for Dummies Questions & Answers
I am using a 4mm tape to backup my Unix system. However, I wanted to make a copy all of the files and archive headers (or just the archive headers if that's possible) created on one of my tapes to another 4mm tape. I only have one tape drive. Is there a command that will complete such task? ... (1 Reply)
Discussion started by: acoco
1 Replies
9. AIX
I am trying to use this command to eject the tape
mt -f /dev/rmt/0 unload
but it gives me error
mt -f /dev/rmt/0 unload
mt: 0511-575 unload is not a recognized subcommand.
Usage: mt Subcommand
Valid subcommands are:
weof
eof
fsf
bsf
... (5 Replies)
Discussion started by: filosophizer
5 Replies
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)