Re: filestorage :: some misconfiguration

Rob Gerber <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <CAMKi9mRuydP2Sj8iLxK19SKNaj98QSR_p7R+xOih-ERRzmXYfA@mail.gmail.com>
Stefan,

Did you restart the SD? bconsole 'reload' only reloads the dir.

in shell, try 'sudo systemctl restart bacula-dir.service bacula-sd.service
bacula-fd.service;/opt/bacula/bin/bacula status'

(you can restart all more simply using 'bacula restart' but this breaks
systemctl service monitoring until you reboot, iirc).

'file_changer' is the name of your autochanger in the bacula-sd.conf file.

Regards,
Robert Gerber
402-237-8692
[email protected]


On Mon, Aug 18, 2025 at 12:24 PM Stefan G. Weichinger via Bacula-users <
[email protected]> wrote:

> Am 18.08.25 um 16:52 schrieb Marcin Haba:
> > Hello Stefan,
> >
> > On Mon, 18 Aug 2025 at 16:40, Stefan G. Weichinger via Bacula-users
> > <[email protected]> wrote:
> >>
> >>
> >> Storage {
> >>     Name = "filestorage"
> >>     Description = "local storage on tx100:/mnt/tera/bacula"
> >>     SdPort = 9103
> >>     Address = "tx100.loc.oops.co.at"
> >>     Password = "_swXHSgGz6DhqHOxS2PlmbAJks_LY6Gg0"
> >>     Device = "filestorage"
> >>     MediaType = "File1"
> >>     Autochanger = "filestorage"
> >>     MaximumConcurrentJobs = 50
> >
> > Here you have the wrong setting because it does not define autochanger
> > storage type. I would propose to set it as follows:
> >
> > Storage {
> >     Name = "filestorage"
> >     Description = "local storage on tx100:/mnt/tera/bacula"
> >     SdPort = 9103
> >     Address = "tx100.loc.oops.co.at"
> >     Password = "_swXHSgGz6DhqHOxS2PlmbAJks_LY6Gg0"
> >     Device = "file_changer"
> >     MediaType = "File1"
> >     Autochanger = "yes"
> >     MaximumConcurrentJobs = 50
> > }
>
> sorry for my quick reply before:
>
> I get
>
> tx100-dir JobId 501: Fatal error: Failed to start job on the storage:
> filestorage
> tx100-dir JobId 501: Storage daemon "filestorage" didn't accept Device
> "file_changer" because: 3924 Device "file_changer" not in SD Device
> resources or no matching Media Type or is disabled.
>
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.