Re: [Bacula-users] python support

2007-10-30 Thread Rich
On 2007.10.29. 23:38, Arno Lehmann wrote:
...
 import datetime
 and this is where it breaks.
 just adding that line to the script prevents director from starting at all :

 Fatal Python error: Interpreter not initialized (version mismatch?)
 
 That looks like a python problem... or something related to the way 
 python is embedded into Bacula. You should consider a bug report at 
 bugs.bacula.org, and point out that this might be a configure or 
 linking problem, or even one of finding the right python module path.

done as http://bugs.bacula.org/view.php?id=998
...
 actually, i would prefer to error out in such a case - if volume exists, 
 something's broken.
 
 Well, relying onto the number of volumes in a pool is not safe, for 
 example. Imagine you have volumes V1, V2, V4 in a pool and label with 
 'V'+number. The next volume will be the fourth one, so you'd end up 
 with V4 a second time.

oh, no, i am using single volume (file) per job, and each is named with 
date-hour-minute.

if the same job is executed twice in a single minite (especially as i 
have only one concurrent job configured), something's not right :)

 As this can happen easily when you delete volumes, precautions are 
 important.
 
 looking over the example, i could not find a way to cancel the job - how 
 would i do that ?
 
 I don't know - perhaps return the null value from the method. You'll 
 have to try :-)

nope, returning 0 still allows to proceed :)
...
 Arno
-- 
  Rich

-
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


Re: [Bacula-users] iSCSI-Tape problems

2007-10-30 Thread Christoph Litauer
Josh Fisher schrieb:
 The only difference that I can see is that the full_write() / 
 safe_write() functions in tar attempt the write multiple times if need 
 be and attempt to finish (it seems) partial writes. Btape fails 
 immediately if the write() system call fails to write the requested 
 number of bytes. However, btape should be issuing a Write failed at 
 block  message if the write fails. That error message contains an error 
 string corresponding to the errno that was set when the write() failed, 
 which could be helpful. Christopher Litauer's initial message does not 
 include such an error message after the Begin writing raw blocks of  
 message, so I don't know if he just didn't include it or if the only 
 messages he saw were the bad page state syslog messages. If there was 
 no Write failed at block message, then the write() system call never 
 returned, in which case it is a real mystery (to me) as to how tar can 
 possibly work with the same block size.

No, there definitly is no such message after Begin writing raw blocks,
just one or two '+', nothing more, just the kernel panic messages in
/var/log/message

-- 
Regards
Christoph

Christoph Litauer  [EMAIL PROTECTED]
Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2


-
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


[Bacula-users] problems when not running director as root

2007-10-30 Thread Rich
it seems there are some problems if director is not run as root.
using bacula 2.2.5 on slackware 12.

1. important environment variables are not set
if bacula is configured and compiled with --with-dir-user and 
--with-dir-group, director is started with correct -u parameter, and 
runs as the correct user - but environment variable HOME is not set to 
user home, it is set to /root.
obviously, make_catalog_backup can't access /root/.my.cnf, and it also 
doesn't know anything about the correct location for .my.cnf.

this way it is not possible to use (without modifying scripts 
themselves) suggestion from 
http://www.bacula.org/dev-manual/Catalog_Maintenance.html#SECTION002413

this might also apply to other daemons.

would this qualify as a valid bug report ?

2. emails are not sent in default configuration
if bacula is configured and compiled with --with-dir-user and 
--with-dir-group, /sbin/bsmtp is still owned by root.root, and it's 
permissions are set to rwxr-xr--.

this prevents director from sending out mails in the default configuration.

maybe it would be better (if user and group are set when compiling) to 
make permissions 755 or set owning group to one the director is using ?

would this qualify as a valid bug report ?
-- 
  Rich

-
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


Re: [Bacula-users] Problem backing up catalog

2007-10-30 Thread Rich
On 2007.10.24. 16:53, Dan Langille wrote:
 On 24 Oct 2007 at 14:39, Simon Barrett wrote:
...
 On this matter; adding the password to the RunBeforeJob line causes my 
 database password to appear on the status emails:

 24-Oct 13:09 fs01-dir: BeforeJob: run command 
 /etc/bacula/make_catalog_backup 
 bacula bacula MyPasswordHere

 Status emails are sent in clear text across our network.  Is there a 
 recommended solution to include sensitive variables in the config files 
 without exposing them like this?  
 
 http://www.bacula.org/dev-manual/Catalog_Maintenance.html
 
 Click on Security considerations

using bacula 2.2.5, there seems to be several problems with these 
suggestions.

one (when not running director as root) i am outlining in another email, 
problems when not running director as root.
another one is that even if i hardcode password in the 
make_catalog_backup scripts, something prints the password to messages, 
if python scripting is enabled.

the line looks a bit weird, as it contains what seems to be another line 
at the end.

30-Oct 11:40 backup_1-dir JobId 52: ('bacula', None, 'bacula', 
'baculapassword', None, 0, 'MySQL')30-Oct 11:40 backup_1-dir JobId 52:

python script is slightly modified default example, and looking over it, 
i can't see any report line which could output anything like that.

what could be the reason for this line ?
-- 
  Rich

-
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


Re: [Bacula-users] Problem backing up catalog

2007-10-30 Thread Arno Lehmann
Hi,

30.10.2007 10:54,, Rich wrote::
 On 2007.10.24. 16:53, Dan Langille wrote:
 On 24 Oct 2007 at 14:39, Simon Barrett wrote:
 ...
 On this matter; adding the password to the RunBeforeJob line causes my 
 database password to appear on the status emails:

 24-Oct 13:09 fs01-dir: BeforeJob: run command 
 /etc/bacula/make_catalog_backup 
 bacula bacula MyPasswordHere

 Status emails are sent in clear text across our network.  Is there a 
 recommended solution to include sensitive variables in the config files 
 without exposing them like this?  
 http://www.bacula.org/dev-manual/Catalog_Maintenance.html

 Click on Security considerations
 
 using bacula 2.2.5, there seems to be several problems with these 
 suggestions.
 
 one (when not running director as root) i am outlining in another email, 
 problems when not running director as root.
 another one is that even if i hardcode password in the 
 make_catalog_backup scripts, something prints the password to messages, 
 if python scripting is enabled.
 
 the line looks a bit weird, as it contains what seems to be another line 
 at the end.
 
 30-Oct 11:40 backup_1-dir JobId 52: ('bacula', None, 'bacula', 
 'baculapassword', None, 0, 'MySQL')30-Oct 11:40 backup_1-dir JobId 52:
 
 python script is slightly modified default example, and looking over it, 
 i can't see any report line which could output anything like that.

The above looks like a printout of the CatalogRes provided as an 
attribute by Baculas job object.

Arno

 what could be the reason for this line ?

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
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


Re: [Bacula-users] Problem backing up catalog

2007-10-30 Thread Rich
On 2007.10.30. 12:05, Arno Lehmann wrote:
...
 the line looks a bit weird, as it contains what seems to be another line 
 at the end.

 30-Oct 11:40 backup_1-dir JobId 52: ('bacula', None, 'bacula', 
 'baculapassword', None, 0, 'MySQL')30-Oct 11:40 backup_1-dir JobId 52:

 python script is slightly modified default example, and looking over it, 
 i can't see any report line which could output anything like that.
 
 The above looks like a printout of the CatalogRes provided as an 
 attribute by Baculas job object.

ah, indeed - i was looking for report lines, missed print lines...

print job.CatalogRes

seems that default example script suffers from some problems :)

 Arno
 
 what could be the reason for this line ?
-- 
  Rich

-
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


[Bacula-users] bacula 2.2.5: some job never finish

2007-10-30 Thread lise machetel



I use bacula 2.2.5 on a debian Etch server (recent update).
clients are debian Etch or sarge with same version of bacula client
MySql server is used - version 5.0 (Etch stable package)

I had no error during the compilation.

during backup, under bconsole, if I do a status dir, I can see that the 
status of the client is is in unknow state
if I do a status client=name-of-this-client, the client answer that there is no 
job running, and that the job finished successfully.
under a shell, I can see that MySql take 99% of the cpu
and a nestat -an show:
tcp0  0 192.168.200.19:9101 192.168.200.19:43174ESTABLISHED
tcp0  0 192.168.200.19:43174192.168.200.19:9101 ESTABLISHED
tcp0  0 192.168.200.19:49926192.168.200.19:9103 TIME_WAIT
tcp9  0 192.168.200.19:41945192.168.200.19:9103 CLOSE_WAIT
tcp0  0 192.168.200.19:56060192.168.200.215:9102TIME_WAIT
tcp1  0 192.168.200.19:55688192.168.200.215:9102CLOSE_WAIT

some times, the job finish, and some times the job stay like this (with the cpu 
in use).  I tried to let it like this, to see if the job will finish - but It 
can stay like this during one day without terminate anything.
If I try to cancel the job, it doesn't work either (job stay with the cancel 
state and mysql still use 99% of the cpu)
When it is like this, I have to stop bacula and restart mysql to have a chance 
to do something later.

It doesn't happens always with the same client - so I think I have an issue 
with the server - but I really don't know what.
I checked the mysql database (repair command), and I have no issue with the 
databases (mysql or bacula).

on this bacula server, I backup 50 clients, it takes 1 To and backup used to 
finish during the night. Because of this strange new behavior, it doesn't work 
anymore like this.

any ideas ?
thanks


_
Découvrez le blog Messenger Le Meilleur du Web : toutes les vidéos qui buzzent 
le plus sur Internet !
http://meilleurduweb.spaces.live.com/-
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


Re: [Bacula-users] Cannot Connect to Client Error

2007-10-30 Thread Jon
Sure will. I'm actually moving house today and tomorrow so will be
offline, but when I get back to tackling this I will post with more info.

Thanks

Jon

Michael Lewinger wrote:
 Hi Jon,
 
 can you post the client fd.conf and the director's respective client,
 job and director directives, maybe without obfuscation ? If not,
 please post the same data with simulated IPs, as if theose were the
 client and dir IP, and use them as obfuscated IPs in the conf files.
 
 Cheers,
 
 Michael
 
 On 10/30/07, *Jon* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
 Hi,
 
 I'm not using localhost anywhere in the conf. I am just using it to
 telnet.
 
 Thanks
 
 Jon
 
 Michael Lewinger wrote:
  Hi Jon,
 
  I read somewhere (in the conf file ?) that localhost should not be
 used.
  Add an alias to 127.0.0.1 http://127.0.0.1 http://127.0.0.1 in
 your /etc/hosts  file
  and use it instead.
 
  Michael Lewinger
 
  On 10/29/07, *Jon*  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
  Hi All,
 
  Im evaluating Bacula for a client. So far I like what I see,
 but I'm
  having trouble adding a second (remote) client.
 
  I am following the Brief Tutorial to become familar with
 Bacula and
  have
  successfully set up the local machine backup and restores.
 However,
  setting up a second client is giving me troubles.
 
  I've followed the section in the Brief Tutorial entitled Adding a
  Second Client which entails simply copying the bacula-fd
 binary and
  bacula-fd.conf file from the bacula director machine to the
 client that
  I want to back up. I've changed the name of the machine from the
  director to my client in the bacula-fd.conf file as instructed
 in that
  section.
 
  However, when I try attempt to get the status of that client
 from the
  director machine's bconsole, it cannot connect (mi01.fusion is
 the
  remote machine that is giving me problems):
 
  *status
  Status available for:
   1: Director
   2: Storage
   3: Client
   4: All
  Select daemon type for status (1-4): 3
  The defined Client resources are:
   1: mi01-fd
   2: mi01.fusion
  Select Client (File daemon) resource (1-2): 2
  Connecting to Client mi01.fusion at xx.xx.xx.xx:9102
  Failed to connect to Client mi01.fusion.
  
  You have messages.
  *
  29-Oct 10:20 mi01-dir JobId 0: Fatal error: Unable to
 authenticate with
  File daemon at mi01.fusion..xxx:9102. Possible causes:
  Passwords or names not the same or
  Maximum Concurrent Jobs exceeded on the FD or
  FD networking messed up (restart daemon).
  Please see
 http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors
  for help.
 
  I apologize for the domain mame and IP address obsfucation but
 I do not
  have authorization to post any significant network information
 to the
  Internet.
 
  I have read the AuthorizationErrors page, but as near as I can
 tell most
  of these types of errors are differing passwords between the
 director
  and the fd.conf files. Since I just copied the bacula-fd.conf
 file from
  the working director machine to the remote client, the password is
  the same.
 
  I have also verified that the concurrent jobs is set to 10 and
 there is
  only one running at any given time during testing.
 
  I have verified the network connectivity. The director machine can
  resolve the second client's name and can also route to its IP
 correctly.
  The director machine can also telnet to the client on port
 9102 and the
  FD picks up.
 
  I have also verified that the bacula-fd daemon is indeed
 running on the
  client:
 
  [EMAIL PROTECTED] /]# ps ax | grep fd
  16358 ?Ssl0:00 bacula-fd
  17936 pts/3S+ 0:00 grep fd
  [EMAIL PROTECTED] /]# telnet localhost 9102
  Trying 127.0.0.1.. .
  Connected to localhost.
  Escape character is '^]'.
  ^]
 
  I can't seem to find a log anywhere that has more meaningful
 information
  in it than 'cannot connect'. I suspect that I've done
 something wrong
  with the client machine, but I don't know how to trace that down.
 
  All I did on the second client was to copy the bacula-fd
 binary from
  the
  director machine and the bacula-fd.conf file to the client
 machine. I
 

[Bacula-users] Encryption and compression

2007-10-30 Thread Eric Böse-Wolf
I did a few test and maybe someone is interested in the results.

I did a backup of the linux kernel documentation, quite a lot of
text (du -sh . gives 22M in the directory), under different
conditions, each of those backups I wrote to a new file volume and
here are the sizes of the file volumes:

Keylength   Compression(GZIP)  Resulting Mediasize (Bytes)
noneno 17299177
noneyes 6638157
1024no 18840845
2048no 19751779
4096no 21519151
1024yes 8179802
2048yes 9091106
4096yes10858478

If you compress and you have a damaged tape, you will lose more date as
if you did not use compression, but for encryption the tape is wothless
with only a single failure to, so I think if you use encryption you can
also use compression, if you have the CPU power for it. (The time a
backup needed increased significantly with the keylength, but I did not
measure exact times here.)

Yours sincerely,

Eric Böse-Wolf

-
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


Re: [Bacula-users] Encryption and compression

2007-10-30 Thread Rich
On 2007.10.30. 13:21, Eric Böse-Wolf wrote:
 I did a few test and maybe someone is interested in the results.
 
 I did a backup of the linux kernel documentation, quite a lot of
 text (du -sh . gives 22M in the directory), under different
 conditions, each of those backups I wrote to a new file volume and
 here are the sizes of the file volumes:
 
 Keylength   Compression(GZIP)  Resulting Mediasize (Bytes)
 noneno 17299177
 noneyes 6638157
 1024no 18840845
 2048no 19751779
 4096no 21519151
 1024yes 8179802
 2048yes 9091106
 4096yes10858478
 
 If you compress and you have a damaged tape, you will lose more date as
 if you did not use compression, but for encryption the tape is wothless
 with only a single failure to, so I think if you use encryption you can
 also use compression, if you have the CPU power for it. (The time a
 backup needed increased significantly with the keylength, but I did not
 measure exact times here.)

maybe this should be added to the wiki ?

 Yours sincerely,
 
 Eric Böse-Wolf
-- 
  Rich

-
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


[Bacula-users] Bacula and Day saving time

2007-10-30 Thread Marek Simon
Hi all,
I have my bacula (1.38.11) set up to start certain Job on Sunday 2:05. 
On 28th October the Daylight saving time was ended and time between 2am 
and 3am has repeated (like in Red Dwarf :-) ). The backup has started 
twice (and the second run has stuck waiting for a volume). What would 
happen on first day of daylight saving time, when time between 2 and 3 
am is skipped?

Marek


-
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


Re: [Bacula-users] Bacula and Day saving time

2007-10-30 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Are you certain that the DST dates did not move in your area? I'm not
sure which zones expanded DST and which did not. I realize that is not
your question, but it is something I wanted to mention, since my
timezone does not switch until Nov 4th.

That said, I'd expect Bacula will skip the backup, given its behavior in
this case. One way to solve this problem, I guess, would be to never
start backups between 2 and 3 AM.

Marek Simon wrote:
 Hi all,
 I have my bacula (1.38.11) set up to start certain Job on Sunday 2:05. 
 On 28th October the Daylight saving time was ended and time between 2am 
 and 3am has repeated (like in Red Dwarf :-) ). The backup has started 
 twice (and the second run has stuck waiting for a volume). What would 
 happen on first day of daylight saving time, when time between 2 and 3 
 am is skipped?
 
 Marek
 
 
 -
 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


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

iD8DBQFHJ0ctmb+gadEcsb4RAvskAKDYNwtZlaCgFs3Zf9PyJVK0nMjgDACeK3l7
kvOLiUUc9ySR9T51oDXve3A=
=vxG4
-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


[Bacula-users] Bacula Date/Time Formats

2007-10-30 Thread Dep, Khushil (GE Money)
Hi All,
 
Can anyone tell me if the Date/Time format printed in the Logs or indeed
anywhere are formatable please?
 
Khushil Dep.
www.ge.com
-
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


[Bacula-users] Hanging after starting job and executing status

2007-10-30 Thread Johan van Vliet

Hi,

I run a small site with 3 clients. Client 3 also trippled as director and 
storage. Like this:

[CLIENT1]--+
   +--[INTERNET]--[CLIENT3/DIR/STORAGE]
[CLIENT2]--+


Client 1 and client 2 are Slackware Linux and client 3 is FreeBSD.

Because I ren out of diskspace I moved the storage to another (4th 
machine; also FreeBSD). I also (stupid I know) upgraded from 2.2.4 to 
2.2.5: 

[CLIENT1]--+
   +--[INTERNET]--[CLIENT3/DIR]--[STORAGE] 
[CLIENT2]--+

Bacause I've only one public IP address I also installed portfwd on client 3 
to forward 9103 from client 3 to storage.

Sofar so good.

As a first test I backup'd client 3. This worked.! Then I tried to backup 
client 1 and it stopped half way on /dev/cciss/c0...something Second 
attempt it stopped one another file. etc. 

So I tried the client 2. Same result. 

Long story short; I can reproduce the hanging when I run a backup of the 
remote clients (1 or 2) and then type status storage in bconsole. Like 
this:
*run
A job name must be specified.
The defined Job resources are:
 1: client1-job
 2: client2-job
 3: client3-job
 4: BackupCatalog
 5: RestoreFiles
Select Job resource (1-5): 3
Run Backup job
JobName:  client2-job
Level:Incremental
Client:   client2-fd
FileSet:  client2 Set
Pool: Default (From Job resource)
Storage:  File (From Job resource)
When: 2007-10-30 13:24:01
Priority: 15
OK to run? (yes/mod/no): yes
Job queued. JobId=16

Note the messages here show me that the backup is starting. Also I can see 
it status running in te jobs list; as soon as I type:

*status storage
Automatically selected Storage: File
Connecting to Storage daemon File at client3:9103

it hangs and and doesn't return to the * prompt.

The bacula-fd -f -d100 -c config and bacula-sd -f -d100 -c config 
show output until the status restore.

The only way to get the prompt back is by killing the bacula-sd.

Any insights are welcome about what can cause this.

J.

-
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


[Bacula-users] Bacula Administration Console

2007-10-30 Thread Augusto Lima
I'm using BAT to handle my backup routine every day. But it has some weird 
things that i think could be changed.
 
   First, there are anyway to change that behavior of showing a selection 
window to choose the item as a result of a command? Example, typing 'status' at 
BAT console shows a Selection Dialog to choose which option I want. Instead, i 
would prefer the normal behavior of showing the list with the options which I 
could just type a number. Its faster and more confortable to just stick at the 
keyboard and don't have do get the mouse to choose(i know i could still use the 
keyboard, but i would have to press 'TAB' and the arrows a couple of times).
   Second, at the JobPlot window, it could be more human readable numbers 
at the bytes axis, for me, its showing that the last backup it saved almost 
2.5e+07 bytes, not so easy to read. 
I didnt realize how to change this settings, does anybody know how?
 
Thank you very much for the attention
 
Augusto Camarotti

-
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


[Bacula-users] IBM TS3200 Tape Library and lin_taped

2007-10-30 Thread Win Htin
Hi folks,

Anyone out there using IBM TS3200 without installing the lin_taped device
drivers?
If so, how do you map the devices to the tape changer and tape drive?

Cheers

-- 
Win
email : [EMAIL PROTECTED]
-
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


Re: [Bacula-users] Bacula Administration Console

2007-10-30 Thread Dep, Khushil (GE Money)
On this front has anyone managed to get BAT compiled with RHEL4U4? Everytime I 
try it complains gnome isnt installed - which is odd since I'm running a shell 
within a gnome desktop! :-)



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Augusto Lima
Sent: 30 October 2007 15:30
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Bacula Administration Console


I'm using BAT to handle my backup routine every day. But it has some weird 
things that i think could be changed.
 
   First, there are anyway to change that behavior of showing a selection 
window to choose the item as a result of a command? Example, typing 'status' at 
BAT console shows a Selection Dialog to choose which option I want. Instead, i 
would prefer the normal behavior of showing the list with the options which I 
could just type a number. It´s faster and more confortable to just stick at the 
keyboard and don't have do get the mouse to choose(i know i could still use the 
keyboard, but i would have to press 'TAB' and the arrows a couple of times).
   Second, at the JobPlot window, it could be more human readable numbers 
at the bytes axis, for me, it´s showing that the last backup it saved almost 
2.5e+07 bytes, not so easy to read. 
I didn´t realize how to change this settings, does anybody know how?
 
Thank you very much for the attention
 
Augusto Camarotti
-
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


Re: [Bacula-users] Hanging after starting job and executing status

2007-10-30 Thread Dep, Khushil (GE Money)
Sound like something to do with the port forwarding to me. From shell on
client1 or client2 can you telnet to client3 on port 9103? If not
something screwey is going on with your port forwarding. You could alwas
turn on strace 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan
van Vliet
Sent: 30 October 2007 15:00
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Hanging after starting job and executing status


Hi,

I run a small site with 3 clients. Client 3 also trippled as director
and storage. Like this:

[CLIENT1]--+
   +--[INTERNET]--[CLIENT3/DIR/STORAGE]
[CLIENT2]--+


Client 1 and client 2 are Slackware Linux and client 3 is FreeBSD.

Because I ren out of diskspace I moved the storage to another (4th
machine; also FreeBSD). I also (stupid I know) upgraded from 2.2.4 to
2.2.5: 

[CLIENT1]--+
   +--[INTERNET]--[CLIENT3/DIR]--[STORAGE]
[CLIENT2]--+

Bacause I've only one public IP address I also installed portfwd on
client 3 to forward 9103 from client 3 to storage.

Sofar so good.

As a first test I backup'd client 3. This worked.! Then I tried to
backup client 1 and it stopped half way on /dev/cciss/c0...something
Second attempt it stopped one another file. etc. 

So I tried the client 2. Same result. 

Long story short; I can reproduce the hanging when I run a backup of the
remote clients (1 or 2) and then type status storage in bconsole. Like
this:
*run
A job name must be specified.
The defined Job resources are:
 1: client1-job
 2: client2-job
 3: client3-job
 4: BackupCatalog
 5: RestoreFiles
Select Job resource (1-5): 3
Run Backup job
JobName:  client2-job
Level:Incremental
Client:   client2-fd
FileSet:  client2 Set
Pool: Default (From Job resource)
Storage:  File (From Job resource)
When: 2007-10-30 13:24:01
Priority: 15
OK to run? (yes/mod/no): yes
Job queued. JobId=16

Note the messages here show me that the backup is starting. Also I can
see it status running in te jobs list; as soon as I type:

*status storage
Automatically selected Storage: File
Connecting to Storage daemon File at client3:9103

it hangs and and doesn't return to the * prompt.

The bacula-fd -f -d100 -c config and bacula-sd -f -d100 -c
config 
show output until the status restore.

The only way to get the prompt back is by killing the bacula-sd.

Any insights are welcome about what can cause this.

J.


-
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


Re: [Bacula-users] Bacula and Day saving time

2007-10-30 Thread Chris Hoogendyk


Ryan Novosielski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Are you certain that the DST dates did not move in your area? I'm not
 sure which zones expanded DST and which did not. I realize that is not
 your question, but it is something I wanted to mention, since my
 timezone does not switch until Nov 4th.

 That said, I'd expect Bacula will skip the backup, given its behavior in
 this case. One way to solve this problem, I guess, would be to never
 start backups between 2 and 3 AM.


yup.

Daylight Savings time laws changed affective spring 2007 in the U.S. and 
Australia. I have no clue about the Czech Republic or others. There were 
patches to be applied according to your operating system. I applied 
Solaris 9 patches. Mac OS X and Windows systems got theirs by automatic 
updates. One of our labs had an older Sun OS 5.6 system for which there 
were no patches. After messing with it for a while, they finally punted 
and said it didn't really matter.

So, if you have a server that was not patched this year, and you are in 
a jurisdiction where it matters, it's worth checking into. It will bite 
you twice a year until you patch it.

I'll be checking all my crontabs to make sure I don't have anything 
between 2 and 3am that might be affected.


---

Chris Hoogendyk

-
   O__   Systems Administrator
  c/ /'_ --- Biology  Geology Departments
 (*) \(*) -- 140 Morrill Science Center
~~ - University of Massachusetts, Amherst 

[EMAIL PROTECTED]

--- 

Erdös 4



-
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


Re: [Bacula-users] Hanging after starting job and executing status

2007-10-30 Thread Dep, Khushil (GE Money)
Here's the output of mine:

sudo strace -cfF -o list.out ./bconsole

% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 38.930.0387024838 8 4 waitpid
 17.110.017006154611 1 futex
 15.530.015440 102   151   write
 12.400.012325  37   330   read
  3.170.003149 787 4   execve
  2.300.002289  4156   rt_sigprocmask
  1.630.001620  3251   close
  1.620.001609 322 5   clone
  1.450.001441  3442 7 open
  1.080.001072  1291   rt_sigaction
  0.790.000783  1942   old_mmap
  0.700.000700  4416   munmap
  0.530.000528 176 3 2 connect
  0.350.000344  1036   fstat64
  0.290.000290  1322   mmap2
  0.290.000289  1618 2 ioctl
  0.260.000256  28 9   mprotect
  0.220.000223  1218 9 stat64
  0.140.000137  1112   time
  0.120.000121  1012   brk
  0.120.000118  1210   gettimeofday
  0.110.000111  28 4   sigreturn
  0.110.000105  13 8 4 access
  0.100.000104  15 7   uname
  0.090.86  29 3   socket
  0.080.75   8 9   select
  0.060.59   8 7   _llseek
  0.060.59   7 8   fcntl64
  0.050.53  13 4   set_thread_area
  0.050.45  45 1   _sysctl
  0.050.45  11 4   clock_gettime
  0.040.35   9 4   dup2
  0.030.33  17 2   pipe
  0.030.26  13 2   setsockopt
  0.020.24   6 4   nanosleep
  0.020.23  12 2   geteuid32
  0.020.18   9 2   getuid32
  0.020.16   8 2   getegid32
  0.010.14   7 2   getrlimit
  0.010.12   6 2   getgid32
  0.010.09   9 1   getpgrp
  0.010.08   8 1   getpid
  0.010.08   8 1   getppid
  0.010.08   8 1   set_tid_address
-- --- --- - - 
100.000.099418  102829 total 


That's without errors. If you run that against your bconsole you should
see where it's bombing? Anyone else?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dep,
Khushil (GE Money)
Sent: 30 October 2007 15:38
To: Johan van Vliet; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Hanging after starting job and executing
status

Sound like something to do with the port forwarding to me. From shell on
client1 or client2 can you telnet to client3 on port 9103? If not
something screwey is going on with your port forwarding. You could alwas
turn on strace 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan
van Vliet
Sent: 30 October 2007 15:00
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Hanging after starting job and executing status


Hi,

I run a small site with 3 clients. Client 3 also trippled as director
and storage. Like this:

[CLIENT1]--+
   +--[INTERNET]--[CLIENT3/DIR/STORAGE]
[CLIENT2]--+


Client 1 and client 2 are Slackware Linux and client 3 is FreeBSD.

Because I ren out of diskspace I moved the storage to another (4th
machine; also FreeBSD). I also (stupid I know) upgraded from 2.2.4 to
2.2.5: 

[CLIENT1]--+
   +--[INTERNET]--[CLIENT3/DIR]--[STORAGE]
[CLIENT2]--+

Bacause I've only one public IP address I also installed portfwd on
client 3 to forward 9103 from client 3 to storage.

Sofar so good.

As a first test I backup'd client 3. This worked.! Then I tried to
backup client 1 and it stopped half way on /dev/cciss/c0...something
Second attempt it stopped one another file. etc. 

So I tried the client 2. Same result. 

Long story short; I can reproduce the hanging when I run a backup of the
remote clients (1 or 2) and then type status storage in bconsole. Like
this:
*run
A job name must be specified.
The defined Job resources are:
 1: client1-job
 2: client2-job
 3: client3-job
 4: BackupCatalog
 5: RestoreFiles
Select Job resource (1-5): 3
Run Backup 

Re: [Bacula-users] Hanging after starting job and executing status

2007-10-30 Thread Dep, Khushil (GE Money)
You may also find running sudo strace -fF -o list.out ./bconsole
helpful. Once it hangs - give it a few minutes - then bomb out and post
the list.out file here for us to take a look at :-) 

-Original Message-
From: Dep, Khushil (GE Money) 
Sent: 30 October 2007 15:50
To: Dep, Khushil (GE Money); Johan van Vliet;
bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] Hanging after starting job and executing
status

Here's the output of mine:

sudo strace -cfF -o list.out ./bconsole

% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 38.930.0387024838 8 4 waitpid
 17.110.017006154611 1 futex
 15.530.015440 102   151   write
 12.400.012325  37   330   read
  3.170.003149 787 4   execve
  2.300.002289  4156   rt_sigprocmask
  1.630.001620  3251   close
  1.620.001609 322 5   clone
  1.450.001441  3442 7 open
  1.080.001072  1291   rt_sigaction
  0.790.000783  1942   old_mmap
  0.700.000700  4416   munmap
  0.530.000528 176 3 2 connect
  0.350.000344  1036   fstat64
  0.290.000290  1322   mmap2
  0.290.000289  1618 2 ioctl
  0.260.000256  28 9   mprotect
  0.220.000223  1218 9 stat64
  0.140.000137  1112   time
  0.120.000121  1012   brk
  0.120.000118  1210   gettimeofday
  0.110.000111  28 4   sigreturn
  0.110.000105  13 8 4 access
  0.100.000104  15 7   uname
  0.090.86  29 3   socket
  0.080.75   8 9   select
  0.060.59   8 7   _llseek
  0.060.59   7 8   fcntl64
  0.050.53  13 4   set_thread_area
  0.050.45  45 1   _sysctl
  0.050.45  11 4   clock_gettime
  0.040.35   9 4   dup2
  0.030.33  17 2   pipe
  0.030.26  13 2   setsockopt
  0.020.24   6 4   nanosleep
  0.020.23  12 2   geteuid32
  0.020.18   9 2   getuid32
  0.020.16   8 2   getegid32
  0.010.14   7 2   getrlimit
  0.010.12   6 2   getgid32
  0.010.09   9 1   getpgrp
  0.010.08   8 1   getpid
  0.010.08   8 1   getppid
  0.010.08   8 1   set_tid_address
-- --- --- - - 
100.000.099418  102829 total 


That's without errors. If you run that against your bconsole you should
see where it's bombing? Anyone else?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dep,
Khushil (GE Money)
Sent: 30 October 2007 15:38
To: Johan van Vliet; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Hanging after starting job and executing
status

Sound like something to do with the port forwarding to me. From shell on
client1 or client2 can you telnet to client3 on port 9103? If not
something screwey is going on with your port forwarding. You could alwas
turn on strace 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan
van Vliet
Sent: 30 October 2007 15:00
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Hanging after starting job and executing status


Hi,

I run a small site with 3 clients. Client 3 also trippled as director
and storage. Like this:

[CLIENT1]--+
   +--[INTERNET]--[CLIENT3/DIR/STORAGE]
[CLIENT2]--+


Client 1 and client 2 are Slackware Linux and client 3 is FreeBSD.

Because I ren out of diskspace I moved the storage to another (4th
machine; also FreeBSD). I also (stupid I know) upgraded from 2.2.4 to
2.2.5: 

[CLIENT1]--+
   +--[INTERNET]--[CLIENT3/DIR]--[STORAGE]
[CLIENT2]--+

Bacause I've only one public IP address I also installed portfwd on
client 3 to forward 9103 from client 3 to storage.

Sofar so good.

As a first test I backup'd client 3. This worked.! Then I tried to
backup client 1 and it stopped half way on /dev/cciss/c0...something
Second attempt 

[Bacula-users] Determine backed-up filesize from MySQL query

2007-10-30 Thread Flak Magnet
When I go to do a file restore I can see that the filesize is indicated in 
bwx-console.  That tells me that somewhere that information is stored in the 
bacula catalog.

How is that filesize determined and how can I get that filesize using a sql 
query?

I want to tweak the List up to 20 places where a File is saved regardless of 
the directory query to show me the filesize.

Poking around in the catalog with a mysql-query-browser isn't helping me out 
so I'm apparently missing something and there are so many references to the 
filesize and mysql in the mailing list archives that searching is getting me 
nothing but false-leads and whether this has been discussed before.

-- 
--
Flak Magnet (Tim)
www.flakmagnet.com

-
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


Re: [Bacula-users] How to see which volumes are in which pools?

2007-10-30 Thread Foo Bar

--- Thomas Glatthor [EMAIL PROTECTED] wrote:

 list pools and list volumes will help

Ah, thanks, I must be blind :)

 you can also add custom queries to the bconsole by editing this file:
 
 # cat /etc/bacula/bacula-dir.conf | grep QueryFile
QueryFile = /etc/bacula/scripts/query.sql

How do you call the SQL statements from this?


  ___ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html

-
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


Re: [Bacula-users] How to see which volumes are in which pools?

2007-10-30 Thread Foo Bar

--- Thomas Glatthor [EMAIL PROTECTED] wrote:

 list pools and list volumes will help

Ah, thanks, I must be blind :)

 you can also add custom queries to the bconsole by editing this file:
 
 # cat /etc/bacula/bacula-dir.conf | grep QueryFile
QueryFile = /etc/bacula/scripts/query.sql

How do you call the SQL statements from this?


  ___ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html

-
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


Re: [Bacula-users] Bacula and Day saving time

2007-10-30 Thread Rich
On 2007.10.30. 17:51, Chris Hoogendyk wrote:
 
 Ryan Novosielski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Are you certain that the DST dates did not move in your area? I'm not
 sure which zones expanded DST and which did not. I realize that is not
 your question, but it is something I wanted to mention, since my
 timezone does not switch until Nov 4th.

 That said, I'd expect Bacula will skip the backup, given its behavior in
 this case. One way to solve this problem, I guess, would be to never
 start backups between 2 and 3 AM.
 
 yup.
 
 Daylight Savings time laws changed affective spring 2007 in the U.S. and 
 Australia. I have no clue about the Czech Republic or others. There were 
 patches to be applied according to your operating system. I applied 
 Solaris 9 patches. Mac OS X and Windows systems got theirs by automatic 
 updates. One of our labs had an older Sun OS 5.6 system for which there 
 were no patches. After messing with it for a while, they finally punted 
 and said it didn't really matter.
...

i don't think timezone changes was the question here :)

actual question would be - how does bacula actually handle these times.
i also had one job executed twice, but given that it's still 1.36, i 
didn't bother much.

so, is there some dst intelligence in latest versions of bacula ?
if not, maybe a comment, warning about this should be added to default 
configuration file schedules :)
-- 
  Rich

-
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


Re: [Bacula-users] scsi problems

2007-10-30 Thread Michael Galloway
ok, btape is running fill now (looks like reading is the issue) but
its slow:

12:14:11 Flush block, write EOF
Wrote blk_block=3425000, dev_blk_num=1000 VolBytes=220,953,535,488 rate=38134.9 
KB/s
Wrote blk_block=343, dev_blk_num=6000 VolBytes=221,276,095,488 rate=38157.6 
KB/s
Wrote blk_block=3435000, dev_blk_num=11000 VolBytes=221,598,655,488 
rate=38167.2 KB/s
Wrote blk_block=344, dev_blk_num=500 VolBytes=221,921,215,488 rate=38170.1 
KB/s
Wrote blk_block=3445000, dev_blk_num=5500 VolBytes=222,243,775,488 rate=38179.7 
KB/s
Wrote blk_block=345, dev_blk_num=10500 VolBytes=222,566,335,488 
rate=38189.1 KB/s
Wrote blk_block=3455000, dev_blk_num=15500 VolBytes=222,888,895,488 
rate=38192.1 KB/s
12:15:03 Flush block, write EOF
Wrote blk_block=346, dev_blk_num=4000 VolBytes=223,211,455,488 rate=38162.3 
KB/s
Wrote blk_block=3465000, dev_blk_num=9000 VolBytes=223,534,015,488 rate=38171.8 
KB/s
Wrote blk_block=347, dev_blk_num=14000 VolBytes=223,856,575,488 
rate=38194.3 KB/s
Wrote blk_block=3475000, dev_blk_num=3500 VolBytes=224,179,135,488 rate=38184.1 
KB/s

38MB/s is only around 140GB/hr. i'd expect a bit more from LTO-4. 

-- michael

On Tue, Oct 30, 2007 at 07:43:14AM +0200, Michael Lewinger wrote:
 Hi Michael,
 
 tar is not checking while writing, but bacula does. Is the read error on
 subsequent tests failing at the same block ?
 
 29-Oct 21:27 btape JobId 0: Error: block.c:995 Read error on fd=3 at
 file:blk 0:1000
 
 I'd suggest cleaning the tape head anyway (how frequently do you do it ?),
 reformat the tape, and check again.
 
 Michael
 
 On 10/30/07, Michael Galloway [EMAIL PROTECTED] wrote:
 
  seem to be having some scsi problems with btape test. this test is with
  a spectra T50/LTO-4 attached via an LSI LSIU320 controller. i ran 100GB
  of data onto the drive with tar with no issue. but when i run this:
 
  ./btape -c bacula-sd.conf /dev/nst0
 
  test
 
  i get:
 
  *test
 
  === Write, rewind, and re-read test ===
 
  I'm going to write 1000 records and an EOF
  then write 1000 records and an EOF, then rewind,
  and re-read the data to verify that it is correct.
 
  This is an *essential* feature ...
 
  btape: btape.c:827 Wrote 1000 blocks of 64412 bytes.
  btape: btape.c:501 Wrote 1 EOF to LTO4 (/dev/nst0)
  btape: btape.c:843 Wrote 1000 blocks of 64412 bytes.
  btape: btape.c:501 Wrote 1 EOF to LTO4 (/dev/nst0)
  btape: btape.c:852 Rewind OK.
  1000 blocks re-read correctly.
  29-Oct 21:27 btape JobId 0: Error: block.c:995 Read error on fd=3 at
  file:blk 0:1000 on device LTO4 (/dev/nst0). ERR=No such device or address.
  btape: btape.c:864 Read block 1001 failed! ERR=No such device or address
 
  and i the kernel ring buffer log:
 
  st0: Block limits 1 - 16777215 bytes.
  mptbase: ioc0: LogInfo(0x11010f00): F/W: bug! MID not found
  mptbase: ioc0: LogInfo(0x11010f00): F/W: bug! MID not found
  mptbase: ioc0: IOCStatus(0x004b): SCSI IOC Terminated
  st0: Error 8 (sugg. bt 0x0, driver bt 0x0, host bt 0x8).
  mptscsih: ioc0: attempting task abort! (sc=81011bf35240)
  st 5:0:15:0:
  command: Read(6): 08 00 00 fc 00 00
  mptbase: Initiating ioc0 recovery
  mptscsih: ioc0: task abort: SUCCESS (sc=81011bf35240)
  mptbase: ioc0: IOCStatus(0x0043): SCSI Device Not There
  mptscsih: ioc0: attempting target reset! (sc=81011bf35240)
  st 5:0:15:0:
  command: Read(6): 08 00 00 fc 00 00
  mptscsih: ioc0: target reset: SUCCESS (sc=81011bf35240)
  mptbase: ioc0: IOCStatus(0x0043): SCSI Device Not There
  mptscsih: ioc0: attempting bus reset! (sc=81011bf35240)
  st 5:0:15:0:
  command: Read(6): 08 00 00 fc 00 00
  mptscsih: ioc0: bus reset: SUCCESS (sc=81011bf35240)
  mptbase: ioc0: IOCStatus(0x0047): SCSI Protocol Error
  mptscsih: ioc0: Attempting host reset! (sc=81011bf35240)
  mptbase: Initiating ioc0 recovery
  mptbase: ioc0: IOCStatus(0x0047): SCSI Protocol Error
  st 5:0:15:0: scsi: Device offlined - not ready after error recovery
  st0: Error 8 (sugg. bt 0x0, driver bt 0x0, host bt 0x8).
  target5:0:15: Beginning Domain Validation
  target5:0:15: Domain Validation skipping write tests
  target5:0:15: Ending Domain Validation
  target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
  target5:0:15: Beginning Domain Validation
  target5:0:15: Domain Validation skipping write tests
  target5:0:15: Ending Domain Validation
  target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
  target5:0:15: Beginning Domain Validation
  target5:0:15: Domain Validation skipping write tests
  target5:0:15: Ending Domain Validation
  target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
  target5:0:15: Beginning Domain Validation
  target5:0:15: Domain Validation skipping write tests
  target5:0:15: Ending Domain Validation
  target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
 
  i've reseated my cables and terminator. reseated the scsi card. any idea
  where the problem is? this is 

[Bacula-users] multiple copies

2007-10-30 Thread Megan Kispert

Hey All,

I tried to hunt through the mailling list archives, but I wasn't sure what 
to search for.  I currently have bacula 2.2.5 on my Centos 5 backup 
server.  I now have a requirement to have a copy of all backups both on an 
onsite and offsite server in addition to my backup server.  I must be 
able to do full system restores off of either of these servers without my 
original backup server.  I was wondering if there were any options 
available with bacula to maintain multiple databases with multiple 
backup copies?   Has anyone tried anything similar before?

-Megan

-
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


Re: [Bacula-users] How to see which volumes are in which pools?

2007-10-30 Thread Thomas Glatthor
*query
Available queries:
 1: List up to 40 places where a File is saved regardless of the 
directory
 2: List places where a File from a given Client is saved regardless 
of the directory and case
 3: List where the most recent copies of a file are saved
 4: List last 20 Full Backups for a Client
 5: List all backups for a Client after a specified time
 6: List all backups for a Client
 7: List Volume Attributes for a selected Volume
 8: List Volumes used by selected JobId
 9: List Volumes to Restore All Files
10: List Pool Attributes for a selected Pool
11: List total files/bytes by Job
12: List total files/bytes by Volume
13: List Files for a selected JobId
14: List Jobs stored in a selected MediaId
15: List Jobs stored for a given Volume name
16: List Volumes Bacula thinks are in changer JBGS
17: List Volumes Bacula thinks are in changer JBBB
18: List Volumes likely to need replacement from age or errors
19: List Volumes Bacula thinks should be removed from changer
20: List Volumes Bacula thinks are eligible for the changer
Choose a query (1-20):
*

:)

Foo Bar schrieb:
 --- Thomas Glatthor [EMAIL PROTECTED] wrote:

   
 list pools and list volumes will help
 

 Ah, thanks, I must be blind :)

   
 you can also add custom queries to the bconsole by editing this file:

 # cat /etc/bacula/bacula-dir.conf | grep QueryFile
QueryFile = /etc/bacula/scripts/query.sql
 

 How do you call the SQL statements from this?


   ___ 
 Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
 http://uk.promotions.yahoo.com/forgood/environment.html

 -
 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


Re: [Bacula-users] Determine backed-up filesize from MySQL query

2007-10-30 Thread Dep, Khushil (GE Money)
It doesn't look like it is stored in the DB. Seems to be sotred in
record headers Src/stored/record.h for def... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flak
Magnet
Sent: 30 October 2007 16:02
To: bacula-users
Subject: [Bacula-users] Determine backed-up filesize from MySQL query

When I go to do a file restore I can see that the filesize is indicated
in bwx-console.  That tells me that somewhere that information is stored
in the bacula catalog.

How is that filesize determined and how can I get that filesize using a
sql query?

I want to tweak the List up to 20 places where a File is saved
regardless of the directory query to show me the filesize.

Poking around in the catalog with a mysql-query-browser isn't helping me
out so I'm apparently missing something and there are so many references
to the filesize and mysql in the mailing list archives that searching is
getting me nothing but false-leads and whether this has been discussed
before.

--
--
Flak Magnet (Tim)
www.flakmagnet.com


-
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


[Bacula-users] Bacula using one drive in a Vchanger

2007-10-30 Thread Elie Azar
Hi,

we're using vchanger, but bacula never seems to use more than the first 
virtual drive, even though we have 10 defined in the storage Autochanger 
directive for it.  why won't bacula use drive1, drive2, etc.  It does at 
least look at these higher-numbered drives when the update slots command 
is used, so it's not a config problem in terms of defining the virtual 
drives within the autochanger.

Has anyone used an autochanger with multiple hard drives. Any help is 
greatly appreciated.

Thank you,
Elie Azar



-
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


Re: [Bacula-users] Encryption and hardware compression

2007-10-30 Thread Vladimir Doisan
If you turn on FILE encryption - the data will be encrypted on the tape
and on the network.
If you turn on TLS encryption - the data will be encrypted on the
network but NOT on the tape.
If you turn both options on the essentially data will be encrypted
twice on the network and once on the tape.

I'm not sure what you mean by your statement below.
 For example what's with the connection cookie the director presents
 the [FS]D (don't know exactly)?


Eric Böse-Wolf wrote:
 Vladimir Doisan [EMAIL PROTECTED] writes:
 
 If you turn TLS and file encryption - the data will be double encrypted
 
 If I only turn on file encryption, then the data goes encrypted over the
 wire or the air, but what is not encrypted?
 
 For example what's with the connection cookie the director presents
 the [FS]D (don't know exactly)?
 
 Yours sincerely,
 
 Eric
 
 -
 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


Re: [Bacula-users] Bacula using one drive in a Vchanger

2007-10-30 Thread Josh Fisher

Elie Azar wrote:
 Hi,

 we're using vchanger, but bacula never seems to use more than the first 
 virtual drive, even though we have 10 defined in the storage Autochanger 
 directive for it.  why won't bacula use drive1, drive2, etc.  It does at 
 least look at these higher-numbered drives when the update slots command 
 is used, so it's not a config problem in terms of defining the virtual 
 drives within the autochanger.
   
I don't believe bacula's volume reservation worked well with multiple 
drive autochangers before version 2.2.0. If you are using a pre-2.2.0 
release, then that is likely why bacula is not selecting another drive 
on the autochanger, even though it is loaded with a usable volume. For a 
single vchanger to be able to run multiple concurrent jobs (one on each 
virtual drive), you need bacula 2.2.0 or greater.



-
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


Re: [Bacula-users] Bacula and Day saving time

2007-10-30 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rich wrote:
 On 2007.10.30. 17:51, Chris Hoogendyk wrote:
 Ryan Novosielski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Are you certain that the DST dates did not move in your area? I'm not
 sure which zones expanded DST and which did not. I realize that is not
 your question, but it is something I wanted to mention, since my
 timezone does not switch until Nov 4th.

 That said, I'd expect Bacula will skip the backup, given its behavior in
 this case. One way to solve this problem, I guess, would be to never
 start backups between 2 and 3 AM.
 yup.

 Daylight Savings time laws changed affective spring 2007 in the U.S. and 
 Australia. I have no clue about the Czech Republic or others. There were 
 patches to be applied according to your operating system. I applied 
 Solaris 9 patches. Mac OS X and Windows systems got theirs by automatic 
 updates. One of our labs had an older Sun OS 5.6 system for which there 
 were no patches. After messing with it for a while, they finally punted 
 and said it didn't really matter.
 ...
 
 i don't think timezone changes was the question here :)
 
 actual question would be - how does bacula actually handle these times.
 i also had one job executed twice, but given that it's still 1.36, i 
 didn't bother much.
 
 so, is there some dst intelligence in latest versions of bacula ?
 if not, maybe a comment, warning about this should be added to default 
 configuration file schedules :)

No, they weren't, but depending on where you live, there was no problem
this weekend. :)

How do other packages handle this? I believe cron is one of the more
intelligent programs when dealing with this. Perhaps anacron?
- --
  _  _ _  _ ___  _  _  _
 |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

iD8DBQFHJ3zymb+gadEcsb4RAppeAKCy8pvA0Uc6F61TQ36PtFRTE7LJXwCglT4e
Xsq/OJClCggdKmoocewgtZc=
=QHwu
-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


Re: [Bacula-users] Hanging after starting job and executing status

2007-10-30 Thread Johan van Vliet

Hi,

Thanks for your reply. I now also suspect it is network related. The strange 
thing is that I also tried to restore a small file to the remote system and 
it worked fine. The tool I use (portfwd) has been used by me in other cases 
plenty of times with multi-gigabytes of transfered data.. Never had a 
problem. 

Without the -c in strace I get a lot of:
5784  syscall_383(0x809cf4c)= 0x17f
5784  syscall_383(0x809cf4c)= 0
5784  syscall_383(0x809cf4c)= 0
5784  syscall_383(0x809cf40)= 0
5784  syscall_383(0x809cf40)= 0
5784  syscall_383(0x809cf40)= 0
5784  syscall_383(0x809cf4c)= 0x17f
5784  syscall_383(0x809cf4c)= 0
5784  syscall_383(0x809cf40)= 0
5784  syscall_383(0x809cf40)= 0
5784  syscall_383(0x809cf40)= 0
5784  syscall_383(0x809cf40)= 0
5784  syscall_383(0x809cf40)= 0

To be exact it hangs on:
5784  syscall_383(0x809cf40
for a couple of seconds and than repeats.

With the -c I get:
% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 74.200.011874  11  1042   read
  6.290.001007  205038 access
  3.610.000577  1636   mmap
  2.910.000466  2519 4 open
  2.540.000406  1625   break
  1.790.000287 287 1   execve
  1.480.000237  1615   close
  1.360.000218  1120   mprotect
  1.170.000187  1711   munmap
  0.900.000144  18 8   ioctl
  0.790.000127  1112   fstat
  0.570.91  23 4 2 stat
  0.430.69  10 7   sigprocmask
  0.340.55  14 4   __sysctl
  0.220.36   9 4   issetugid
  0.180.29  29 1 1 readlink
  0.180.29  10 3   lseek
  0.140.23  12 2   gettimeofday
  0.130.21  21 1   write
  0.120.20  10 2   getpid
  0.120.19  10 2   getuid
  0.120.19  10 2   sysarch
  0.080.13  13 1   __getcwd
  0.070.11  11 1   fcntl
  0.060.10  10 1   sigaltstack
  0.060.09   9 1   geteuid
  0.060.09   9 1   getegid
  0.060.09   9 1   getgid
-- --- --- - - 
100.000.016002  127745 total


Which suggests to me that you are right about suspecting the forwarding; 
read is about 3/4 of the time.

I think I'll have to resort to a normal BSD style forwarding and see how 
that works out. 

J.


Dep, Khushil (GE Money) writes:

 You may also find running sudo strace -fF -o list.out ./bconsole
 helpful. Once it hangs - give it a few minutes - then bomb out and post
 the list.out file here for us to take a look at :-) 
 
 -Original Message-
 From: Dep, Khushil (GE Money) 
 Sent: 30 October 2007 15:50
 To: Dep, Khushil (GE Money); Johan van Vliet;
 bacula-users@lists.sourceforge.net
 Subject: RE: [Bacula-users] Hanging after starting job and executing
 status
 
 Here's the output of mine:
 
 sudo strace -cfF -o list.out ./bconsole
 
 % time seconds  usecs/call callserrors syscall
 -- --- --- - - 
  38.930.0387024838 8 4 waitpid
  17.110.017006154611 1 futex
  15.530.015440 102   151   write
  12.400.012325  37   330   read
   3.170.003149 787 4   execve
   2.300.002289  4156   rt_sigprocmask
   1.630.001620  3251   close
   1.620.001609 322 5   clone
   1.450.001441  3442 7 open
   1.080.001072  1291   rt_sigaction
   0.790.000783  1942   old_mmap
   0.700.000700  4416   munmap
   0.530.000528 176 3 2 connect
   0.350.000344  1036   fstat64
   0.290.000290  1322   mmap2
   0.290.000289  1618 2 ioctl
   0.260.000256  28 9   mprotect
   0.220.000223  1218 9 stat64
   0.140.000137  1112   time
   0.120.000121  10   

[Bacula-users] backing up to multiple hard disk drives with different available space on each

2007-10-30 Thread pedro noticioso
I have a single file server with 2x 512 GB hard
drives.

Ive been given a bunch of older hard drisk to backup
to:

1x 80 IDE GB
1x 100 IDE GB
2x 200 IDE GB
1x 320 IDE GB


Actual disk usage on the file server that I will
backup is only 200 GB but growing, and I would like to
set something up that may allow me to easilly add and
remove different size hard drives in the future.

In case a backup drive dies, Id like to turn off the
backup server, remove the dead one, install a new one,
boot, configure, and let bacula play with it.

My concern is on:
 letting bacula access any number of drives
 letting bacula know the size available on each
 making sure that volumes just span through all
available drives.

I noticed disk-changer script, but I googled for a
couple hours and found no documentation at all, so Ive
been wondering if someone here may have done something
like this already and may share an example

or, someone please confrim to me that this

http://www.bacula.org/dev-manual/Autochanger_Resource1.html#SECTION00322

is the right direction where I should go?

and some details, on my speciffic setup may help

oorrr!

is there a simpler way? I dont like complicating
things, I was hoping on 

Device = /disk1, /disk2, /disk3, /disk4, /disk5 

straight into the sd configuration ;)

thanks



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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


Re: [Bacula-users] Bacula and Day saving time

2007-10-30 Thread Arno Lehmann
Hi,

30.10.2007 19:50,, Ryan Novosielski wrote::
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Rich wrote:
 On 2007.10.30. 17:51, Chris Hoogendyk wrote:
 Ryan Novosielski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
...
 That said, I'd expect Bacula will skip the backup, given its behavior in
 this case. One way to solve this problem, I guess, would be to never
 start backups between 2 and 3 AM.
 yup.

Very reasonable, but IIRC a better solution was implemented in Bacula, 
probably since 2.0. I couldn't find this with a grep in ReleaseNotes, 
but I recall that being discussed a year or two ago on the mailing lists.

 so, is there some dst intelligence in latest versions of bacula ?
 if not, maybe a comment, warning about this should be added to default 
 configuration file schedules :)
 
 No, they weren't, but depending on where you live, there was no problem
 this weekend. :)

See above - I believe there is the necessary intelligence in Bacula.

Arno

 How do other packages handle this? I believe cron is one of the more
 intelligent programs when dealing with this. Perhaps anacron?
 - --
   _  _ _  _ ___  _  _  _
  |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
 
 iD8DBQFHJ3zymb+gadEcsb4RAppeAKCy8pvA0Uc6F61TQ36PtFRTE7LJXwCglT4e
 Xsq/OJClCggdKmoocewgtZc=
 =QHwu
 -END PGP SIGNATURE-
 
 
 
 
 -
 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

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
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


Re: [Bacula-users] scsi problems

2007-10-30 Thread Ralf Gross
Michael Galloway schrieb:
 Wrote blk_block=3465000, dev_blk_num=9000 VolBytes=223,534,015,488 
 rate=38171.8 KB/s
 Wrote blk_block=347, dev_blk_num=14000 VolBytes=223,856,575,488 
 rate=38194.3 KB/s
 Wrote blk_block=3475000, dev_blk_num=3500 VolBytes=224,179,135,488 
 rate=38184.1 KB/s
 
 38MB/s is only around 140GB/hr. i'd expect a bit more from LTO-4. 

I get ~77 MB/s with a HP Ultrium LTP-4 drive during full backups and
spooling (write speed to tape).

   target5:0:15: Beginning Domain Validation
   target5:0:15: Domain Validation skipping write tests
   target5:0:15: Ending Domain Validation
   target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
   target5:0:15: Beginning Domain Validation
   target5:0:15: Domain Validation skipping write tests
   target5:0:15: Ending Domain Validation
   target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
   target5:0:15: Beginning Domain Validation
   target5:0:15: Domain Validation skipping write tests
   target5:0:15: Ending Domain Validation
   target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
   target5:0:15: Beginning Domain Validation
   target5:0:15: Domain Validation skipping write tests
   target5:0:15: Ending Domain Validation
   target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)

I don't see the errors you get. But I also see FAST-80 WIDE SCSI
160.0 MB/s mesages in my kernel log. The HP tool ltt reports U160
connections for both of my drives.  Altough the scsi controller's bios
claims during boot that the drives are connected with U320 and the
drives are capable of U320.

After boot I checked the scsi paramters and it looks like 6.25 would be
the correct value for U320. But the HP tool still shows that the
drives are connected with U160. 

/sys/class/spi_transport/target5\:0\:1/min_period 
6.25

Sorry for hijacking one half of your thread, but I would like to know
if anyone has seen a FAST-160 message in the kernel log with tape
drives.  Not that I could saturate a U160 connection, but I would like
to know why it's only connecting with U160 speed. An other LSI
controller which is used for a RAID devices shows the propper U320
(FAST-160) value during boot.

Ralf

-
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


Re: [Bacula-users] How to see which volumes are in which pools?

2007-10-30 Thread Arno Lehmann
Hi,

30.10.2007 17:06,, Foo Bar wrote::
 --- Thomas Glatthor [EMAIL PROTECTED] wrote:
 
 list pools and list volumes will help
 
 Ah, thanks, I must be blind :)
 
 you can also add custom queries to the bconsole by editing this file:

 # cat /etc/bacula/bacula-dir.conf | grep QueryFile
QueryFile = /etc/bacula/scripts/query.sql
 
 How do you call the SQL statements from this?

Using the query command from bconsole.

Arno

 
   ___ 
 Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
 http://uk.promotions.yahoo.com/forgood/environment.html
 
 -
 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
 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
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


Re: [Bacula-users] scsi problems

2007-10-30 Thread Michael Lewinger
Hi Michael,

So - what was the issue ? How was it solved ?

michael

On 10/30/07, Ralf Gross [EMAIL PROTECTED] wrote:

 Michael Galloway schrieb:
  Wrote blk_block=3465000, dev_blk_num=9000 VolBytes=223,534,015,488 rate=
 38171.8 KB/s
  Wrote blk_block=347, dev_blk_num=14000 VolBytes=223,856,575,488
 rate=38194.3 KB/s
  Wrote blk_block=3475000, dev_blk_num=3500 VolBytes=224,179,135,488 rate=
 38184.1 KB/s
 
  38MB/s is only around 140GB/hr. i'd expect a bit more from LTO-4.

 I get ~77 MB/s with a HP Ultrium LTP-4 drive during full backups and
 spooling (write speed to tape).

target5:0:15: Beginning Domain Validation
target5:0:15: Domain Validation skipping write tests
target5:0:15: Ending Domain Validation
target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
target5:0:15: Beginning Domain Validation
target5:0:15: Domain Validation skipping write tests
target5:0:15: Ending Domain Validation
target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
target5:0:15: Beginning Domain Validation
target5:0:15: Domain Validation skipping write tests
target5:0:15: Ending Domain Validation
target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
target5:0:15: Beginning Domain Validation
target5:0:15: Domain Validation skipping write tests
target5:0:15: Ending Domain Validation
target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)

 I don't see the errors you get. But I also see FAST-80 WIDE SCSI
 160.0 MB/s mesages in my kernel log. The HP tool ltt reports U160
 connections for both of my drives.  Altough the scsi controller's bios
 claims during boot that the drives are connected with U320 and the
 drives are capable of U320.

 After boot I checked the scsi paramters and it looks like 6.25 would be
 the correct value for U320. But the HP tool still shows that the
 drives are connected with U160.

 /sys/class/spi_transport/target5\:0\:1/min_period
 6.25

 Sorry for hijacking one half of your thread, but I would like to know
 if anyone has seen a FAST-160 message in the kernel log with tape
 drives.  Not that I could saturate a U160 connection, but I would like
 to know why it's only connecting with U160 speed. An other LSI
 controller which is used for a RAID devices shows the propper U320
 (FAST-160) value during boot.

 Ralf

 -
 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




-- 
Michael Lewinger
MBR Computers
http://mbrcomp.co.il
-
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


Re: [Bacula-users] Restore Problems

2007-10-30 Thread Brian A Seklecki (Mobile)

On Mon, 2007-10-29 at 16:45 +0100, Christof Klaus wrote:
 hello luiz, 
 you didnt mention where you expect the file to be restored...the
 restore-location given in the job is /tmp .. did you look there ?
 
 christof klaus.
 

Luiz:

Restore jobs defined in bacula-dir.conf are normally used a templates
which manually-created jobs at the bconsole(8) command line use to
inherit sane defaults.

Try logging into bconsole and type Restore and follow the
instructions.  I'm a big fan of #5.

~BAS

 
 Luiz Gustavo R. Nogueira schrieb: 
  Hello all,
  
  When I try to restore a file through the console, everything looks fine 
  and I get a sucessful message and a email saying that file was restored 
  sucessfully, but when I go to the location where the restored file 
  
  should be, nothing is there.
  
  I'm using bacula 2.0.3 with a RedHat AS 4 kernel 2.6.9-42. There's no 
  error in the logs.
  
  Follows below my restore job configured at bacula-dir:
  
  Job {
Name = RestoreFiles
  
Type = Restore
Client=client-name-fd
FileSet=Full 
Storage = File 
Pool = Default
Messages = Standard
Where = /tmp
  }
  
  Please let me know if you need any further information in order to help 
  
  solve this problem. I think it's something simple, but was not able to find.
  
  Thanks in advance!
  Luiz

  
  
  
  -
  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


-
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


Re: [Bacula-users] scsi problems

2007-10-30 Thread Michael Galloway
nothing is solved yet. i rebooted everything this morning to make sure the
scsi bus was cleared and reset. then i decided to try the individual btape
tests to see if i could isolate the issue. the fill test is running all day
still running:

16:23:27 Flush block, write EOF
Wrote blk_block=12325000, dev_blk_num=5000 VolBytes=795,110,335,488 
rate=38313.0 KB/s
Wrote blk_block=1233, dev_blk_num=1 VolBytes=795,432,895,488 
rate=38313.8 KB/s

i get the impression that the issue was with the read part of the btape test, i 
may
upgrade the mpt drivers for the LSI controller when this finishes as well. right
now they are version 3.x:

# cat /proc/mpt/version 
mptlinux-3.04.02
  Fusion MPT base driver
  Fusion MPT SPI host driver

and version 4.00.13.04-1-rhel5.x86_64 is available.

-- michael



On Tue, Oct 30, 2007 at 10:20:02PM +0200, Michael Lewinger wrote:
 Hi Michael,
 
 So - what was the issue ? How was it solved ?
 
 michael
 
 On 10/30/07, Ralf Gross [EMAIL PROTECTED] wrote:
 
  Michael Galloway schrieb:
   Wrote blk_block=3465000, dev_blk_num=9000 VolBytes=223,534,015,488 rate=
  38171.8 KB/s
   Wrote blk_block=347, dev_blk_num=14000 VolBytes=223,856,575,488
  rate=38194.3 KB/s
   Wrote blk_block=3475000, dev_blk_num=3500 VolBytes=224,179,135,488 rate=
  38184.1 KB/s
  
   38MB/s is only around 140GB/hr. i'd expect a bit more from LTO-4.
 
  I get ~77 MB/s with a HP Ultrium LTP-4 drive during full backups and
  spooling (write speed to tape).
 
 target5:0:15: Beginning Domain Validation
 target5:0:15: Domain Validation skipping write tests
 target5:0:15: Ending Domain Validation
 target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
 target5:0:15: Beginning Domain Validation
 target5:0:15: Domain Validation skipping write tests
 target5:0:15: Ending Domain Validation
 target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
 target5:0:15: Beginning Domain Validation
 target5:0:15: Domain Validation skipping write tests
 target5:0:15: Ending Domain Validation
 target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
 target5:0:15: Beginning Domain Validation
 target5:0:15: Domain Validation skipping write tests
 target5:0:15: Ending Domain Validation
 target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 126)
 
  I don't see the errors you get. But I also see FAST-80 WIDE SCSI
  160.0 MB/s mesages in my kernel log. The HP tool ltt reports U160
  connections for both of my drives.  Altough the scsi controller's bios
  claims during boot that the drives are connected with U320 and the
  drives are capable of U320.
 
  After boot I checked the scsi paramters and it looks like 6.25 would be
  the correct value for U320. But the HP tool still shows that the
  drives are connected with U160.
 
  /sys/class/spi_transport/target5\:0\:1/min_period
  6.25
 
  Sorry for hijacking one half of your thread, but I would like to know
  if anyone has seen a FAST-160 message in the kernel log with tape
  drives.  Not that I could saturate a U160 connection, but I would like
  to know why it's only connecting with U160 speed. An other LSI
  controller which is used for a RAID devices shows the propper U320
  (FAST-160) value during boot.
 
  Ralf
 
  -
  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
 
 
 
 
 -- 
 Michael Lewinger
 MBR Computers
 http://mbrcomp.co.il

 -
 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


Re: [Bacula-users] scsi problems

2007-10-30 Thread Ralf Gross
Michael Galloway schrieb:
 your LTO-4 is on the LSI controller? what version of the mpt drivers are you 
 using? mine is:
 
 [EMAIL PROTECTED] mpt]# cat /proc/mpt/version 
 mptlinux-3.04.02
   Fusion MPT base driver
   Fusion MPT SPI host driver
 
 i'm going to upgrade to 4.00.x tomorrow or after this btape run
 finishes, whichever comes first.

# cat /proc/mpt/version 
mptlinux-3.04.01
  Fusion MPT base driver
  Fusion MPT SPI host driver
# cat /proc/mpt/summary 
ioc0: LSI53C1030, FwRev=01033010h, Ports=1, MaxQ=222, IRQ=66
ioc1: LSI53C1030, FwRev=01033010h, Ports=1, MaxQ=222, IRQ=74

Ralf

-
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


Re: [Bacula-users] multiple copies

2007-10-30 Thread Michael Lewinger
Sure, although I have not tried it myself. I suppose you could do better by
using a filesystem replicator as used on DRP instead of trying to make this
work on bacula. Cloning jobs would be spending twice the time required for a
single job, and be run sequentially (although they may be also run
concurrently).

1) Re: duplicate jobs, pp 135-136 of the PDF manual, referring to one of
the Job directives (run):

quote-
Run = job-name The Run directive (not to be confused with the Run
option in a Schedule) allows you to start other jobs or to clone jobs.
By using the cloning keywords (see below), you can backup the same
data (or almost the same data) to two or more drives at the same
time. The job-name is normally the same name as the current Job
resource (thus creating a clone). However, it may be any Job name,
so one job may start other related jobs.
136 CHAPTER 11. CONFIGURING THE DIRECTOR
The part after the equal sign must be enclosed in double quotes, and
can contain any string or set of options (overrides) that you can specify
when entering the Run command from the console. For example
storage=DDS-4  In addition, there are two special keywords
that permit you to clone the current job. They are level=%l and
since=%s. The %l in the level keyword permits entering the actual
level of the current job and the %s in the since keyword permits putting
the same time for comparison as used on the current job. Note, in the
case of the since keyword, the %s must be enclosed in double quotes,
and thus they must be preceded by a backslash since they are already
inside quotes. For example:
run = Nightly-backup level=%l since=\%s\ storage=DDS-4
A cloned job will not start additional clones, so it is not possible to
recurse.
---end of quote--

2) Duplicate catalog: standard SQL replication practices are probably better
but you can configure two catalogs on bacula (in this case the clone job
should use the other catalog). You won't need to use the BACULA DIRECTOR on
the secondary server, only the SD daemon and a mysql server. The cloned jobs
would be stored on the seconday bacula server, and the originating jobs on
the primary.

3) rcp your bacula conf files to the secondary server, just in case.

No solution except maybe filesystem replication would produce an exact copy.
Trying another method such as 1)  2) and 3) will produce maybe a very
similar result, certainly usable, but not identical. For instance, slight
differences in the copy time on the client will produce slightly different
file versions (except if you'll be using concurrent FD copies+snapshot).

Cheers,

Michael

On 10/30/07, Megan Kispert [EMAIL PROTECTED] wrote:


 Hey All,

 I tried to hunt through the mailling list archives, but I wasn't sure what
 to search for.  I currently have bacula 2.2.5 on my Centos 5 backup
 server.  I now have a requirement to have a copy of all backups both on an
 onsite and offsite server in addition to my backup server.  I must be
 able to do full system restores off of either of these servers without my
 original backup server.  I was wondering if there were any options
 available with bacula to maintain multiple databases with multiple
 backup copies?   Has anyone tried anything similar before?

 -Megan

 -
 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




-- 
Michael Lewinger
MBR Computers
http://mbrcomp.co.il
-
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


Re: [Bacula-users] scsi problems

2007-10-30 Thread Michael Lewinger
Hi Michael,

This looks a bit like your problem; error 8 is quite common (google) but
only one link produced a valid answer that actually solved the problem. i
won't post the contents as it is quite embarrassing.

http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2003-05/2858.html

Pls keep updating.

Michael

On 10/30/07, Michael Galloway [EMAIL PROTECTED] wrote:

 nothing is solved yet. i rebooted everything this morning to make sure the
 scsi bus was cleared and reset. then i decided to try the individual btape
 tests to see if i could isolate the issue. the fill test is running all
 day
 still running:

 16:23:27 Flush block, write EOF
 Wrote blk_block=12325000, dev_blk_num=5000 VolBytes=795,110,335,488 rate=
 38313.0 KB/s
 Wrote blk_block=1233, dev_blk_num=1 VolBytes=795,432,895,488 rate=
 38313.8 KB/s

 i get the impression that the issue was with the read part of the btape
 test, i may
 upgrade the mpt drivers for the LSI controller when this finishes as well.
 right
 now they are version 3.x:

 # cat /proc/mpt/version
 mptlinux-3.04.02
   Fusion MPT base driver
   Fusion MPT SPI host driver

 and version 4.00.13.04-1-rhel5.x86_64 is available.

 -- michael



 On Tue, Oct 30, 2007 at 10:20:02PM +0200, Michael Lewinger wrote:
  Hi Michael,
 
  So - what was the issue ? How was it solved ?
 
  michael
 
  On 10/30/07, Ralf Gross [EMAIL PROTECTED] wrote:
  
   Michael Galloway schrieb:
Wrote blk_block=3465000, dev_blk_num=9000 VolBytes=223,534,015,488
 rate=
   38171.8 KB/s
Wrote blk_block=347, dev_blk_num=14000 VolBytes=223,856,575,488
   rate=38194.3 KB/s
Wrote blk_block=3475000, dev_blk_num=3500 VolBytes=224,179,135,488
 rate=
   38184.1 KB/s
   
38MB/s is only around 140GB/hr. i'd expect a bit more from LTO-4.
  
   I get ~77 MB/s with a HP Ultrium LTP-4 drive during full backups and
   spooling (write speed to tape).
  
  target5:0:15: Beginning Domain Validation
  target5:0:15: Domain Validation skipping write tests
  target5:0:15: Ending Domain Validation
  target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset
 126)
  target5:0:15: Beginning Domain Validation
  target5:0:15: Domain Validation skipping write tests
  target5:0:15: Ending Domain Validation
  target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset
 126)
  target5:0:15: Beginning Domain Validation
  target5:0:15: Domain Validation skipping write tests
  target5:0:15: Ending Domain Validation
  target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset
 126)
  target5:0:15: Beginning Domain Validation
  target5:0:15: Domain Validation skipping write tests
  target5:0:15: Ending Domain Validation
  target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset
 126)
  
   I don't see the errors you get. But I also see FAST-80 WIDE SCSI
   160.0 MB/s mesages in my kernel log. The HP tool ltt reports U160
   connections for both of my drives.  Altough the scsi controller's bios
   claims during boot that the drives are connected with U320 and the
   drives are capable of U320.
  
   After boot I checked the scsi paramters and it looks like 6.25 would
 be
   the correct value for U320. But the HP tool still shows that the
   drives are connected with U160.
  
   /sys/class/spi_transport/target5\:0\:1/min_period
   6.25
  
   Sorry for hijacking one half of your thread, but I would like to know
   if anyone has seen a FAST-160 message in the kernel log with tape
   drives.  Not that I could saturate a U160 connection, but I would like
   to know why it's only connecting with U160 speed. An other LSI
   controller which is used for a RAID devices shows the propper U320
   (FAST-160) value during boot.
  
   Ralf
  
  
 -
   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
  
 
 
 
  --
  Michael Lewinger
  MBR Computers
  http://mbrcomp.co.il

 
 -
  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




-- 
Michael Lewinger
MBR Computers
http://mbrcomp.co.il
-
This SF.net 

Re: [Bacula-users] bacula 2.2.5: some job never finish

2007-10-30 Thread Michael Lewinger
Hi Lise,

If this is a recurrent problem, there may be a problem with the query,
maybe related to characters (I doubt) or accessing a problematic file
(maybe...). Check the mysql server with the SHOW PROCESSLIST
command, maybe the stuck query will show in the info field.

Cheers,

Michael

On 10/30/07, lise machetel [EMAIL PROTECTED] wrote:



 I use bacula 2.2.5 on a debian Etch server (recent update).
 clients are debian Etch or sarge with same version of bacula client
 MySql server is used - version 5.0 (Etch stable package)

 I had no error during the compilation.

 during backup, under bconsole, if I do a status dir, I can see that the 
 status of the client is is in unknow state
 if I do a status client=name-of-this-client, the client answer that there is 
 no job running, and that the job finished successfully.
 under a shell, I can see that MySql take 99% of the cpu
 and a nestat -an show:
 tcp0  0 192.168.200.19:9101 192.168.200.19:43174
 ESTABLISHED
 tcp0  0 192.168.200.19:43174192.168.200.19:9101 
 ESTABLISHED
 tcp0  0 192.168.200.19:49926192.168.200.19:9103 TIME_WAIT
 tcp9  0 192.168.200.19:41945192.168.200.19:9103 CLOSE_WAIT
 tcp0  0 192.168.200.19:56060192.168.200.215:9102TIME_WAIT
 tcp1  0 192.168.200.19:55688192.168.200.215:9102CLOSE_WAIT

 some times, the job finish, and some times the job stay like this (with the 
 cpu in use).  I tried to let it like this, to see if the job will finish - 
 but It can stay like this during one day without terminate anything.
 If I try to cancel the job, it doesn't work either (job stay with the 
 cancel state and mysql still use 99% of the cpu)
 When it is like this, I have to stop bacula and restart mysql to have a 
 chance to do something later.

 It doesn't happens always with the same client - so I think I have an issue 
 with the server - but I really don't know what.
 I checked the mysql database (repair command), and I have no issue with the 
 databases (mysql or bacula).

 on this bacula server, I backup 50 clients, it takes 1 To and backup used to 
 finish during the night. Because of this strange new behavior, it doesn't 
 work anymore like this.

 any ideas ?
 thanks


 
Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail
et bénéficiez d'un filtre antispam gratuit ! Windows Live Hotmail
 -
 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





-- 
Michael Lewinger
MBR Computers
http://mbrcomp.co.il
-
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


Re: [Bacula-users] scsi problems

2007-10-30 Thread Michael Galloway
:)

i may be off the mark, but not that far. i was able to write and read data
from the device, and the device reports itself as a scsi tape:

# mt -f /dev/st0 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (1):
 IM_REP_EN

# lsscsi
[0:0:0:0]diskATA  TOSHIBA MK2035GS DK02  /dev/sda
[1:0:0:0]diskATA  TOSHIBA MK2035GS DK02  /dev/sdb
[4:0:0:0]diskAMCC 9650SE-16M DISK  3.06  /dev/sdc
[5:0:15:0]   tapeIBM  ULTRIUM-TD4  7950  /dev/st0
[5:0:15:1]   mediumx SPECTRA  PYTHON   2000  -   

so, that probably is not my issue.

-- michael

On Tue, Oct 30, 2007 at 11:05:17PM +0200, Michael Lewinger wrote:
 Hi Michael,
 
 This looks a bit like your problem; error 8 is quite common (google) but
 only one link produced a valid answer that actually solved the problem. i
 won't post the contents as it is quite embarrassing.
 
 http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2003-05/2858.html
 
 Pls keep updating.
 
 Michael
 
 On 10/30/07, Michael Galloway [EMAIL PROTECTED] wrote:
 
  nothing is solved yet. i rebooted everything this morning to make sure the
  scsi bus was cleared and reset. then i decided to try the individual btape
  tests to see if i could isolate the issue. the fill test is running all
  day
  still running:
 
  16:23:27 Flush block, write EOF
  Wrote blk_block=12325000, dev_blk_num=5000 VolBytes=795,110,335,488 rate=
  38313.0 KB/s
  Wrote blk_block=1233, dev_blk_num=1 VolBytes=795,432,895,488 rate=
  38313.8 KB/s
 
  i get the impression that the issue was with the read part of the btape
  test, i may
  upgrade the mpt drivers for the LSI controller when this finishes as well.
  right
  now they are version 3.x:
 
  # cat /proc/mpt/version
  mptlinux-3.04.02
Fusion MPT base driver
Fusion MPT SPI host driver
 
  and version 4.00.13.04-1-rhel5.x86_64 is available.
 
  -- michael
 
 
 
  On Tue, Oct 30, 2007 at 10:20:02PM +0200, Michael Lewinger wrote:
   Hi Michael,
  
   So - what was the issue ? How was it solved ?
  
   michael
  
   On 10/30/07, Ralf Gross [EMAIL PROTECTED] wrote:
   
Michael Galloway schrieb:
 Wrote blk_block=3465000, dev_blk_num=9000 VolBytes=223,534,015,488
  rate=
38171.8 KB/s
 Wrote blk_block=347, dev_blk_num=14000 VolBytes=223,856,575,488
rate=38194.3 KB/s
 Wrote blk_block=3475000, dev_blk_num=3500 VolBytes=224,179,135,488
  rate=
38184.1 KB/s

 38MB/s is only around 140GB/hr. i'd expect a bit more from LTO-4.
   
I get ~77 MB/s with a HP Ultrium LTP-4 drive during full backups and
spooling (write speed to tape).
   
   target5:0:15: Beginning Domain Validation
   target5:0:15: Domain Validation skipping write tests
   target5:0:15: Ending Domain Validation
   target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset
  126)
   target5:0:15: Beginning Domain Validation
   target5:0:15: Domain Validation skipping write tests
   target5:0:15: Ending Domain Validation
   target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset
  126)
   target5:0:15: Beginning Domain Validation
   target5:0:15: Domain Validation skipping write tests
   target5:0:15: Ending Domain Validation
   target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset
  126)
   target5:0:15: Beginning Domain Validation
   target5:0:15: Domain Validation skipping write tests
   target5:0:15: Ending Domain Validation
   target5:0:15: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset
  126)
   
I don't see the errors you get. But I also see FAST-80 WIDE SCSI
160.0 MB/s mesages in my kernel log. The HP tool ltt reports U160
connections for both of my drives.  Altough the scsi controller's bios
claims during boot that the drives are connected with U320 and the
drives are capable of U320.
   
After boot I checked the scsi paramters and it looks like 6.25 would
  be
the correct value for U320. But the HP tool still shows that the
drives are connected with U160.
   
/sys/class/spi_transport/target5\:0\:1/min_period
6.25
   
Sorry for hijacking one half of your thread, but I would like to know
if anyone has seen a FAST-160 message in the kernel log with tape
drives.  Not that I could saturate a U160 connection, but I would like
to know why it's only connecting with U160 speed. An other LSI
controller which is used for a RAID devices shows the propper U320
(FAST-160) value during boot.
   
Ralf
   
   
  -
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  

[Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-10-30 Thread Dane Miller
Hi,

I added Client Run Before/After Job scripts to two backup jobs in
order to stop/start mysql.  But the After script seems to hang the
bacula-fd. Using 'status dir', the bacula console shows a terminated
status for these jobs, and the command 'list jobs' shows their status as
'R'.

The script being called is the FreeBSD rc script used to start/stop
mysql: /usr/local/etc/rc.d/mysql-server [start|stop].  I've ensured that
this script works when run manually, and that it returns 0.

When I restart the offending bacula-fd's (kill doesn't work; requires
kill -9), the offending jobs finish with errors and the rest of my
queued jobs begin to run.

Any ideas what's causing this?  Suggestions for fixing it?

Here are some details:

Director OS: FreeBSD 6.2-RELEASE
File Daemon OS: FreeBSD 6.1-RELEASE
bacula-dir/sd: 2.2.4
bacula-fd: 2.2.4
catalog: MySQL 5.0

Total # of jobs: 13, of which...
   7 Priority = 10
   5 Priority = 12
   1 Priority = 20

bacula-dir.conf: Director{Maximum Concurrent Jobs=10;...}
bacula-sd.conf: Storage{Maximum Concurrent Jobs=20;...}

Offending Client Run Before/After Job scripts:
  Client Run Before Job = /usr/local/etc/rc.d/mysql-server stop
  Client Run After Job = /usr/local/etc/rc.d/mysql-server start

logged output on the director while job is hung:
   zeus-dir: sql_find.c:134 No Job record found: ERR=
   CMD=SELECT StartTime FROM Job WHERE JobStatus='T' AND Type='B' AND Level='F' 
AND Name='ritin' AND ClientId=5 AND FileSetId=5 ORDER BY StartTime DESC LIMIT 1
   zeus-dir: No prior or suitable Full backup found in catalog. Doing FULL 
backup.
   zeus-dir: Start Backup JobId 31, Job=ritin.2007-10-30_05.05.04
   zeus-dir: Created new Volume ritin-Full-0002 in catalog.
   zeus-dir: Using Device ritinFileStorage
   ritin-fd: ClientRunBeforeJob: run command /usr/local/etc/rc.d/mysql-server 
stop
   ritin-fd: ClientRunBeforeJob: Stopping mysql.
   ritin-fd: ClientRunBeforeJob: Waiting for PIDS: 96261.
   zeus-sd: Labeled new Volume ritin-Full-0002 on device ritinFileStorage 
(/bacula/disk2).
   zeus-sd: Wrote label to prelabeled Volume ritin-Full-0002 on device 
ritinFileStorage (/bacula/disk2)
   zeus-dir: Max Volume jobs exceeded. Marking Volume ritin-Full-0002 as Used.
   ritin-fd:  Disallowed filesystem. Will not descend from / into /dev
   zeus-sd: Job write elapsed time = 00:57:03, Transfer rate = 9.499 M 
bytes/second
   ritin-fd: ClientAfterJob: run command /usr/local/etc/rc.d/mysql-server 
start
   ritin-fd: ClientAfterJob: Starting mysql.


'status dir' output while job on 'ritin' is hung (truncated):

Running Jobs:
 JobId Level   Name   Status
==
31 Fullritin.2007-10-30_05.05.04 has terminated
34 Fullcomdev.2007-10-30_05.05.07 is waiting for higher priority jobs 
to finish
35 Fullcomstag.2007-10-30_05.05.08 is waiting execution


Dane
-- 
Dane Miller
Systems Administrator
Great Schools, Inc
http://greatschools.net


-
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


Re: [Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-10-30 Thread Michael Lewinger
Hi Dane,

Is bacula running as root or bacula user ? bacula user cannot restart mysql.

Michael

On 10/30/07, Dane Miller [EMAIL PROTECTED] wrote:
 Hi,

 I added Client Run Before/After Job scripts to two backup jobs in
 order to stop/start mysql.  But the After script seems to hang the
 bacula-fd. Using 'status dir', the bacula console shows a terminated
 status for these jobs, and the command 'list jobs' shows their status as
 'R'.

 The script being called is the FreeBSD rc script used to start/stop
 mysql: /usr/local/etc/rc.d/mysql-server [start|stop].  I've ensured that
 this script works when run manually, and that it returns 0.

 When I restart the offending bacula-fd's (kill doesn't work; requires
 kill -9), the offending jobs finish with errors and the rest of my
 queued jobs begin to run.

 Any ideas what's causing this?  Suggestions for fixing it?

 Here are some details:

 Director OS: FreeBSD 6.2-RELEASE
 File Daemon OS: FreeBSD 6.1-RELEASE
 bacula-dir/sd: 2.2.4
 bacula-fd: 2.2.4
 catalog: MySQL 5.0

 Total # of jobs: 13, of which...
7 Priority = 10
5 Priority = 12
1 Priority = 20

 bacula-dir.conf: Director{Maximum Concurrent Jobs=10;...}
 bacula-sd.conf: Storage{Maximum Concurrent Jobs=20;...}

 Offending Client Run Before/After Job scripts:
   Client Run Before Job = /usr/local/etc/rc.d/mysql-server stop
   Client Run After Job = /usr/local/etc/rc.d/mysql-server start

 logged output on the director while job is hung:
zeus-dir: sql_find.c:134 No Job record found: ERR=
CMD=SELECT StartTime FROM Job WHERE JobStatus='T' AND Type='B' AND 
 Level='F' AND Name='ritin' AND ClientId=5 AND FileSetId=5 ORDER BY StartTime 
 DESC LIMIT 1
zeus-dir: No prior or suitable Full backup found in catalog. Doing FULL 
 backup.
zeus-dir: Start Backup JobId 31, Job=ritin.2007-10-30_05.05.04
zeus-dir: Created new Volume ritin-Full-0002 in catalog.
zeus-dir: Using Device ritinFileStorage
ritin-fd: ClientRunBeforeJob: run command 
 /usr/local/etc/rc.d/mysql-server stop
ritin-fd: ClientRunBeforeJob: Stopping mysql.
ritin-fd: ClientRunBeforeJob: Waiting for PIDS: 96261.
zeus-sd: Labeled new Volume ritin-Full-0002 on device ritinFileStorage 
 (/bacula/disk2).
zeus-sd: Wrote label to prelabeled Volume ritin-Full-0002 on device 
 ritinFileStorage (/bacula/disk2)
zeus-dir: Max Volume jobs exceeded. Marking Volume ritin-Full-0002 as 
 Used.
ritin-fd:  Disallowed filesystem. Will not descend from / into /dev
zeus-sd: Job write elapsed time = 00:57:03, Transfer rate = 9.499 M 
 bytes/second
ritin-fd: ClientAfterJob: run command /usr/local/etc/rc.d/mysql-server 
 start
ritin-fd: ClientAfterJob: Starting mysql.


 'status dir' output while job on 'ritin' is hung (truncated):

 Running Jobs:
  JobId Level   Name   Status
 ==
 31 Fullritin.2007-10-30_05.05.04 has terminated
 34 Fullcomdev.2007-10-30_05.05.07 is waiting for higher priority jobs 
 to finish
 35 Fullcomstag.2007-10-30_05.05.08 is waiting execution


 Dane
 --
 Dane Miller
 Systems Administrator
 Great Schools, Inc
 http://greatschools.net


 -
 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



-- 
Michael Lewinger
MBR Computers
http://mbrcomp.co.il

-
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


Re: [Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-10-30 Thread Dane Miller
Michael Lewinger wrote:
 Is bacula running as root or bacula user ? bacula user cannot restart 
 mysql.

Thanks Michael.  bacula-fd is running as root.  Also note that it *does*
stop and start mysql, but hangs after-wards (see the job output from my
o.p. below)

Dane

 On 10/30/07, Dane Miller [EMAIL PROTECTED] wrote:
 
  logged output on the director while job is hung:
 zeus-dir: sql_find.c:134 No Job record found: ERR=
 CMD=SELECT StartTime FROM Job WHERE JobStatus='T' AND Type='B' AND 
  Level='F' AND Name='ritin' AND ClientId=5 AND FileSetId=5 ORDER BY 
  StartTime DESC LIMIT 1
 zeus-dir: No prior or suitable Full backup found in catalog. Doing FULL 
  backup.
 zeus-dir: Start Backup JobId 31, Job=ritin.2007-10-30_05.05.04
 zeus-dir: Created new Volume ritin-Full-0002 in catalog.
 zeus-dir: Using Device ritinFileStorage
 ritin-fd: ClientRunBeforeJob: run command 
  /usr/local/etc/rc.d/mysql-server stop
 ritin-fd: ClientRunBeforeJob: Stopping mysql.
 ritin-fd: ClientRunBeforeJob: Waiting for PIDS: 96261.
 zeus-sd: Labeled new Volume ritin-Full-0002 on device 
  ritinFileStorage (/bacula/disk2).
 zeus-sd: Wrote label to prelabeled Volume ritin-Full-0002 on device 
  ritinFileStorage (/bacula/disk2)
 zeus-dir: Max Volume jobs exceeded. Marking Volume ritin-Full-0002 as 
  Used.
 ritin-fd:  Disallowed filesystem. Will not descend from / into /dev
 zeus-sd: Job write elapsed time = 00:57:03, Transfer rate = 9.499 M 
  bytes/second
 ritin-fd: ClientAfterJob: run command /usr/local/etc/rc.d/mysql-server 
  start
 ritin-fd: ClientAfterJob: Starting mysql.



-
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


Re: [Bacula-users] backing up to multiple hard disk drives with different available space on each

2007-10-30 Thread pedro noticioso
At this interview:

http://www.linuxdevcenter.com/pub/a/linux/2005/04/07/bacula.html

one of Nathan Valentine's main objectives in bacula's
initial design, was to address an inability to span
multiple volumes in Amanda.

So!

What is a volume?
how can I asign/relate my hard drives to the concept
of volumes into the type of configuration that may
best fit my needs without complicating the process?
or is that very basic feature not (yet)
implemented/available/possible?


--- Michael Lewinger [EMAIL PROTECTED] wrote:

 Hello Pedro, bom dia.
 
 Bacula's volumes DO NOT span drives. I repeat. OK, I
 do not... Each drive
 needs to have its own device set up in storage,
 and separate volumes
 created on each one of them. On the other hand,
 maybe you can use the same
 pool for all your volumes, even if they are on
 different disks, and
 prepopulate the pool with volumes (label command).
 So a backup would
 effectively jump from one disk to the other.
 
 For some reason this volume and pool mixup sounds to
 me as the worst DRP
 solution one could find, except maybe for using Led
 Zeppelin audio tapes as
 backup media, and trying to retrieve data by
 listening to it on a tape
 player. I'd recommend not trying your idea on a 
 production server.
 
 Please update me if your setup works anyway. I do
 not have the time to setup
 a test environment on virtualbox.
 
 Michael
 
 On 10/30/07, pedro noticioso [EMAIL PROTECTED]
 wrote:
 
  I have a single file server with 2x 512 GB hard
  drives.
 
  Ive been given a bunch of older hard drisk to
 backup
  to:
 
  1x 80 IDE GB
  1x 100 IDE GB
  2x 200 IDE GB
  1x 320 IDE GB
 
 
  Actual disk usage on the file server that I will
  backup is only 200 GB but growing, and I would
 like to
  set something up that may allow me to easilly add
 and
  remove different size hard drives in the future.
 
  In case a backup drive dies, Id like to turn off
 the
  backup server, remove the dead one, install a new
 one,
  boot, configure, and let bacula play with it.
 
  My concern is on:
  letting bacula access any number of drives
  letting bacula know the size available on each
  making sure that volumes just span through all
  available drives.
 
  I noticed disk-changer script, but I googled for a
  couple hours and found no documentation at all, so
 Ive
  been wondering if someone here may have done
 something
  like this already and may share an example
 
  or, someone please confrim to me that this
 
 
 

http://www.bacula.org/dev-manual/Autochanger_Resource1.html#SECTION00322
 
  is the right direction where I should go?
 
  and some details, on my speciffic setup may help
 
  oorrr!
 
  is there a simpler way? I dont like complicating
  things, I was hoping on
 
  Device = /disk1, /disk2, /disk3, /disk4, /disk5
 
  straight into the sd configuration ;)
 
  thanks
 
 
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
 
 

-
  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
 
 
 
 
 -- 
 Michael Lewinger
 MBR Computers
 http://mbrcomp.co.il
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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


Re: [Bacula-users] bacula-fd hangs on ClientRunAfterJob

2007-10-30 Thread Dane Miller
Interesting... I've been testing this manually and have more info.  When
bacula-fd is hung, I can fix it by stopping mysql.  As soon as I stop
mysql, the bacula job completes successfully.  

Also, it doesn't matter if my fileset includes mysql's data directory or
not.  For example, if I set my fileset to only include File
= /tmp/empty.txt, the job still hangs after starting mysql.

What the heck is bacula-fd doing during/after the Client Run After
script executes?

Is anyone else using a Client Run script to stop/start mysql on FreeBSD?


Dane




-
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


[Bacula-users] That Doh! moment - FD to SD communication

2007-10-30 Thread David Legg
I've spent the last two weeks compiling, downloading, installing, 
building and configuring.  Just when I think I'm nearly there a 200 
pound gorilla jumped out and ruined everything ;-)

I have a set of remote servers I'd like to keep backed up over the 
internet by using Bacula to save files to a local server behind a 
router.  All was well as I finally managed to get the director daemon on 
the local server to connect to the file daemon on a remote machine 
through port 9102.  Then, when I actually attempted to run a backup job 
I noticed: -

  30-Oct 23:56 frenzy-fd JobId 6: Fatal error: Failed to connect to Storage 
daemon: optimus:9103

That's when I had my Doh! moment.  I think that when the file daemon (on the 
remote server) gets its marching orders from the director (on the local 
machine) the file daemon attempts to contact the storage server (on the local 
machine) using information supplied to it by the director.  Of course this is 
doomed to failure because the director and the storage server are on one and 
the same machine and in any case the IP address is dynamically assigned by the 
DHCP server and is different to what the File daemon would see because of NAT.

The only practical way I can see to break this problem is to reverse the 
direction of the connection so that the director tells the storage daemon to 
contact the file daemon and not the other way around.  This would work because 
the remote client machines have a FQDN and are thus easier to reach.

Don't suppose this is possible is it ?

I can't believe I've come so close only to be thwarted at the last hurdle.

Best Regards,
David Legg



-
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


Re: [Bacula-users] Bacula Administration Console

2007-10-30 Thread Dirk Bartley
On Tue, 2007-10-30 at 12:29 -0300, Augusto Lima wrote:
 I'm using BAT to handle my backup routine every day. But it has some
 weird things that i think could be changed.
  
First, there are anyway to change that behavior of showing a
 selection window to choose the item as a result of a command? Example,
 typing 'status' at BAT console shows a Selection Dialog to choose
 which option I want. Instead, i would prefer the normal behavior of
 showing the list with the options which I could just type a number. It
 ´s faster and more confortable to just stick at the keyboard and don't
 have do get the mouse to choose(i know i could still use the keyboard,
 but i would have to press 'TAB' and the arrows a couple of times).

A request would have to be made of Kern.  He was responsible for that
specific part of the code

Second, at the JobPlot window, it could be more human readable
 numbers at the bytes axis, for me, it´s showing that the last backup
 it saved almost 2.5e+07 bytes, not so easy to read. 

This would be done within the qwt code.  A subclass would have to be
made.  It's been a bit since I worked on it.  It's a nice suggestion.
I'll add it to my list and see if it is a relatively easy thing to
accomplish.

 I didn´t realize how to change this settings, does anybody
 know how?

There currently exists no setting for this.  It could be a setting but
would most likely be written to have some intelligence to guess the most
appropriate unit for the axis.

Dirk
  
 Thank you very much for the attention
  
 Augusto Camarotti
 -
 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