02-19-2002
Ok,
I Experienced this problems before. You may try with this steps.
If you can tar cvf /dev/rStp0 .(or rStp1 if this was the second drive), but cannot do "tape" commands, then run mkdev tape again and select the default tape drive. Or for a quicker test:
rm /dev/xct0
mknod /dev/xct0 c 46 128 (assuming rStp0)
and then try "tape status" etc.
For tapes, the minor number for ioctl is 128. The ioctl devices are /dev/xct0, /dev/xStp0, etc. If you have created a SCSI tape, but didn't set it as default, then the /dev/xct0 is
crw-r--r-- 1 root sys 10,128 Sep 21 10:35 /dev/xct0
which has the right minor number, but the major (10) is for a cartridge tape, not SCSI.
You could fix this as suggested above, or by editing /etc/default/tape and changing the
device = /dev/xct0
to
device = /dev/xStp0
Give a try first, let me know if this helps.
Works for me.
8 More Discussions You Might Find Interesting
1. Linux
Hi,
Will someone help in giving the clue to installating Travan Tape drive on Redhat 8.0
Kayode (1 Reply)
Discussion started by: kayode
1 Replies
2. 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
3. Solaris
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)
Discussion started by: eykyn17
9 Replies
4. 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
5. 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
6. Solaris
I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch.
I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies
7. 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
8. Solaris
I have a SunFire V445 running Solaris 10 and am adding a Sun DLT tape drive. From the OK prompt the probe-scsi-all does see the drive and it is the proper target of 4. When I do the boot -- -r it does build the /dev/rmt directories correctly and the links to /devices appear correct as well. When I... (8 Replies)
Discussion started by: chastings
8 Replies
tz(4) Kernel Interfaces Manual tz(4)
Name
tz - SCSI magnetic tape interface
Syntax
VAX NCR 5380:
adapter uba0 at nexus?
controller scsi0 at uba0 csr 0x200c0080 vector szintr
tape tz0 at scsi0 drive 0
VAX DEC SII:
adapter ibus0 at nexus?
controller sii0 at ibus? vector sii_intr
tape tz0 at sii0 drive 0
RISC DEC SII:
adapter ibus0 at nexus?
controller sii0 at ibus? vector sii_intr
tape tz0 at sii0 drive 0
RISC DEC KZQ:
adapter uba0 at nexus?
controller kzq0 at ibus? csr 0761300vector sii_intr
tape tz0 at kzq0 drive 0
RISC NCR ASC:
adapter ibus0 at nexus?
controller asc0 at ibus? vector ascintr
tape tz0 at asc0 drive 0
Description
The SCSI tape driver provides a standard tape drive interface as described in This is a driver for any Digital SCSI tape device.
For the TZK10 QIC format tape drive, the densities supported are QIC-24 (read only) block size of 512 byte blocks, QIC-120, and QIC-150
read/write block size of 512 byte blocks, and QIC-320 read/write block size of 1024 byte blocks. With QIC format style tapes all reads and
writes must be in multiple of the block size. This is a requirement of fixed block tape drives because record boundaries are not pre-
served. The QIC densities are selected using the following special device names:
QIC-24 Fixed block size.
QIC-120 Fixed block size.
QIC-150 Fixed block size.
QIC-320 Fixed block size.
With all fixed block tape devices a of a file to the tape must be padded out. An example of this is a of which has a size of approximately
3800 bytes.
dd if=/etc/gettytab of=/dev/rmt0h bs=10k conv=sync
or
dd if=/etc/gettytab of=/dev/rmt0l bs=512 conv=sync
The option of pads the output to block size.
This driver also supports n-buffered reads and writes to the raw tape interface (used with streaming tape drives). See for further
details.
Tape Support
TZ30, TZK50, TLZ04, TSZ05, TKZ08, TZK10
Diagnostics
All diagnostic messages are sent to the error logger subsystem.
Files
See Also
mtio(4), nbuf(4), SCSI(4), MAKEDEV(8), uerf(8), tapex(8)
Guide to the Error Logger
tz(4)