Operating System - HP-UX
1832396 Members
3380 Online
110041 Solutions
New Discussion

Re: tape not getting ejected

 
SOLVED
Go to solution
fizan
Super Advisor

tape not getting ejected

tape 0 0/1/1/1.3.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/0m /dev/rmt/c3t3d0BESTn /dev/rmt/c3t3d0DDSb
/dev/rmt/c3t3d0BEST /dev/rmt/c3t3d0BESTnb /dev/rmt/c3t3d0DDSn
/dev/rmt/c3t3d0BESTb /dev/rmt/c3t3d0DDS /dev/rmt/c3t3d0DDSnb

how to eject the tape from command line?
4 REPLIES 4
melvyn burnard
Honored Contributor

Re: tape not getting ejected

If I recall, use the mt command, something like mt -t /dev/rmt/0m offline

man mt to make sure of my memory :-]
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
piyush mathiya
Trusted Contributor
Solution

Re: tape not getting ejected

Use

mt -f /dev/rmt/0mn rew
mt -f /dev/rmt/omn offline
Hakki Aydin Ucar
Honored Contributor

Re: tape not getting ejected

TO see Tape status:

# mt -f /dev/rmt/0mn status
Drive: HP C5683A
Format:
Status: [41112600] BOT online compression immediate-report-mode
File: 0
Block: 0

To Eject tape:

# mt -f /dev/rmt/0mn offl
Raj D.
Honored Contributor

Re: tape not getting ejected

fizan,
Try: (Hope os is 11.23 )

# mt -t /dev/rmt/0mn status
# mt -t /dev/rmt/0mn offl
- Wait for 1 min.
# mt -t /dev/rmt/0mn status

Cheers,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "