11-17-2014 02:47 AM
Good morning,
This weekend I had something new for me and I'd like to ask for some assistance of who has more experience about this. (NBU7.6)
Friday I left my library with 3 scratch tapes to run 3 jobs.
Today (monday) I could see that all jobs have failed. One of the jobs utilized 2 tapes and requested a 3rd one which there wasn't and another job failed asking for a second tape that there wasn't and a 3rd job that hasn't started because that was not scratch.
Ok, so far so good. The point is, when I check the tapes inside the library they all show as SCRATCH.... :|
What is so weird, because I can see they have been used. On reports these tapes doesn't exist (as they are scratch) the only way I could make nbu tell me that there were something on these tapes was when I tried to expired the images, then nbu tell me that there are images on the tapes and the correct expire date.
Again, so far so good. I found a doc explaining how nbu manages the tapes, but not quite how it works for FAILED jobs especific.
So my request would be: does someone has a document to understand how nbu works with FAILED job images on tapes? And I want to keep track of these tapes used this weekend on the correct volume pool and which images I have on them, how do I do it? If I need to use these tapes for restore, how to procceed as they show as scratch?
Thank you in advance.
Solved! Go to Solution.
11-17-2014 10:50 AM
11-17-2014 08:50 AM
Trying to post
11-17-2014 10:50 AM
11-18-2014 01:40 AM
Thank you Martin.
So for a job that took 2 tapes and failed requiring more tapes, these two tapes that are full of data, in fact, has no usable data in case of a restore? If these tapes has been reassigned to scratch, why aren't they scratch indeed as they have data on then? These tapes are scratch or not?
Thanks
11-18-2014 02:06 AM
With failed jobs, NBU will discard all image info for those jobs.
If there are no other good, successful backups on the tape, NBU will deassign the tape again after the failure. This will make tape available to be overwritten again.
Same as when all images on a tape have expired.
Try to break up backups in smaller jobs, e.g. 'Allow multiple data streams' will break up items in Backup Selection into individual streams, giving you more chance of having restorable data.
Have a look at this excellent blog:
Understanding how NetBackup writes to a tape.
11-18-2014 02:19 AM
So for a job that took 2 tapes and failed requiring more tapes, these two tapes that are full of data, in fact, has no usable data in case of a restore ?
Yes, they have no useable data, so NBU will return them to the scratch pool, providing they started in the scratch pool in the first place.
(If you manually move an empty tape from scratch to say, NetBackup pool, then run a job, when that tape expires it will stay in the NetBackup pool, only tapes taken from scratch by NetBackup itself, will return to scratch).
You stated:
If these tapes has been reassigned to scratch, why aren't they scratch indeed as they have data on then? These tapes are scratch or not?
I don't understand this bit " why aren't they scratch indeed as they have data on then"
If they have been assigned to scrach, then ther are scratch - simple as that ...