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
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
1 comment:
Yes, its common task but new to storage like me it is quick tip
Post a Comment