07-09-2009
A tape drive as with any SCSI device has to be set to a bus address that is not the same as any other device on the same SCSI bus, I hope someone else can confirm that tape device are usually set to target address 3 or 4. While down at
OBP's ok prompt you should see the tape drive listed when you run a:
ok> probe-scsi-all
once you can see it listed there then do a reconfiguration boot:
ok> boot -r
to get Solaris to "see" the tape drive, and as you have already suggested running:
# mt -f /dev/rmt/0 status
or
# mt -f /dev/rmt/1 status
is a good test for the tape once running Solaris.
10 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. Solaris
hi-
I just installed a quad gigaswift ethernet scsi card to my sunblade 150. I checked with the docs, and got all of the required drivers on the box. Now, I'm trying to mount an external scsi tape drive with no luck. I set the scsi address on the external drive to 0. Here's what I'm coming... (9 Replies)
Discussion started by: ECBROWN
9 Replies
3. Solaris
I will be honest I am quite new to UNIX and Solaris so this may be a simple thing.
I have just purchased a Sun (rebranded HP obviously) DAT DDS3 SCSI tape drive for my Sun Ultra 10 running Solaris 10.
I have previously fitted a SCSI card to the box which has configured ok and can be seen from... (1 Reply)
Discussion started by: mattw
1 Replies
4. SCO
my server os version is openserver 5.0.6.from past few days it is giving problem while taking backup.it is giving error such that "TAPE WRITE ERROR".anyone can help to come out of this. (3 Replies)
Discussion started by: prakrithi
3 Replies
5. SCO
I replaced a HP Superstore Dat 40 with another HP Superstore Dat 40, but my backupedge software keeps putting up error code 1 (device not found) I have tried reinstaling the drive as DAT Alad stp 0 6 0 0. I'm not a computer expert but willing to have a go. I went into Backupedge to try and format a... (2 Replies)
Discussion started by: James Zwecker
2 Replies
6. AIX
Hi folks,
I've got a little problem concerning my external dds4 tape drive.
I've got 2 rs6000 systems, one has a external dds4 tape drive attached, I want to attach the tape drive to the other rs6000 system so that i can restore data from the 1st rs6000 on to the second.
Does anybody has... (3 Replies)
Discussion started by: Erik Rooijmans
3 Replies
7. Solaris
Well I have just added new tape drive to my server (lto)
However I am getting few errors in using it. I have checked status with
#iostat -En : giving me few hard errors, few soft errors and execution error.
Also tape status is not visible as "no sense" its coming as "no additional sense".
I... (5 Replies)
Discussion started by: saurabh84g
5 Replies
8. AIX
Dear all,
I have ultriam3 tape. It is connected my LPAR. I have that the Sl.Nos. and slot number. but run the cfmgr i am not getting the tape drive.
I have fired the command lsdev -Cc tape but no reply.
how will i configure the tape in LPAR?
Please suggest. It is very urgent. (3 Replies)
Discussion started by: pernasivam
3 Replies
9. AIX
Hi,
I'm at AIX 5.3.
My EOD program is giving following error while writing to tape:
Can't write output
cpio: Media Surface error
Failed on Shell-script
cd /; cpio -ocB 2 >> /autoline/misc/logs/bk.CopyToTape < /autoline/work/BACKUP.01022 1>/dev/rm0
I have tried with several new tapes,... (2 Replies)
Discussion started by: tayyabq8
2 Replies
10. UNIX for Beginners Questions & Answers
Hello all,
I am EXTREMELY new to using bash and I have a bit of a problem: I'm trying to set up a shell script that can
1.) take one of several giant files off of an external hard drive
2.) use it as input for scripts on my laptop's hard drive
... (3 Replies)
Discussion started by: machine_spirit
3 Replies
LEARN ABOUT CENTOS
scsieject
scsieject(1) General Commands Manual scsieject(1)
NAME
scsieject - control SCSI tape devices
SYNOPSIS
scsieject [-f <scsi-generic-device>] commands
DESCRIPTION
The scsieject command controls SCSI devices in a platform-independent manner. As long as 'mtx' works on the platform, so does 'scsieject'.
OPTIONS
The first argument, given following -f , is the SCSI generic device corresponding to your tape drive. Consult your operating system's doc-
umentation for more information (for example, under Linux these are generally /dev/sg0 through /dev/sg15, under FreeBSD these are
/dev/pass0 through /dev/passX. Under Solaris this is usually the same as your tape drive (Solaris has a SCSI passthrough ioctl). You can
set the STAPE or TAPE environment variable rather than use -f.
COMMANDS
load Load the medium into the drive. When this command is issued to a CD/DVD drive and the tray is extended the tray will be
retracted if the drive is capable of it.
unload Unload the medium from the drive (also known as eject). When this command is issued to a CD/DVD drive or a tape drive the media
will be ejected if the device supports it.
start Start the device. Some devices require a start command after a media changer has loaded new media into the device.
stop Stop the device. Some devices require a stop command prior to unloading the medium from the device when using a media changer.
lock Lock the device. Locks the device so that the medium cannot be removed manually.
unlock Unlock the device. Unlocks the device so that the medium can be removed manually.
AUTHORS
This program was written by Robert Nelson <robertnelson@users.sourceforge.net> based on the scsitape program written by Eric Lee Green
<eric@badtux.org>. Major portions of the 'mtxl.c' library used herein were written by Leonard Zubkoff.
HINTS
Under Linux, cat /proc/scsi/scsi will tell you what SCSI devices you have. You can then refer to them as /dev/sga, /dev/sgb, etc. by the
order they are reported.
Under FreeBSD, camcontrol devlist will tell you what SCSI devices you have, along with which pass device controls them.
Under Solaris 7 and 8, /usr/sbin/devfsadm -C will clean up your /devices directory. Then find /devices -name 'st@*' -print will return a
list of all tape drives. /dev on Solaris is apparently only of historical interest.
BUGS AND LIMITATIONS
There are no known bugs or limitations.
AVAILABILITY
This version of scsieject is currently being maintained by Robert Nelson <robertnelson@users.sourceforge.net> as part of the 'mtx' suite of
programs. The 'mtx' home page is http://mtx.sourceforge.net and the actual code is currently available there and via SVN from
http://sourceforge.net/projects/mtx.
SEE ALSO
loaderinfo(1),tapeinfo(1),mtx(1)
scsieject1.0 scsieject(1)