cancel
Showing results for 
Search instead for 
Did you mean: 

Scratch tapes in robots command line

Fabian_Schwarz
Level 4

I'm looking for any way to verify how much scratch tapes I have in robots.

I need a fast command.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

RiaanBadenhorst
Level 6
Partner    VIP    Accredited Certified

You can use findstr on Windows :) Its similar to grep

View solution in original post

6 REPLIES 6

Andy_Welburn
Level 6

available_media

Output broken down by volume pool & will show whether loaded in robot or not.

With a little work you could also look at vmquery.

Marianne
Level 6
Partner    VIP    Accredited Certified

Try vmquery. For robot 0:

vmquery -rn 0 -bx |grep -i scratch

Andy_Welburn
Level 6

Those b****y hidden options!

Marianne
Level 6
Partner    VIP    Accredited Certified

Got it from a Symantec consultant some time ago... Gives more than -b and less than -w - just enough!

Would've been great if -rn could be used in conjunction with -p or -pn, but the command only accepts either or.

I've tried 'vmpool -bx -rn 0 -pn Scratch' but it comes back with command usage, showing ' | ' between the options....crying

The 'grep' will obviously only work on Unix server (unless some Unix tools are installed on the Win server...).

Andy_Welburn
Level 6

options" ;)

Been fiddling around trying to cut out the wheat from the chaff with the "-w" but the darn header kept getting in the way (and the previous volume pool entry!), also looked at the -rn/-p or -pn combo to no avail...

RiaanBadenhorst
Level 6
Partner    VIP    Accredited Certified

You can use findstr on Windows :) Its similar to grep