07-10-2002
Check out the mt command - doing a forcereserve may work
OR
if this is a single tape drive you might be able to eject the tape manually - not sure about a jukebox (turning off a jukebox or opening it up and ejecting manually may work)
OR
theory: try the eject command with -f - not sure if it will take a tape device and no way for me to test.
what OS and version and type of tape drive may get more answers. What software is being used to control the device?
9 More Discussions You Might Find Interesting
1. SCO
i hit ping to ping a server, and it keeps going.
how do you stop it? ctrl Z, D, C, nothing works. (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
2. UNIX for Advanced & Expert Users
Hi ,
I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing .
Now i want to stop others users to know what i am doing accept the root ?
can i do this ?
thanks (5 Replies)
Discussion started by: mobile01
5 Replies
3. UNIX for Advanced & Expert Users
Hello,
I am hosting a site that someone is bouncing a huge amount of spam off of and I have not been able to find what file they are using to abuse my server.
Short of terminating the account and telling my customer to take a hike I am hoping someone can help me find the file that is being... (1 Reply)
Discussion started by: dorpan
1 Replies
4. Solaris
Hi,
I have replaced my current Intel PC machine with Solaris 10, it use to have windows XP.
I am sure alot of people already done this and i have seen Solaris running smoothly but having keyboard problem.
What is the equal keys in a QWERTY keyboard for selection <Stop+A> ?
Is there a... (5 Replies)
Discussion started by: tlee
5 Replies
5. AIX
Dears all
i have an AIX box in which i am facing a problem with a process as below:
/usr/dt/bin/dtexec -open 0 -ttprocid
and each time i am killing this process with "kill -9" then it run again after a while.
any ideas or solutions will be appreciated. (13 Replies)
Discussion started by: TheEngineer
13 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am running parallel process as they all run the same JOBS and only thing which changes is the argument which ia passed.
I am doing it as follows
script.sh $1 &
script.sh $2 &
script.sh $3 &..
and so on.
Now each process has same set of JOBS which are to be executed. Now say... (1 Reply)
Discussion started by: Prashantckc
1 Replies
7. Solaris
I am using solaris x86 with a pc keyboard. i am trying to get to the ok prompt i have tried ctrl-break but it is not working , alt-break will not as well.
pls any thought? (4 Replies)
Discussion started by: seyiisq
4 Replies
8. UNIX for Dummies Questions & Answers
I have the following log file running since yesterday and its consuming so much of the disk space.
-rw-rw-r-- 1 dev dba 4543237120 Nov 10 09:00 load_run_file1_0.1111091224.lg
How do i kill this process. I don't have any idea of stopping this. Any help would be really appreciated.
... (3 Replies)
Discussion started by: bobby1015
3 Replies
9. Red Hat
I have a user ( and actually me too) getting this messages when the screen is idle, I need help on stopping this messages:
2012 Feb 20 13:30:22 servername Audit: LENGTH: "330" SESSIONID: "339384" ENTRYID: "1" STATEMENT: "1" USERID: "OPS$PT2ADM" USERHOST: "zzzzzzzzzzz" ACTION: "100" RETURNCODE:... (2 Replies)
Discussion started by: 300zxmuro
2 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)