Wednesday, February 28, 2007

How to Rewind and Eject a Tape

This is a fairly common task. However, I'm often asked how to rewind and then eject a 4mm tape. It's easy--Of course, it's always easy once you know.

To rewind a tape (default)
#mt /dev/rmt/0 rewind

To rewind and eject a tape
#mt /dev/rmt/0 offline

For the second tape drive
#mt -f /dev/rmt/1 rewind
#mt -f /dev/rmt/1 offline

1 comment:

Kumar.G said...

Yes, its common task but new to storage like me it is quick tip