On 4/1/2013 5:38 AM, Leon White wrote:
> Hi Josh,
>
> thanks for taking the time once again to respond to support my
> bacula/vchanger project!
>
> I was able to read, set up and configure the scripts you supplied, the
> variables are quite clear and anybody who set up their own bacula
> system should be able to fill them in. Note that it may be necessary
> to change the #!/bin/sh at the beginning of the files to #!/bin/bash
> depending on your system (mine is Ubuntu Server 12.10).
>
> I plan to use this script to ensure that all volumes are set to
> disabled before and after they are used to prevent bacula from trying
> to use unmounted volumes. Is there any way to trigger this script to
> run silently as soon as the update slots command is triggered, or is
> there some other point we could trigger it during the process of
> swapping drives in the eSATA changer? Perhaps automount could do it
> and then subsequently use the bcommand script to call update slots in
> bconsole as well, making the process of changing drives effectively
> fully automatic and independent from the shell. I won't be operating
> this system forever, and I want to keep the process as simple as
> possible for anybody else who has to use it.
It is possible to construct a udev rule that runs a script when a device
is attached/detached. I don't think there is any way to do this with
autofs/automount.
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|