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/d29088f6-8b8b-4c93-9054-e854c8167d1an%40googlegroups.com.