On 12/30/15 06:11 PM, David Pearce wrote:
> Yipeeeee!
> 
> I ran bareos-sd with debugging and this message jumped out at me:
> 
> orlbacula-sd: reserve.c:628-0 chk MediaType device=ULTRIUM-LTO-4b 
> request=ULTRIUM-LTO-4
> 
> I had been lead to believe that "Media Type" needed to be unique between two 
> autochangers and that the actual value was arbitrary. So I used 
> "ULTRIUM-LTO-4" on the working autochanger and "ULTRIUM-LTO-4b" on the second 
> (non-working) autochanger.
> 
> I changed the bareos-sd.conf to use the same media type and now it works!
> 
> (pause)
> 
> Maybe I am celebrating too early. From the docs:
> 
> If you have an autochanger, you might want to name the Media Type in a way 
> that is unique to the autochanger, unless you wish to possibly use the 
> Volumes in other drives. You should also ensure to have unique Media Type 
> names if the Media is not compatible between drives. This specification is 
> required for all devices.
> 

Yes you need two different types as by using one media type Bareos thinks
it can stick a volume that is in one storage into an other. At least we
have seen that go wrong on file based storage. I think your biggest challenge
is finding out why it tries reserving the wrong Media Type. I guess you did
make separate volumes and pools for the second changer, you should really never
put volumes of different storage into the same pool or you will be in for some
nasty surprises. Due to physical limitations you need to make sure that both
storages are fully independent as of course it cannot stick a volume physically
in one autochanger into a drive in the other. 

-- 
Marco van Wieringen                   marco.van.wierin...@bareos.com
Bareos GmbH & Co. KG                  Phone: +49-221-63069389
http://www.bareos.com                     

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
                 P. Storz, M. v. Wieringen

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to