1832997 Members
2382 Online
110048 Solutions
New Discussion

Re: Can't eject tape!!!

 
Simon Liu_2
Occasional Contributor

Can't eject tape!!!

Machine:K220
Tape: DDS2
Symptoms: When changing 3rd tape, the drive just won't eject the tape, kill the backup processes and the tape light keeps flashing. Press eject button and no response, any idea?
Thans in advance

Simon L.

P.S. (/var/adm/syslog/syslog.log:tape hardware path 10/4/8.0.0.0: offline event reported, 85 I/O error entries were lost)
5 REPLIES 5
Donny Jekels
Respected Contributor

Re: Can't eject tape!!!

Simon,

do a ioscan -funC tape

this will dispaly the tape in memory. record the device path.

then cd /dev and see if you can find the special file.

if not there, do a

insf -e

. not sure why the device file got lost. this is what you R saying right?
"Vision, is the art of seeing the invisible"
Helen French
Honored Contributor

Re: Can't eject tape!!!

Check if any process is still holding that device :

# ps -ef

If any, kill those processes and release the tape. You can also try 'mt' commands:

# mt -t /dev/rmt/0m status
# mt -t /dev/rmt/0m offl

Also, check if the drive has any hardware failure too.
Life is a promise, fulfill it!
Jim Mallett
Honored Contributor

Re: Can't eject tape!!!

You can try the following to take the tape drive offline, and then try hitting eject:
mt -t /dev/rmt/?m offl

Do you use OmniBack? You could use the uma command to manually move the tape from the drive out to the slot.

Try man mt and man mc for more info.

Jim
Hindsight is 20/20
Steven E. Protter
Exalted Contributor

Re: Can't eject tape!!!

If all else fails,

reboot the system and try and eject that tape right after the shutdown message on the console.

If the tape is physically jammed, you'll need to take out the tape drive, and remove the tape. Mos likely under this scenario, the tape drive is toast and you'll need to isntall a new one.

If you get it from HP they'll replace it with a DDS3 drive, they don't do DDS2 anymore.

SEP
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
Anil C. Sedha
Trusted Contributor

Re: Can't eject tape!!!

this will help you

mount -f /dev/rmt/0m offline

regards,
anil
If you need to learn, now is the best opportunity