1820473 Members
3207 Online
109624 Solutions
New Discussion юеВ

tape

 
SOLVED
Go to solution
BPatel_1
Advisor

tape

Is it possible to eject a tape from the DDS drive using any command line utility / a script.

I have HP 9000 D-220 server with DDS-2 tape drive.


Thanks in advance
Bhadresh
5 REPLIES 5
eran maor
Honored Contributor
Solution

Re: tape

Hi

The command you want is:

mt -t offl
love computers
Shahul
Esteemed Contributor

Re: tape


Hi

Yes, U can and it is very simple.

#mt offl

Now ur dat will come out

Shahul
Michael Tully
Honored Contributor

Re: tape

Hi Bhadresh,

It is quite a simple task

e.g.

# mt -t /dev/rmt/0m rew (Rewinds the tape)
# mt -t /dev/rmt/offl (Ejects the tape)

You could place this into your backup script
and it would work nicely.

Regards
Michael
Anyone for a Mutiny ?
federico_3
Honored Contributor

Re: tape

I'd do like this:

mt -t /dev/rmt/0m rew
mt -t /dev/rmt/0m offl

BPatel_1
Advisor

Re: tape

Thanks for your replies guys.