On 12/30/15 03:47 PM, David Pearce wrote:
> Thanks Marco. I fixed the drive index numbers.
> 
> I am still getting this error message:
> 
> orlbareos-dir JobId 195739: Fatal error: 
> Storage daemon didn't accept Device "Autochanger1" because:
> 3924 Device "Autochanger1" not in SD Device resources or no matching Media 
> Type.
> 
> I tracked it down to reserve.c line 368 with this comment:
> 
>          /*
>           * If we get here, there are no suitable devices available, which
>           *  means nothing configured.  If a device is suitable but busy
>           *  with another Volume, we will not come here.
>           */
> 
> As far as I know Autochanger1 is configured:
> 
> Autochanger {
>   Name = Autochanger1
>   Device = Drive-2, Drive-3
>   Changer Command = "/etc/bareos/scripts/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/tape/by-id/scsi-1ADIC_A0C0048024_LLA
> }
> 
> What can I try?
> 

As always you can try running the SD with debug level 150 or higher.
The reservation logic logs what it does at level 150. So if you run
bareos-sd -f -d 200 you should get quite some stuff that you can
try pinpointing to the reservation flow done in src/stored/reservation.c

b.t.w. don't bother posting that stuff here as unless you have a clear
smoking gun I'm not going to look at it.

I'm still not sure if you get bitten by the ANSI labels and check labels
not so sure that is a often used code path as most people don't use ANSI
labels as they only make sense when you share volumes with other backup
products as ANSI is the label format used by IBM.

-- 
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