?
Solved

Ejecting a BackUp Tape after it has completed it's backup from an IBM RS/6000

Posted on 1999-12-23
1
Medium Priority
?
241 Views
Last Modified: 2010-04-21
I have an IBM RS/6000 running IBM's AIX 4.2.1 OS.  I need the tape drive to eject the tape after it has completed it's backup.  I'm using AIX's backup software.  The tape drive is an Exabyte 20 Gig, Device name is /dev/rmt0
Backup is currently Cronned.
Here is the current backup command in our Cron:

tar cvSfb 0b /dev/rmt0 20 / | tee -a /usr/lib/mis/pq/CMHCBKUP.list

0
Comment
Question by:Ed Walsh
1 Comment
 
LVL 12

Accepted Solution

by:
tel2 earned 200 total points
ID: 2304467
ewalsh,

Try putting this at the end of the script:
  mt -f/dev/rmt0 offline
or, since /dev/rmt0 should be the default for mt, this should work too:
  mt offline

Let me know how you get on.
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

599 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question