03-13-2015 10:02 AM
Hello Experts,
I need to know about the scratch media.
We had 10 media in the morning and in the evening we had 2.
So just need to know how can we know how many media were in the morning on scratch pool and how much got used today.
Solved! Go to Solution.
03-13-2015 10:24 AM
Run a report on the scratch tape quantity every day at the same time, and keep track of how many new scratch tapes you add into the library. There's no report of how many tapes were used by NetBackup in the OpsCenter reports. NetBackup doesn't always fill every tape until it is full, so you can't really use the tape full indication that a new scratch tape was used.
Is there a particular reason you need to know this? We might be able to offer alternative advice if we know what you are trying to do.
03-13-2015 10:24 AM
Run a report on the scratch tape quantity every day at the same time, and keep track of how many new scratch tapes you add into the library. There's no report of how many tapes were used by NetBackup in the OpsCenter reports. NetBackup doesn't always fill every tape until it is full, so you can't really use the tape full indication that a new scratch tape was used.
Is there a particular reason you need to know this? We might be able to offer alternative advice if we know what you are trying to do.
03-13-2015 10:29 AM
Just to keep track.
We send manual report daily 3 times but i could see the discrepency.
Morning shift we had 8 tapes in afternoon 16 in evening 8.
So I just need it for audit purpose.
03-13-2015 10:40 AM
This is the command we use in our Linux script to monitor scratch tapes on a daily basis:
/usr/openv/volmgr/bin/vmquery -pn NB_Scratch -b |grep 'TLD 0' | grep 'HCART3' | wc -l
I believe the Windows "find" command is similar to "grep", not sure if there is an equivalent for the "wc" (wordcount) command.
03-13-2015 10:43 AM
03-13-2015 10:44 AM
thats the problem what we have is only count :(
03-13-2015 10:55 AM
03-13-2015 01:11 PM
Alternatively, get a few more tapes.
Appreciate that you are doing a good job keeping track of things, but if you have to manage tape levels to that extent, you need a handful more, so that you only have to keep an eye on it once a week ...
You spend lots of money on servers/ hardware / support, but have only a few scratch tapes - that to me does not make any sense.
03-15-2015 09:46 AM
Ok thats fine :)
could you pls let me know the command to check what was the last pool of the tape?
03-15-2015 09:50 AM