Unsolved
1 Message
0
502
March 24th, 2022 04:00
Scanner command to index multiple Tapes
Hi There
I have a small Problem with my Tape set. I inserted Tapes form quite a while back and it shows in NW as "not in media index" so after a few searches I was able to use the scanner command.
However i first have to "load without mount" the tape manually for the Library in NW. After that I can run the scanner comand to scan and it gets recognized in NW.
However this process is quite slow to observe the process, load another Tape and continue to scan. So I wonder if there is anyone who had a similar issue and if there is a other solution to kinda automate this manual process.
Thanks for any suggestions.
No Events found!
bingo.1
2.4K Posts
0
March 24th, 2022 05:00
Yes, scanner will read a tape and with the high capacities of modern tape drives, the scanner process can take hours ... for a single tape.
If you have multiple drives you could of course start multiple scanner processes.
If you and to automate the process, just write a script to
- load the appropriate tape (nsrjb)
- run the scanner command (again)
- unload the tape (nsrjb)
Loop around ...
barry_beckers
393 Posts
0
March 24th, 2022 08:00
If NW does not know about the tape anymore, then I have to assume that the data on it would have to be expired, wouldn't it? Unless it is from another backup server, or an earlier incarnation of it? So is the data even valid/required therefor?
The information about a tape would not become lost simply by itself. But possibly the retention within NW might have been set to a shorter period than the shelf live of the tapes in question?
If you scan in the data, it will get the same retention period as the original data had, but then counted from the scanned-in moment.
from the scanner man page for the scanner -m option:
"The saveset gets a new browse and retention policy, depending on the time that it was scanned in, and the clock starts ticking (from the current time) for the saveset."