On Wednesday 27 September 2006 04:54, Ryan Novosielski wrote:
> I've noticed this happen a couple of times. Here's what I did to cause
> it both times.
> 
> 1) No media available to run a job.
> 2) Purge a volume that has data on it.
> 3) Run a mount.
> 
> The version of Bacula is 1.38.11 on the director.
> 
> Now observe below:
> 
> *mount
> The defined Storage resources are:
>      1: File
>      2: helios_DDS
>      3: helios_DAT72
> Select Storage resource (1-3): 3
> 3001 OK mount. Device="helios_DAT72" (/dev/rmt/1lbn)
> *me
> 26-Sep 22:50 helios-dir: Recycled volume "combined_BW1"
> *me
> 26-Sep 22:50 helios-sd: Please mount Volume "combined_BW1" on Storage
> Device "helios_DAT72" (/dev/rmt/1lbn) for Job
> VistaBKsave.2006-09-26_22.43.15
> *me
> You have no messages.
> *mount
> The defined Storage resources are:
>      1: File
>      2: helios_DDS
>      3: helios_DAT72
> Select Storage resource (1-3): 3
> 3001 OK mount. Device="helios_DAT72" (/dev/rmt/1lbn)
> 
> ...I can't figure out what's going on here, but I can make this happen
> pretty reliably. Here is my Device definition in my sd.conf -- I suspect
> this is the only non-standard config options I have and the only options
> that might make a difference:
> 
> Device {
>   Name = helios_DAT72                       #
>   Media Type = DDS-4
>   Archive Device = /dev/rmt/1lbn
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = no;
>   Volume Poll Interval = 30 minutes;
>   Close on Poll = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   Spool Directory = /usr/local/bacula/var/spool;
> }
> 
> ...any ideas from anyone?

Set the following:
Always Open = yes
(remove Volume Poll Interval)
Close on Poll = no

Cross your fingers.
> 
> -- 
>  ---- _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
>  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> 
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to