I've calculated my capacity as follows, but the numbers don't jibe. Here
are how I calculate.
1) Total offsite: select count(*) from drmedia
2) Total tapes: select count(*) from volumes where devclass_name='DEV3590'
3) Total Scratch: select count(*) from libvolumes where status ='Scratch'
4) # of tapes in library=(mtlib -l /dev/lmcp0 -qL | grep "number of cells")
minus (mtlib -l /dev/lmcp0 -qL | grep "available cells")
5) Number of tapes Onsite=total tapes-total offsite.
tapes in library should equal scratch+onsite, but it doesn't. Even giving a
little room for cleaning tapes. Here are how my figures work out:
1) 594
2) 1069
3) 183
4) 804 (857-53)
5) 475 (1069-594)
Now shouldn't 4) equal 5) + 3) ?? How do I account for the hundred
uncounted tapes?
How do I determine the # of tapes allocated for cleaning?