That Problem is a bit subtle...

You're using the Count parameter in your Device resource in the SD.
This will multiply your device, but the resulting devices will have different names (i.e. there is a number added).

For a quick test, comment out the line "Count=X".

To make it work with count you'll need a file autochanger.

Hope that helps!

Best Regards,
Andreas

Am 24.08.23 um 22:33 schrieb Pavel Mlčoch (pavkamlc):

24-Aug-2023 22:11:16.466717 bareos-sd (150): stored/reserve.cc:583-6692 Try match res=FileStora
ge0004 wanted GlusterDevice
24-Aug-2023 22:11:16.466740 bareos-sd (150): stored/reserve.cc:583-6692 Try match res=FileStora
ge0005 wanted GlusterDevice
24-Aug-2023 22:11:16.466764 bareos-sd (150): stored/reserve.cc:522-6692 No usable device found. 24-Aug-2023 22:11:16.466786 bareos-sd (150): stored/reserve.cc:530-6692 Leave find_suit_dev: no
dev found.
24-Aug-2023 22:11:16.466810 bareos-sd (150): stored/reserve.cc:339-6692 Fail. !suitable_device
|| !WaitForDevice
24-Aug-2023 22:11:16.467129 bareos-sd (150): stored/reserve.cc:359-6692 >dird: 3924 Device "Glu
sterDevice" not in SD Device resources or no matching Media Type.
24-Aug-2023 22:11:16.467608 bareos-sd (100): lib/bsys.cc:669-6692 write_last_jobs seek to 192 24-Aug-2023 22:11:16.467699 bareos-sd (100): lib/jcr.cc:271-6692 FreeCommonJcr: 7f312c0153f0

==> /var/lib/bareos/bareos-dir.trace <==
24-Aug-2023 22:11:16.468131 bareos-dir (100): cats/sql_query.cc:131-6692 called: bool BareosDb: :SqlQuery(const char*, int) with query INSERT INTO Log (JobId, Time, LogText) VALUES (6692,'202 3-08-24 22:11:16','bareos-sd JobId 6692: Fatal error: Device reservation failed for JobId=6692:

')
24-Aug-2023 22:11:16.476371 bareos-dir (100): dird/msgchan.cc:255-6692 <stored: 3924 Device "Gl
usterDevice" not in SD Device resources or no matching Media Type.
24-Aug-2023 22:11:16.476740 bareos-dir (100): cats/sql_query.cc:131-6692 called: bool BareosDb: :SqlQuery(const char*, int) with query INSERT INTO Log (JobId, Time, LogText) VALUES (6692,'202
3-08-24 22:11:16','bareos-dir JobId 6692: Fatal error:
     Storage daemon didn''t accept Device "GlusterDevice" because:
    3924 Device "GlusterDevice" not in SD Device resources or no matching Media Type.

--
Andreas Rogge                             andreas.ro...@bareos.com
  Bareos GmbH & Co. KG                      Phone: +49 221-630693-86
  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, Jörg Steffens, Philipp Storz

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/c07eded0-9c11-8e69-ba6f-026640277d19%40bareos.com.

Attachment: OpenPGP_0x00314758866BD59E.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to