09-08-2011 08:43 AM
I am trying to run commands on my windows master server to see how many scratch tapes their are for a particular robot. Is there a way to make vmquery do this? If not does anyone know of a way to get this information?
Solved! Go to Solution.
09-08-2011 10:11 AM
For robot 0:
vmquery -rn 0 -bx |grep -i scratch
If Windows, use findstr instead of grep.
09-08-2011 09:05 AM
Andy gave a good command to do it.
http://www-secure.symantec.com/connect/forums/how-find-scratch-tapes-library-through-commandline
09-08-2011 10:11 AM
For robot 0:
vmquery -rn 0 -bx |grep -i scratch
If Windows, use findstr instead of grep.
09-08-2011 11:25 AM
vmquery -rn 0 -bx | grep -i scratch | wc -l
09-08-2011 11:56 PM
# vmquery -Q
UNSUPPORTED OPTIONS
-bx
Brief 1-line-per-volume format used by xvmadm.
altho' why it should be "unsupported" is beyond me....