Re: [Veritas-bu] Automating NBU ejects w/vmchange - Solaris
2009-12-18 15:13:59
-sec 1
Set interactive timeout to '1' second.
This is not documented in the vmchange manpage, but you can find
information on Google by searching "vmchange sec 1".
-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of fullejn
Sent: Friday, December 18, 2009 2:01 PM
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Subject: [Veritas-bu] Automating NBU ejects w/vmchange - Solaris
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
+----------------------------------------------------------------------
|This was sent by joshua.n.fuller AT lmco DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|