Ok then I'm a bit cluless because I didn't find something wrong in what is
shown.
Maybe you want to use bareos-sd --xc and bareos-dir --xc to output your
configuration in a flat way, and use grep or whatever tool to search what
you expect, and finally find the place where it is wrongly defined.
On Thursday, August 24, 2023 at 6:18:22 AM UTC+2 Pavel Mlčoch (pavkamlc)
wrote:
> Fewtimes all machine...
>
> Dne středa 23. srpna 2023 v 17:25:27 UTC+2 uživatel Bruno Friedmann napsal:
>
>> Stupid question but did you restart the SD after defining the new device?
>>
>>
>> On Wednesday, August 23, 2023 at 4:15:52 PM UTC+2 Pavel Mlčoch (pavkamlc)
>> wrote:
>>
>>> Hello,
>>>
>>> I tried switch backup from mounted folder into Gluster volume, but it
>>> doesn't work. I always get this, but GlusterStorage seems to be defined
>>> correct. Is it a bug, or misconfiguration?
>>>
>>>
>>>
>>> *bareos-dir JobId 6637: Fatal error:Storage daemon didn't accept Device
>>> "GlusterStorage" because:3924 Device "GlusterStorage" not in SD Device
>>> resources or no matching Media Type.*
>>>
>>>
>>>
>>>
>>>
>>> *cat /etc/bareos/bareos-sd.d/storage/bareos-sd.conf Storage { Name =
>>> bareos-sd Maximum Concurrent Jobs = 20}*
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *cat /etc/bareos/bareos-sd.d/device/GlusterDevice.conf Device { Name =
>>> GlusterStorage Description = "Storage device using a Gluster backend."
>>> #Archive Device = "GlusterStorage" Archive Device = "/tmp" Count = 5
>>> Device Options = "uri=gluster://server1/sata/backup" Device Type = gfapi
>>> Media Type = GlusterFile Label Media = yes Random Access = yes
>>> Automatic Mount = yes Removable Media = no Always Open = no Maximum
>>> Concurrent Jobs = 1; }*
>>>
>>> *cat /etc/bareos/bareos-dir.d/storage/Gluster.conf*
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Storage { Name = GlusterStorage Address = "backup3" Password =
>>> "heslostorage" Device = GlusterStorage Media Type = GlusterFile }*
>>>
>>
--
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/44e77ce7-1ce9-441a-ac2d-41656469bb7cn%40googlegroups.com.