04-25-2016
A couple of thoughts/questions:
1) Have you tried to restart your system, and make sure the tape is not in the tape drive at boot.
2) Try a second tape (to rule out a bad piece of media)
Have you tried to do this multiple times? The existing job access the tape is from two days ago.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
/dev/rmt/0: No such device or address
I get this when I do a "mt -f /dev/rmt/0 rewind"
This is on a Solaris 7 system.
I tried
devfsadm -c tape
and
drvconfig ; tape
and both didn't work.
Help please....... :confused: (4 Replies)
Discussion started by: shorty
4 Replies
2. UNIX for Dummies Questions & Answers
Hello guys,
on my Red Hat machine the /bin/mt status command gives the output dev/tape: inappropriate ioctl for device. This messages comes up after the Server has been rebooted.
Anybody an idea?
Thx
masterofdesaster (8 Replies)
Discussion started by: masterofdesaste
8 Replies
3. UNIX Desktop Questions & Answers
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni:
xterm &
Sul primo scrivo
cat /dev/ttyS2
... (0 Replies)
Discussion started by: blianna
0 Replies
4. UNIX and Linux Applications
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni:
xterm &
Sul primo scrivo
cat /dev/ttyS2
... (1 Reply)
Discussion started by: blianna
1 Replies
5. SuSE
Dear all,
we are running SLES 11 where an iscsi tape library is
attached. To load the tape in a slot we are using for
instance the command #mtx -f /dev/sg1 load 2 which is doing
very well.
But after a server's reboot the device name of the loader is now
/dev/sg4 or /dev/sg5 I mean it is... (1 Reply)
Discussion started by: xunil321
1 Replies
6. Solaris
I have an HP Proliant DL380 with Intel Processors that I recently loaded Solaris 10 with latest patches on it. I'm trying to do a ufsdump to an HP DAT 40 tape drive via SCSI, but I can't get it to do anything because /dev/rmt is empty. I've tried the following with luck:
touch /reconfigure,... (7 Replies)
Discussion started by: cvaughn
7 Replies
7. Hardware
# mt stat
HP DDS-4 DAT (Sun) tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
mt -f /dev/rmt/0mn erase
/dev/rmt/0mn: write protected or reserved.
Getting error while ufsdump ....
--- Dumping / to /dev/rmt/0mn ---
DUMP: Date... (1 Reply)
Discussion started by: vickyingle5
1 Replies
8. Solaris
# mt stat
HP DDS-4 DAT (Sun) tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
mt -f /dev/rmt/0mn erase
/dev/rmt/0mn: write protected or reserved.
Getting error while ufsdump ....
--- Dumping / to /dev/rmt/0mn ---
DUMP: Date... (5 Replies)
Discussion started by: vickyingle5
5 Replies
9. Hardware
hello to everybody
I have Ubuntu Lucid 10.04 installed on my Desktop and I have a PCI serial card in my computer and it has only one serial port.
Actually I want to use this serial port for the serial communication and for that I executed this command :
$ setserial -g /dev/ttyS
and I... (0 Replies)
Discussion started by: piyush011
0 Replies
10. UNIX for Advanced & Expert Users
Is there a trick to mounting swap in n a lvm? I can't get it to work.
# swapon -va
swapon on /dev/mapper/VG-lv_swap
swapon: /dev/mapper/VG-lv_swap: found swap signature: version 1, page-size 4, same byte order
swapon: /dev/mapper/VG-lv_swap: pagesize=4096, swapsize=4294967296,... (1 Reply)
Discussion started by: cokedude
1 Replies
MT(1) General Commands Manual MT(1)
NAME
mt - control magnetic tape drive operation
SYNOPSIS
mt [-V] [-f device] [--file=device] [--rsh-command=command] [--version] operation [count]
DESCRIPTION
This manual page documents the GNU version of mt. mt performs the given operation, which must be one of the tape operations listed below,
on a tape drive.
The default tape device to operate on is taken from the file /usr/include/sys/mtio.h when mt is compiled. It can be overridden by giving a
device file name in the environment variable TAPE or by a command line option (see below), which also overrides the environment variable.
The device must be either a character special file or a remote tape drive. To use a tape drive on another machine as the archive, use a
filename that starts with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user,
if you have permission to do so (typically an entry in that user's `~/.rhosts' file).
The available operations are listed below. Unique abbreviations are accepted. Not all operations are available on all systems, or work on
all types of tape drives. Some operations optionally take a repeat count, which can be given after the operation name and defaults to 1.
eof, weof
Write count EOF marks at current position.
fsf Forward space count files. The tape is positioned on the first block of the next file.
bsf Backward space count files. The tape is positioned on the first block of the next file.
fsr Forward space count records.
bsr Backward space count records.
bsfm Backward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
fsfm Forward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
asf Absolute space to file number count. Equivalent to rewind followed by fsf count.
seek Seek to block number count.
eom Space to the end of the recorded media on the tape (for appending files onto tapes).
rewind Rewind the tape.
offline, rewoffl
Rewind the tape and, if applicable, unload the tape.
status Print status information about the tape unit.
retension
Rewind the tape, then wind it to the end of the reel, then rewind it again.
erase Erase the tape.
mt exits with a status of 0 if the operation succeeded, 1 if the operation or device name given was invalid, or 2 if the operation failed.
OPTIONS
-f, --file=device
Use device as the file name of the tape drive to operate on. To use a tape drive on another machine, use a filename that starts
with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have
permission to do so (typically an entry in that user's `~/.rhosts' file).
--rsh-command=command
Notifies mt that it should use command to communicate with remote devices instead of /usr/bin/ssh or /usr/bin/rsh.
-V, --version
Print the version number of mt.
REPORTING BUGS
Report cpio bugs to bug-cpio@gnu.org
GNU cpio home page: <http://www.gnu.org/software/cpio/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report cpio translation bugs to <http://translationproject.org/team/>
MT(1)