Does the tape not eject when you press the eject button or do you want to eject it from a script. If the first one then check that nothing is writing to it or than a process has control of if (ps, or lsof perhaps). The second should be mt offline or supply -f to give the device file.
HTH
I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
Thanks for the help. I want to eject the tape however is possible.
The eject button is not working even at >>> prompt. In the DEC UNIX, no ps has a control of the device since the server was rebooted.
Is there a command at >>> command to eject tape? (By the way the tape drive is interal on an AlphaServer 1000A runing DEC UNIX 4.0E)
The command
mt -d /dev/nrst0h offline or
mt -f /dev/nrst0h offline
and similar, should eject the tape out. But I had experience the same. The tape was not ejected even I pushed the button as suggested by dblair. Now I sacrificed the tape, changed it with exabyte, which had lower density.
Anyone has an old TZ tape drive? Please contact me via my private e-mail.
Thanks to everyone for the tips. None of tip has worked. Any command to the tape drive produces I/O Error. It appears that there is a HW problem, but I should be able somehow to get the tape out.
May be the device file is corrupted.
If it a TZ tape try recreating the device file. It it is the first tape drive, first remove all /dev/nrmt0*. Then in /dev directory do this command
./MAKEDEV tz*
If the TZ tape is connected and detected, then the associated device files will be created such as /dev/rmt0a /dev/rmt0b ... /dev/rmt0h, /dev/nrmt0a, /dev/nrmt0b
If this doest not work, please post the output of command "show dev" from >>> prompt. Good Luck
The results of >>>show dev was
mka400.4.0.200.0 MKA400 TLZ09 0305
apparently your tape drive was tlz, one of the tape drive series.
Your your unability to eject the tape is probably the tape mangled inside. Be careful to pull it out, otherwise you will damage your drive.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.