-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Craig White wrote:
> On Thu, 2007-07-26 at 00:04 -0400, Ryan Novosielski wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Troy Daniels wrote:
>>> Hi,
>>>
>>> Coming at this issue with fresh eyes I noticed you seem to have replaced 
>>> the 'delete_catalog_backup' script call in your catalog backup job with 
>>> 'end_of_backup.sh'
>>>
>>> Unless I'm mistaken, I believe this script is run by the Director, not 
>>> the storage daemon.
>>>
>>> By default IIRC, the director runs as user bacula group bacula and 
>>> probably doesn't have permission to access your tape drive.
>>>
>>> On top of that, depending on your configuration, the SD probably has 
>>> your tape drive locked/blocked so the script couldn't eject the tape 
>>> anyways.
>>>
>>> One alternative that *should* work, is to replace your mt commands in 
>>> the script with calls to bconsole instead.
>>>
>>> I think something like:
>>>
>>> /usr/sbin/bcnosole -c /etc/bacula/bconsole.conf <<EOF1
>>> umount <StorageName>
>>> EOF1
>>>
>>> Should work.
>>>
>>> You might need to run the umount command under bconsole and take note of 
>>> any extra prompts and place the appropriate answers before the EOF1 in 
>>> the above example.
>>>
>>> I probably should also mention this is all from memory so is subject to 
>>> silly mistakes :)
>> I'm not sure why the original poster is even doing this, in the face of
>> other options like "OfflineOnUmount" etc., but I haven't really had the
>> inclination to jump into it.
> ----
> The original poster (me), has found only one explanation for
> OfflineOnUmount and original poster isn't smart enough to decipher the
> real value to setting this value to yes but original poster has indeed
> set the following values in the sd.conf (thinking this is a good
> idea)...
> 
>   Volume Poll Interval = 30; # hopefully 30 minutes
>   Close on Poll = yes;
>   Maximum Open Wait = 1080;  # hopefully 18 hours
> 
> The explanation for using OfflineOnUmount is principally a negative and
> provides no guidance for a positive use.

OfflineOnUnmount simply means that the tape drive is Offline'd when
unmounting a tape. Offline generally means rewind and eject on modern
tape drives. As far as when an unmount happens, that could be issued at
the command line, or by using AlwaysOpen=no. I don't now what
MaximumOpenWait does at all.

> I have yet to find an explanation of 'TIME' but I have figured out that
> using something like '3d' means three days but am uncomfortable with the
> use of an integer by itself as it gives the feeling of being vague.

Bare integers are seconds -- no question about that.
- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGqYEimb+gadEcsb4RAjj4AJwN4NnXaFW50ZRbFErCYFIlRXd6zACeOyY/
2bb0C6/+j3fLPYxwJm5fMtw=
=5Z+g
-----END PGP SIGNATURE-----
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
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