I'm coming from NetBackup and am trying to get my head around some monitoring and reporting.
Currently I am trying to figure out how I can report on tapes that are available for writing, which can be sent to our tape management team so they can insert more tapes as needed.
Is there any predefined report or tool that can do this for me? Or is it something I can script myself? I am also unsure what I should be reporting on. Should it be tapes that are appendable?
That was what I was looking for. I had to modify it slightly as I wasn't allowed to use both -m and -r flags, and my bash shell didn't want to read !full correctly. I ended up doing this:
wlee
263 Posts
705
0
Posted March 16th, 2017 13:00
You would want a list of volumes that are appendable or recyclable. These are states that NetWorker can use to write data to.
Volume that are full, or read only are not available for writing...
SO... I do not have anything to test this with, but maybe using the mminfo command: (hope this works):
mminfo -mvV -q "!full, !readonly" -r volume | sort