The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
force tape to eject on aix progressdll Filesystems, Disks and Memory 1 04-29-2009 04:58 AM
Eject CDROM? leenguyen0101 AIX 4 03-18-2008 01:48 AM
Tape eject using nsrjb Argus SUN Solaris 1 10-10-2005 08:31 AM
cd rom dont eject lo-lp-kl UNIX for Dummies Questions & Answers 1 10-06-2005 05:50 PM
cdrom will not eject dennisca SUN Solaris 4 09-26-2003 11:51 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-08-2001
bbhavis bbhavis is offline
Registered User
  
 

Join Date: Jun 2001
Location: Singapore
Posts: 1
Eject Tape

Hi,

I'm using AIX and I'm looking for a command that can eject the tape. Any help is highly appreciated.

Regards,

BS
  #2 (permalink)  
Old 06-08-2001
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
-rewind
  #3 (permalink)  
Old 06-08-2001
PxT's Avatar
PxT PxT is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
Try the 'mt' command.
  #4 (permalink)  
Old 06-15-2001
sensfan sensfan is offline
Registered User
  
 

Join Date: Mar 2001
Location: Ottawa, Ontario, Canada
Posts: 2
Unload

try

mt -f /dev/rmt/0 unload

Change the /dev/rmt/0 to your specs.

mt(1) DG/UX R4.20MU06 mt(1)


NAME
mt - magnetic tape control

SYNOPSIS
mt [ -f tapename ] command [ count ]

DESCRIPTION
mt sends commands to a magnetic tape drive. If tapename is not specified, the environment variable TAPE is used. If TAPE does not
exist, mt prints an error message. Note that tapename must refer to a raw (not block) tape device. For tape-positioning operations, the tape device should be a non-rewinding device; otherwise, the tape rewinds at the end of the operation regardless of any position
request. For example, specify /dev/rmt/0n instead of /dev/rmt/0.

By default, mt performs the requested operation once; count specifies multiple operations.
The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified. Not
all commands are supported by all devices. eof, weof Write count EOF marks at the current position on the tape.
fsf Forward space count files.

fsr Forward space count records.

bsf Back space count files.

bsr Back space count records.

rewind Rewind the tape. The count argument is ignored with this command.

offline, rewoffl
Rewind and unload.

status Print status information about the tape unit. The count
argument is ignored with this command. If the device is a CLARiiON tape array, the status information reported will include: the tapeset id, the number of tapes in the tapeset, the write-protect status, and whether the tapeset was written using parity. Note the status command will change the tape position based on the raw tape device specified.

retension Retension the tape. The count argument is ignored with
this command.

eom Position to the end of the medium. The count argument is ignored with this command.

load Load the tape. The count argument is ignored with this command.

posload Position the autoloader (magazine) to count slot number and load the tape. If count is negative then eject the magazine.

unload Unload, or eject, the tape. The count argument is ignored with this command.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0