1833857 Members
3353 Online
110063 Solutions
New Discussion

Ejecting DDS tapes

 
Todd Shawcross
New Member

Ejecting DDS tapes

Can anyone tell me what command I can use to eject a DDS3/4 tape? I want to add this to the end of our backup script so the tape ejects when the backup is complete.

Thanks.
Todd
8 REPLIES 8
KCS_1
Respected Contributor

Re: Ejecting DDS tapes

Hi,Todd

Look at the manpage of "mt" more detail information,

# mt offl ( Tape offloading command )



Best Regards

-Patrick

Easy going at all.
Rajeev  Shukla
Honored Contributor

Re: Ejecting DDS tapes

Its
mt -f offl

this will rewind the tape and eject

go through the man pages of mt

cheers
Rajeev
Michael Tully
Honored Contributor

Re: Ejecting DDS tapes

To offload a tape.

I usually rewind them first.

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

to offload

# mt -t /dev/rmt/0m offl
Anyone for a Mutiny ?
twang
Honored Contributor

Re: Ejecting DDS tapes

# mt off
Sanjiv Sharma_1
Honored Contributor

Re: Ejecting DDS tapes

Hi Todd,

# mt -t offl

eg:
# mt -t /dev/rmt/0m offl

Thanks,
Everything is possible
Todd Shawcross
New Member

Re: Ejecting DDS tapes

Thanks guys. Much appreciated.
Caesar_3
Esteemed Contributor

Re: Ejecting DDS tapes

Hello!

mt offl

mt -f offl

If you don't use the -f option than it
will use the /dev/rmt/0m as the dds device.

Caesar
Trond Haugen
Honored Contributor

Re: Ejecting DDS tapes

If your tape device file is /dev/rmt/0m:
mt offl
othervise:
mt -f /dev/rmt/ offl

You will not get the prompt back until the IO is compleated and that will take some sec's.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn