8 More Discussions You Might Find Interesting
1. HP-UX
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)
Discussion started by: Randydog
10 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Using Redhat 5.7. I have Quantum tape drive connected to the server. I am trying to install the Netbackup software. Just wondering how can I see the Quantum is connected to the server. is any command I run to see the tape drive is connected?
I used to work on Solaris, I used to do... (1 Reply)
Discussion started by: samnyc
1 Replies
3. Solaris
Hey folks,
Linux admin here, forced to use Opensolaris to try to use ufsdump/ufsrestore to get some data of some old tapes.
I've got Opensolaris 2009.06 on x86 and a Sony SDX-700V.
As a "control" experiment, I booted the system with a Linux live CD and the tape drive worked perfectly.
... (2 Replies)
Discussion started by: eddy_sysad
2 Replies
4. SCO
Dear All,
I have a tape drive which has worked for offer 3yrs properly on SCO Openserver Release = 3.2v5.0.5. I tried to clean it all invain. I did a fresh installation of unix of the same OS and did the configuration still didn't bear fruits. The tape is a scsi and the configuration is as... (4 Replies)
Discussion started by: njoroge
4 Replies
5. AIX
Hello everyone
I have a problem with one of my drives in an aix box. The library is a 3583 and Aix is 5.3 TL9
The problem was that the fibre channel not work and I change the fibre but when I logging to the aix box I got this in the rmt3
lsdev | grep rmt
rmt0 Available 03-08-00-6,0... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
6. AIX
I have tape drive in one Lpar. when i saw that time tape is in defined state. After that i deleted the tape drive using the rmdev -R command. Then fired the cfgmgr -v command. But I am not getting the tape drive. Now the drive is even not in defined state also. It is not shown the tape drive. How... (1 Reply)
Discussion started by: pernasivam
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I need to restore my tape backup, when I type "tape status" it gives;
status : ready beginning-of-tape write-protected
soft errors : 0
hard errors : 0
underruns : 3
but... (4 Replies)
Discussion started by: alisevA3
4 Replies
8. AIX
Hello all,
I have just installed an HP dat72 external tape drive to an IBM 275 Intellistation (AIX 5L). It was installed as an Other SCSI Tape Drive (rmt1). I am using the Web Based System Manager at this point to do an initial backup
of a journaled file system. I am getting an error and am... (1 Reply)
Discussion started by: joeweisser
1 Replies
mt(1) User Commands mt(1)
NAME
mt - magnetic tape control
SYNOPSIS
mt [-f tapename] command... [count]
DESCRIPTION
The mt utility sends commands to a magnetic tape drive. If -f tapename is not specified, the environment variable TAPE is used. If TAPE
does not exist, mt uses the device /dev/rmt/0n.
OPTIONS
The following option is supported:
-f tapename Specifies the raw tape device.
OPERANDS
The following operands are supported:
count The number of times that the requested operation is to be performed. By default, mt performs command once. Multiple opera-
tions of command may be performed by specifying count.
command Available commands that can be sent to a magnetic tape drive. Only as many characters as are required to uniquely identify
a command need be specified.
eof Writes count EOF marks at the current position on the tape.
weof
fsf Forward spaces over count EOF marks. The tape is positioned on the first block of the file.
fsr Forward spaces count records.
bsf Back spaces over count EOF marks. The tape is positioned on the beginning-of-tape side of the EOF mark.
bsr Back spaces count records.
nbsf Back spaces count files. The tape is positioned on the first block of the file. This is equivalent to
count+1 bsf's followed by one fsf.
asf Specifies absolute space to count file number. This is equivalent to a rewind followed by a fsf count.
If count is specified with any of the following commands, the count is ignored and the command is performed only once.
eom Spaces to the end of recorded media on the tape. This is useful for appending files onto previously written
tapes.
rewind Rewinds the tape.
offline Rewinds the tape and, if appropriate, takes the drive unit off-line by unloading the tape.
rewoffl
status Prints status information about the tape unit.
retension Rewinds the cartridge tape completely, then winds it forward to the end of the reel and back to beginning-
of-tape to smooth out tape tension.
reserve Allows the tape drive to remain reserved after closing the device. The drive must then be explicitly
released.
release Re-establishes the default behavior of releasing at close.
forcereserve Breaks the reservation of the tape drive held by another host and then reserves the tape drive. This com-
mand can be executed only with super-user privileges.
erase Erases the entire tape. Caution: Some tape drives have option settings where only portions of the tape may
be erased. Be sure to select the correct setting to erase the whole tape. Erasing a tape may take a long
time depending on the device and/or tape. Refer to the device specific manual for time details.
config Reads the drives current configuration from the driver and displays it in st.conf format. See st(7D) for
definition of fields and there meanings.
EXIT STATUS
0 All operations were successful.
1 Command was unrecognized or mt was unable to open the specified tape drive.
2 An operation failed.
FILES
/dev/rmt/* magnetic tape interface
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
tar(1), tcopy(1), ar.h(3HEAD), environ(4), attributes(5), mtio( 7I), st(7D)
BUGS
Not all devices support all options. Some options are hardware-dependent. Refer to the corresponding device manual page.
mt is architecture sensitive. Heterogeneous operation (that is, SPARC to x86 or the reverse) is not supported.
SunOS 5.10 1 Sep 2004 mt(1)