1835210 Members
2276 Online
110077 Solutions
New Discussion

How to eject tape

 
SOLVED
Go to solution
David_246
Trusted Contributor

How to eject tape

Hi,

I have a question about how to eject a tape with still making use of a tape-device with the n(o-rewind).
Sun has an "eject" command. Is there a command for HP to use, to eject a tape?

Thanks a lot in advance.

Regs David
@yourservice
4 REPLIES 4
Mark Grant
Honored Contributor
Solution

Re: How to eject tape

mt -t /dev/rmt/whatever offl

THat normally does it.
Never preceed any demonstration with anything more predictive than "watch this"
Pete Randall
Outstanding Contributor

Re: How to eject tape

David,

It doesn't make any difference if you've been using the no-rewind device or not, just issue the mt offl command: mt -f /dev/rmt/0m offl



Pete


Pete
Keith Bevan_1
Trusted Contributor

Re: How to eject tape

The command required is mt -f tapename offl
eg mt -f /dev/rmt/0mn offl

The tapename can be a rewind or no rewind device.

'mt -t' is in some operating systems obsolete, so more practical to use mt -f.

'offl' stands for rewind the tape and go offline.

Keith
You are either part of the solution or part of the problem
Steven E. Protter
Exalted Contributor

Re: How to eject tape

Script attached, nothing special.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com