I've now moved to bacula 2.1.28 but it's all the same. Polling does 
something but the tape is not mounted, and a manual mount always 
works... Is there no 'mount after poll' at all?


Martin Schmid schrieb:
> has someone managed to use automatic mount and unmount just by configuring
> the storage daemon the 'right' way with a bacula 2.0.3 (maybe on Debian
> Linux)?
>
> The goal is that the media change shall be sufficient for the normal 
> backup to work. No manual intervention at all shall be needed.
>
> The closest I get is that tape gets ejected automatically when a new or
> specific tape is needed. When I then insert the right tape, it gets
> recognized at the next poll interval, which I have set to 3 minutes, but it
> doesn't get mounted. Bacula then says that there is a tape in the drive 
> and the
> drive is open, but it is not recognized: 'open but no Bacula volume is
> currently mounted.'
>
> Why does the 'Automatic Mount' not work when the device is opened at a poll?
>
> Or, is it a known bug?
>
> I've tested with several tape drives of several brands but all were DAT.
> I've also tested on several servers but only with bacula 2.0.3. An I don't
> have a changer.
>
> I know that there were approaches using simulated changers with bacula 1.38,
> but I'd prefer something less limiting...
>
> My conf for the device:
>
> Device {
> Name = DDS-2 #
> Media Type = DDS-2
> Archive Device = /dev/nst0
> Automatic Mount = yes; # when device opened, read it
> Label Media = yes; # lets Bacula label unlabeled media
> Always Open = yes;
> Removable Media = yes;
> Random Access = no;
> #Maximum Changer Wait = 3d # 3 days in seconds
> #Changer Command = "/etc/bacula/scripts/ak-mtx-changer %c %o %S %a %d"
> #Changer Device = /dev/nst0
> Offline On Unmount = Yes; # keep this too
> Volume Poll Interval = 3m
> #Close on Poll= Yes
> Maximum Open Wait = 3d
> #Auto Changer = yes
> # Enable the Alert command only if you have the mtx package loaded
> #Alert Command = "sh -c 'tapeinfo -f /dev/nst0 |grep TapeAlert|cat'"
> #If you have smartctl, enable this, it has more info than tapeinfo
> ## Alert Command = "sh -c 'smartctl -H -l error %c'"
> }
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to