Re: [Bacula-users] Bacula timeouts on usb-drive
2010-04-22 14:52:42
> Hi, im using a really old Bacula, and it look like I don't have any success
> in getting a permission to upgrade to the current version from my boss.
>
> Ive got one server that is backing up two clients (all linux). The server
> stores the data on a external usb-drive that is mounted by autofs. This works
> fine except for one little issue.
> Then the usb-drive don't is used it gets unmounted due to -timeout option in
> /etc/auto.master. When the scheduled backup is initialized it takes a few
> seconds for the usb-drive to startup and get mounted.
> When this occur Bacula simply seems to timeout, notifying me that there is no
> volume mounted, and therefore it failed. If I start a backup manually in the
> same situation the result is the same.
> If I manually starts a backup directly after the failed backup, it all works
> fine.
>
> Does anybody have a suggestion on what to do?
>
> /Mike
You could try a RunBeforeJob command that includes something like
/bin/ls /auto-mounted-fs >>/dev/null
/bin/sleep 60
You may not actually need the sleep statement so try it without too.
alternatively, could you run an actual mount command to do it?
Bob
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|