In TSm there is no nativecommand to do it,
but the "mounts" information are store in the db
you can do a q vol xx f=d
it appear as " Number of Times Mounted: xx"
or more interesting by the select * from volumes where volume_name='xxxx'
==> TIMES_MOUNTED: xx
so with that you are able to creat a script which will verify the amount in the " TIMES_MOUNTED" field and do action wanted on the volume in question....
hope you see what i mean
But that's fairly useless, when volumes move to scratch and are no longer in the "VOLUMES" table.
$ tsmout q volh |egrep "`tsmout q libv|grep -i scratch |cut -f2`"
02/14/08 12:45:32 STGDELETE LTO TS0381L3
02/27/08 11:15:59 STGDELETE LTO TS0369L3
02/27/08 11:15:59 STGDELETE LTO TS0404L3
02/29/08 11:35:52 STGNEW LTO TS0381L3
03/03/08 12:09:45 STGDELETE LTO TS0366L3
03/03/08 12:09:46 STGDELETE LTO TS0381L3
03/07/08 01:16:05 STGDELETE LTO TS0385L3
03/08/08 22:27:17 STGDELETE LTO TS0408L3
$
ANS8000I Server command: 'select VOLUME_NAME,TIMES_MOUNTED from VOLUMES where VOLUME_NAME='TS0381L3''
ANR2034E SELECT: No match found using this criteria.
ANS8001I Return code 11.
ANS8002I Highest return code was 11.
That field tracks only the number of times the volume is mounted while it's in its current assignment in a storage pool. Times in the past when it's been labeled/relabeled, been a backupset or a db backup or an export - all lost.
HOWEVER: the LTO system does its own health monitoring. For all I know, the on-cart memory keeps track of mounts, distance traveled, etc.. I think it also keeps a map of bad spots.