[Veritas-bu] netbackup available_media script
2004-11-10 09:36:16
Subject: |
[Veritas-bu] netbackup available_media script |
From: |
pcd AT xinupro DOT com (Peter DrakeUnderkoffler) |
Date: |
Wed, 10 Nov 2004 09:36:16 -0500 |
dale AT daleking DOT org wrote:
>Hi All,
>
>The available_media script in /usr/openv/netbackup/bin/goodies is a dog
>
>for sites with a large number of tapes.
>I've rewritten this script in perl for performance and was wondering if
>anyone who uses the veritas version would like to test it.
>
>On our system ~1400 carts the veritas version takes ~55 minutes. This
>version takes ~12 seconds and emulates the output, including the -summary
>option.
>
>Things to note:
> - added -size option to display data sizes in Ki/Mi/Gi
> - added -pool= to only show a specific pool name
> - added WARNING lines if multiple mediaids are found in the MM
> (remove or filter these lines if you depend on the output
> format)
> - my perl is weak - please submit improvements after which I'll
> make it generally available somewhere else
> - only tested with nbu 4.5 under AIX
> - don't forget to update the script with the location of perl
> on your system
>
>I hope someone finds this useful.
>
>- Dale
>
>
>------------------------------------------------------------------------
>
Nice piece of work.
On NBU 5.x, bpmedialist does not recognize the "-ev" option. In 4.5,
it looks like the output
is the same with or without the "-ev" as I think normally that option
takes a media id argument.
The new option is "-m".
Thanks
Peter
|
|
|