<<lib_usage>>
Attached is a Perl script that we use to calculate the capacity and usage of our physical and virtual tape libraries. It parses the available_media output and based on the average capacity of each "FULL" tape, it is able to determine an approximate capacity and usage of the whole library. It's not exact, but saves time not having to bplabel virtual tapes to see the capacity in the VTL.
Note: For VTLs, this calculation only works if thin provisioning or over allocation is not used.
Sample output:
Robot: 1 - Total number of HCART2 FULL tapes: 59
Robot: 1 - Total amount of data on HCART2 FULL tapes (GB): 30502
Robot: 1 - Average HCART2 tape holds(GB): 516
Robot: 1 - Number of non-FULL tapes: 111
Robot: 1 - Total data on non-FULL tapes(GB): 11077
Robot: 1 - Total tapes allocated: 188
Robot: 1 - Estimated total possible capacity: 97008
Robot: 1 - Amount of data left on tape(GB): 46199
Robot: 1 - With 188 tapes of type HCART2 the amount used is 43%
Robot: 2 - Total number of HCART FULL tapes: 767
Robot: 2 - Total amount of data on HCART FULL tapes (GB): 22890
Robot: 2 - Average HCART tape holds(GB): 29
Robot: 2 - Number of non-FULL tapes: 522
Robot: 2 - Total data on non-FULL tapes(GB): 1496
Robot: 2 - Total tapes allocated: 1300
Robot: 2 - Estimated total possible capacity: 37700
Robot: 2 - Amount of data left on tape(GB): 13642
Robot: 2 - With 1300 tapes of type HCART the amount used is 65%
Robot: 3 - Total number of HCART FULL tapes: 806
Robot: 3 - Total amount of data on HCART FULL tapes (GB): 25001
Robot: 3 - Average HCART tape holds(GB): 31
Robot: 3 - Number of non-FULL tapes: 466
Robot: 3 - Total data on non-FULL tapes(GB): 874
Robot: 3 - Total tapes allocated: 1300
Robot: 3 - Estimated total possible capacity: 40300
Robot: 3 - Amount of data left on tape(GB): 13572
Robot: 3 - With 1300 tapes of type HCART the amount used is 64%
Hopefully someone will find this useful. Comments and suggestions are always welcome.
This e-mail and any attachments may contain confidential information of Northwestern Mutual. If you are not the intended recipient of this message, be aware that any disclosure, copying, distribution or use of this e-mail and any attachments is prohibited. If you have received this e-mail in error, please notify Northwestern Mutual immediately by returning it to the sender and delete all copies from your system. Please be advised that communications received via the Northwestern Mutual Secure Message Center are secure. Communications that are not received via the Northwestern Mutual Secure Message Center may not be secure and could be observed by a third party. Thank you for your cooperation.
lib_usage
Description: lib_usage
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|