Hey Marco,

Please note that I'm not an expert and my advice should be taken as such. 
I'm still struggling with Bareos and my advice is likely to be wrong at 
times. I'll try my best.

As I understand it, you need at least *2 devices per `Archive Device`* for 
consolidate job to be successful. One to read from the pool and another to 
write to it.
My experience also tells me a couple of things:
1. Bareos devices can only read/write into the same `Archive Device` path.
2. Bareos will use/choose/reserve devices with same `Archive Device` and 
`Media Type` for a specific job unless you set `Device Reserve By Media 
Type = yes`

This is what I think happens with your setup when you try to consolidate:
1. When consolidation starts, Bareos reserves device 
"ZH-lin10-HD-USB1-device"for writing.
2. If, at this point `Device Reserve By Media Type` is set to "no", your 
consolidation will break, because Bareos needs a device to read with, but 
there's no available devices with same `Archive Device` as 
`ZH-lin10-HD-USB1-device`. However:
3. If, at this point `Device Reserve By Media Type` is set to "yes", Bareos 
will ignore `Archive Device` when choosing a device for a job and will 
choose any free device with same `Media Type` for reading. This time Bareos 
chooses `ZH-lin10-HD-USB0-device` for reading. But this device is only 
aware of `Archive Device` (disk path) = `Archive Device = "/media/usb0"` 
That's why it's trying to find the specific volume at this path.

I hope this makes sense and that's it's not riddled with mistakes. Any 
corrections are welcome and appreciated!

Marco, let me know if you need additional help with your 
config/understanding and I'll try to help.

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/241f9236-b6e0-4095-91f8-4d6d6b552a94%40googlegroups.com.

Reply via email to