03-08-2019 11:17 AM
Hi,
Is there a command to know when a tape was last unmounted similar to the "Last Mount" ?
Also i was wondering if "Last Write" is updated as the backup progresses. I might be wrong but i see that its not updated once the backup start which makes this more like start time of the backup rather than the time when the backup write ends.
Thigs i am looking for are
1. Whether a media is currently mounted
2. If not mounted when was it last unmounted
3. When was the last time a write was performed (the last time a tape write command was sent)
I am looking for commands which report in the bpmedialist -l format which can be parsed easily by scripts.
I look forward to your answers
Thanks,
Penta
03-11-2019 01:47 AM
1. Whether a media is currently mounted
vmoprcmd woud show this
2. If not mounted when was it last unmounted
No command to do this I am aware of, would be able to get this from bptm log
3. When was the last time a write was performed (the last time a tape write command was sent)
bptm log would show when a backup started to write to a tape, no command output gives this, agan, as far as I know.