I'd like to run a report that shows me all the tapes currently in the
library slots that have a used percentage > 0, and I'd like to see the
volume ID, pool, last access date and time. But it seems like mminfo won't
allow me to specify the report criteria to print (unless I'm totally
missing something, which is entirely likely), when I'm querying media in
the library, as opposed to media in the media database.
C:\PHA Scripts>mminfo -q "near,%used>0" -m
state volume written (%) expires read mounts
capacity
915613 14 GB 9% 12/23/2007 0 KB 23 160
GB
I can't add any "-r" specs to the mminfo command. Can anybody re-point me
in the right direction to get what I want?
(eventually, I want this script to run every morning, and email me what
volumes were used, showing what pools. We'd then use this to generate a
report for our offsite tape storage vendor every day)
--
Michael Leone
Network Administrator, ISM
Philadelphia Housing Authority
2500 Jackson St
Philadelphia, PA 19145
Tel: 215-684-4180
<mailto:michael.leone AT pha.phila DOT gov>
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|