[Veritas-bu] Eject tapes from command line?
2002-05-29 17:41:29
Subject: |
[Veritas-bu] Eject tapes from command line? |
From: |
bblake AT veritas DOT com (Brian Blake) |
Date: |
Wed, 29 May 2002 17:41:29 -0400 |
yeah, vmchange with the -e will do the trick if you're using a netbackup/media
manager controlled robot (i.e. tld, tl8)...
i think you also need to put the residence of the media... something like:
vmchange -vh <master-server> -res -m <media-id> -mt <media-type> -rt none -v
<non-robotic-volume-group> -rc1 0 -rc2 0 -e
that's basically how we do it with bpvault...
b-
Christopher Manders wrote:
> Hi,
>
> Ok. So, I want to script up something that will auto-eject _old_ tapes from
> our library when we need to add tapes and the unit is full. I already have
> the robotic checks set up and working, but I need a way to circumvent
> operator error when a decision is needed for what tapes to eject. Basically,
> I am looking at the assigned data and whether the tape is FULL. If it is
> FULL and it is old, and tapes need to be inserted, I want the tapes with
> VolSers matching my criteria to be auto-ejected to the Load Port. I have
> briefly looked at how bpvault does its thing, but I did not immediately find
> what I was looking for and decided to ask this group. In Legato I would use
> nsrjb with a -w option. It looks like vmchange is uses in vault in the
> eject_tapes script to eject the tapes...but the -e option used in there is
> not documented. Is that what is ejecting the tapes?
>
> Thanks!
>
> Chris
>
> _______________________________________________
> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
--
Brian Blake
Professional Services Organization
VERITAS Software
brian.blake AT veritas DOT com
Office: (716) 706-0155
Cell: (716) 440-3140
|
|
|