Re: [Veritas-bu] Automating NBU ejects w/vmchange - Solaris
2009-12-18 14:18:20
On Fri, Dec 18, 2009 at 02:01:02PM -0500, fullejn wrote:
>
> I am currently using this one-liner to eject all tapes from a list. It works
> in that I can build a tape list and save me the headache of entering tape #
> by tape #, but I still have the aggravation of having to interact with the
> command as it prompts me to confirm every eject with a keystroke.
>
> Does anyone know a way to bypass this so I don't have to sit in front of the
> terminal hitting the enter key all day?
>
> for line in $(cat ./1); do vmchange -res -multi_eject -w -verbose -rn 1 -rt
> tld -rh backup1 -vh backup1 -ml $line; done
What version? For 6 and up, you can add -single_cycle and it spits out
some extra information, but doesn't require interaction.
Use that term in a search and you can see a few old threads about it.
--
Darren
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|